# CVE-2026-74899: openssl_encrypt before 1.4.0 Sandbox Escape via Type Hierarchy

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-08-17T11:04:58.588Z
- Modified: 2026-10-01T15:21:05.055Z
- Also known as: PYSEC-2026-3727
- Related: GHSA-43jx-gxq4-jpjc, GHSA-m25m-ggxg-239c
- Weaknesses: CWE-95
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- jahlives openssl_encrypt: before 1.4.0 (not affected: 1.4.0)
- openssl-encrypt (PyPI): before 1.4.0

## Every score

- VulnCheck: CVSS:4.0 9.3 Critical `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`
- VulnCheck: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-m25m-ggxg-239c> (exploit, evidence, mitigation, vendor-advisory)
- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-43jx-gxq4-jpjc> (exploit, advisory, not-applicable)
- <https://www.vulncheck.com/advisories/openssl-encrypt-before-sandbox-escape-via-type-hierarchy> (advisory, third-party-advisory)

## Sources

- CVE List: [CVE-2026-74899](https://www.cve.org/CVERecord?id=CVE-2026-74899), CVE Terms of Use, modified 2026-10-01
- NVD: [CVE-2026-74899](https://nvd.nist.gov/vuln/detail/CVE-2026-74899), Public domain, modified 2026-08-28
- PyPA Advisory Database: [PYSEC-2026-3727](https://osv.dev/vulnerability/PYSEC-2026-3727), CC-BY-4.0, modified 2026-08-29

---

Page: https://cve.day/CVE-2026-74899 · Whole record: https://cve.day/CVE-2026-74899.json · Rebuilt by cve.day 2026-11-25T22:59:33.339Z
