CVE-2026-74896

openssl_encrypt before 1.4.0 Sandbox Escape via Dunder Attribute Traversal

Published Aug 17, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability resides in openssl_encrypt versions earlier than 1.4.0. The DangerousPatternVisitor AST analyzer fails to detect dunder attribute traversal, enabling attackers to construct chains such as __class__, __bases__, __subclasses__() and __globals__ that bypass sandbox restrictions and invoke system commands from plugin code. This flaw is classified as CWE-693 and carries a CVSS score of 9.3, indicating a severe risk level for confidentiality, integrity, and availability.

Affected Systems

The affected product is the openssl_encrypt library developed by jahlives. Only releases before 1.4.0 contain the insecure sandbox logic; all subsequent releases are presumed fixed.

Risk and Exploitability

The absence of an EPSS score and the lack of listing in the CISA KEV catalog do not reflect the inherent danger of this flaw; the high CVSS score signals significant remote exploitation potential. Attackers can trigger the vulnerability by injecting malicious plugin code that performs dunder attribute traversal, thereby escaping the sandbox environment and executing arbitrary commands on the host. While no public exploitation evidence is present, the path to exploitation is straightforward for threat actors capable of modifying or supplying plugin modules.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade openssl_encrypt to version 1.4.0 or later to remove the sandbox escape flaw.
  • If upgrading is not immediately feasible, restrict plugin execution to trusted sources, apply a static code analysis or sandbox configuration that blocks dunder attribute references, and avoid loading third‑party plugins without verification.
  • Implement runtime monitoring for unexpected system command execution or abnormal process creation, and ensure the application environment has hardened variable sanitization such as clearing PYTHONPATH and disabling __import__ calls from untrusted plugins.

Generated by OpenCVE AI on August 17, 2026 at 12:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:*:*:*
Type Values Removed Values Added
CPEs cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:python:*:*
Type Values Removed Values Added
First Time appeared Jahlives
Jahlives openssl Encrypt
Vendors & Products Jahlives
Jahlives openssl Encrypt
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title openssl_encrypt before 1.4.0 Sandbox Escape via Dunder Attribute Traversal
Weaknesses CWE-693
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-693

    Protection Mechanism Failure

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 1, 2026, 3:21 PM
Reserved
Aug 17, 2026, 10:42 AM
Status
Analyzed
Published
Aug 17, 2026, 11:16 AM
Modified
Sep 1, 2026, 3:24 PM