CVE-2026-74899
9.3critical
openssl_encrypt before 1.4.0 Sandbox Escape via Type Hierarchy
- Severity
- 9.3critical CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.49% (higher than 43% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- PYSEC-2026-3727
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| jahlives openssl_encrypt | before 1.4.0 Not affected: 1.4.0 | CVE List, NVD |
| openssl-encrypt (PyPI) | before 1.4.0 | PyPA Advisory Database |
All scores
| VulnCheck | 9.3critical 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 |
| VulnCheck | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | Not scored 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 |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
References
| https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-m25m-ggxg-239c | evidence, exploit, mitigation, vendor-advisory | |
| https://www.vulncheck.com/advisories/openssl-encrypt-before-sandbox-escape-via-type-hierarchy | advisory, third-party-advisory | |
| https://github.com/siyuan-note/siyuan/security/advisories/GHSA-43jx-gxq4-jpjc | advisory, exploit, not-applicable | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-74899 changed 2026-10-01 | CVE Terms of Use |
| NVD | CVE-2026-74899 changed 2026-08-28 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3727 changed 2026-08-29 | CC-BY-4.0 |