Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-74896 EUVD-2026-60115GHSA-w7gr-9g4g-33mxGHSA-xgx5-9hx8-gf84PYSEC-2026-3771

openssl_encrypt before 1.4.0 Sandbox Escape via Dunder Attribute Traversal

Published Aug 17, 2026 · Updated Oct 1, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
jahlives openssl_encrypt < 1.4.0 1.4.0

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI openssl-encrypt < 1.4.0 1.4.0 PYSEC-2026-3771

References