{"id":"CVE-2026-74899","aliases":["CVE-2026-74899","PYSEC-2026-3727"],"related":["GHSA-43jx-gxq4-jpjc","GHSA-m25m-ggxg-239c"],"kind":"vulnerability","state":"published","title":"openssl_encrypt before 1.4.0 Sandbox Escape via Type Hierarchy","summary":"openssl_encrypt versions before 1.4.0 contain a sandbox escape vulnerability in IsolatedPluginExecutor that exposes Python type objects in restricted exec() builtins. Attackers can traverse the Python class hierarchy via __class__.__mro__.__subclasses__() to access system functions and execute arbitrary OS commands.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"openssl_encrypt versions before 1.4.0 contain a sandbox escape vulnerability in IsolatedPluginExecutor that exposes Python type objects in restricted exec() builtins. Attackers can traverse the Python class hierarchy via __class__.__mro__.__subclasses__() to access system functions and execute arbitrary OS commands.","source":"cvelist"}],"published":"2026-08-17T11:04:58.588Z","modified":"2026-10-01T15:21:05.055Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.3,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}],"cwes":["CWE-95"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.4.0","status":"affected"},{"type":"semver","version":"1.4.0","status":"unaffected"}],"vendor":"jahlives","product":"openssl_encrypt","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.4.0"}],"vendor":"jahlives","product":"openssl_encrypt","cpe":"cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.4.0"}],"ecosystem":"PyPI","package":"openssl-encrypt","purl":"pkg:pypi/openssl-encrypt","source":"pysec"}],"references":[{"url":"https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-m25m-ggxg-239c","tags":["evidence","exploit","mitigation","vendor-advisory"],"sources":["cvelist","nvd","pysec"]},{"url":"https://www.vulncheck.com/advisories/openssl-encrypt-before-sandbox-escape-via-type-hierarchy","tags":["advisory","third-party-advisory"],"sources":["cvelist","nvd","pysec"]},{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-43jx-gxq4-jpjc","tags":["advisory","exploit","not-applicable"],"sources":["cvelist","nvd","pysec"]}],"credits":[],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2026-08-18T14:40:11.591Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74899","url":"https://www.cve.org/CVERecord?id=CVE-2026-74899","licence":"CVE Terms of Use","modified":"2026-10-01T15:21:05.055Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74899","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74899","licence":"Public domain","modified":"2026-08-28T18:34:48.753Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3727","url":"https://osv.dev/vulnerability/PYSEC-2026-3727","licence":"CC-BY-4.0","modified":"2026-08-29T09:10:52.207Z"}],"updatedAt":"2026-11-25T22:59:33.339Z","epss":{"score":0.00491,"percentile":0.43827,"date":"2026-12-01T12:00:22.000Z"}}