Skip to content

CVE-2026-74896 openssl_encrypt before 1.4.0 Sandbox Escape via Dunder Attribute Traversal

CriticalCVSS 9.3 EPSS 0.56%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
jahlives openssl encrypt < 1.4.0 1.4.0 Fixed
pypi openssl-encrypt < 1.4.0 1.4.0 Fixed
pypi openssl-encrypt(PyPI) < 1.4.0; = 0.2.2; = 0.2.3; = 0.2.4 +41 more 1.4.0 Fixed

Affected products

ProductAffected versionsFixed in
pypi openssl-encrypt < 1.4.0 1.4.0
pypi openssl-encrypt(PyPI) < 1.4.0 1.4.0
pypi openssl-encrypt(PyPI) = 0.2.2 No fix listed
pypi openssl-encrypt(PyPI) = 0.2.3 No fix listed
pypi openssl-encrypt(PyPI) = 0.2.4 No fix listed
pypi openssl-encrypt(PyPI) = 0.2.5 No fix listed
pypi openssl-encrypt(PyPI) = 0.2.6 No fix listed
pypi openssl-encrypt(PyPI) = 0.3.0 No fix listed
pypi openssl-encrypt(PyPI) = 0.3.1 No fix listed
pypi openssl-encrypt(PyPI) = 0.3.2 No fix listed
pypi openssl-encrypt(PyPI) = 0.3.3 No fix listed
pypi openssl-encrypt(PyPI) = 0.4.0 No fix listed
pypi openssl-encrypt(PyPI) = 0.4.1 No fix listed
pypi openssl-encrypt(PyPI) = 0.4.2 No fix listed
pypi openssl-encrypt(PyPI) = 0.4.3 No fix listed
pypi openssl-encrypt(PyPI) = 0.4.4 No fix listed
pypi openssl-encrypt(PyPI) = 0.5.0 No fix listed
pypi openssl-encrypt(PyPI) = 0.5.1 No fix listed
pypi openssl-encrypt(PyPI) = 0.5.3 No fix listed
pypi openssl-encrypt(PyPI) = 0.6.0rc1 No fix listed
pypi openssl-encrypt(PyPI) = 0.7.0rc2 No fix listed
pypi openssl-encrypt(PyPI) = 0.7.1 No fix listed
pypi openssl-encrypt(PyPI) = 0.7.2 No fix listed
pypi openssl-encrypt(PyPI) = 0.8.0 No fix listed
pypi openssl-encrypt(PyPI) = 0.8.1 No fix listed
Show 22 more
ProductAffected versionsFixed in
pypi openssl-encrypt(PyPI) = 0.8.2 No fix listed
pypi openssl-encrypt(PyPI) = 0.9.2 No fix listed
pypi openssl-encrypt(PyPI) = 1.0.0 No fix listed
pypi openssl-encrypt(PyPI) = 1.0.1 No fix listed
pypi openssl-encrypt(PyPI) = 1.0.2 No fix listed
pypi openssl-encrypt(PyPI) = 1.0.3 No fix listed
pypi openssl-encrypt(PyPI) = 1.1.0 No fix listed
pypi openssl-encrypt(PyPI) = 1.2.0 No fix listed
pypi openssl-encrypt(PyPI) = 1.2.1 No fix listed
pypi openssl-encrypt(PyPI) = 1.3.0 No fix listed
pypi openssl-encrypt(PyPI) = 1.3.1 No fix listed
pypi openssl-encrypt(PyPI) = 1.3.2 No fix listed
pypi openssl-encrypt(PyPI) = 1.3.3 No fix listed
pypi openssl-encrypt(PyPI) = 1.3.4 No fix listed
pypi openssl-encrypt(PyPI) = 1.3.5 No fix listed
pypi openssl-encrypt(PyPI) = 1.4.0b3 No fix listed
pypi openssl-encrypt(PyPI) = 1.4.0b4 No fix listed
pypi openssl-encrypt(PyPI) = 1.4.0b5 No fix listed
pypi openssl-encrypt(PyPI) = 1.4.0b6 No fix listed
pypi openssl-encrypt(PyPI) = 1.4.0b7 No fix listed
pypi openssl-encrypt(PyPI) = 1.4.0b8 No fix listed
jahlives openssl encrypt < 1.4.0 1.4.0

References