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.
Published: 2026-08-17
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Mon, 17 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 17 Aug 2026 11:15:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-17T15:10:33.070Z

Reserved: 2026-08-17T10:42:40.456Z

Link: CVE-2026-74896

cve-icon Vulnrichment

Updated: 2026-08-17T15:10:07.870Z

cve-icon NVD

Status : Received

Published: 2026-08-17T11:16:44.787

Modified: 2026-08-17T15:16:59.120

Link: CVE-2026-74896

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-17T13:00:13Z

Weaknesses
  • CWE-693

    Protection Mechanism Failure