Paper/Archive/CVE-2026-74896

CVE-2026-74896

jahlives openssl_encrypt — openssl_encrypt before 1.4.0 Sandbox Escape via Dunder Attribute Traversal

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
openssl_encrypt< 1.4.01.4.0CNA

Scores by source

VulnCheck (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
VulnCheck (CNA)9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: total

References

exploitgithub.com/jahlives/openssl_encrypt/security/advisories/GHSA-w7gr-9g4g-33mxwriteupvulncheck.com/advisories/openssl-encrypt-before-sandbox-escape-via-dunder-attribute-traversal