CVE-2026-74896
openssl_encrypt before 1.4.0 Sandbox Escape via Dunder Attribute Traversal
- State
- Published
- Severity
- 9.3 Critical
- Published
- Aug 17, 2026
- Updated
- Oct 1, 2026
- Reserved
- Aug 17, 2026
Description
openssl_encrypt versions before 1.4.0 contain a sandbox escape vulnerability in the DangerousPatternVisitor AST analyzer that fails to detect dunder attribute traversal techniques. Attackers can use __class__, __bases__, __subclasses__(), and __globals__ chains to access restricted functions and execute arbitrary system commands from plugin code.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 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 |
| 3.1 | 9.8 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-693 Protection Mechanism Failure
Affected Products
| Product | Versions |
|---|---|
openssl_encryptjahlives |
|
References
- GitHub Security Advisory (GHSA-w7gr-9g4g-33mx)vendor-advisory
- VulnCheck Advisory: openssl_encrypt before 1.4.0 Sandbox Escape via Dunder Attribute Traversalthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.