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

Read the record on cve.org

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

CVSSScoreVectorSource
4.09.3 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HVulnCheck

Weaknesses

  • CWE-693 Protection Mechanism Failure

Affected Products

ProductVersions
openssl_encryptjahlives
  • before 1.4.0Affected
  • 1.4.0Not affected

References

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.