Vulnerability · Published Aug 17, 2026 · Assigned by VulnCheck

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

Critical 9.8

In plain English

A critical-severity security flaw in openssl_encrypt from jahlives. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.6%top 53.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIopenssl-encrypt1.4.0PYSEC-2026-3771

Affected products (as reported)

VendorProductVersions
jahlives openssl_encrypt 0 – before 1.4.0

Weakness: CWE-693 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References