Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain plugin submission access
-
DeliveryCraft plugin with dunder traversal chain
-
ExploitBypass DangerousPatternVisitor AST checks
-
ExecutionResolve os/subprocess via __globals__
-
ImpactExecute arbitrary system commands on host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Protection mechanism completeness
|
| Exploitation Conditions | Exploitation requires that the target deployment lets the attacker supply plugin code that is processed by the DangerousPatternVisitor AST analyzer in openssl_encrypt before 1.4.0 - this is the concrete prerequisite. The attacker's plugin must use dunder attribute traversal (__class__, __bases__, __subclasses__(), __globals__) to reach restricted functions; no authentication, user interaction, or non-default toggle is indicated by the CVSS vector (PR:N/UI:N/AT:N). The primary limiting factor is deployment model: environments that never accept untrusted/third-party plugins, or that gate plugin submission behind privileged access, are not realistically exposed despite the network vector, so the effective attack surface is narrower than the PR:N rating alone suggests. |
| Impact | The CVSS 4.0 base of 9.3 (AV:N/AC:L/PR:N/UI:N with High confidentiality, integrity and availability impact) rates this near-critical, and the outcome - arbitrary command execution - is severe. However, the raw vector should be read against the design: exploitation is only reachable by an actor able to submit plugin code to the analyzer, so the PR:N rating reflects the sandbox's own threat model (untrusted plugins) rather than truly zero prerequisites; deployments that never accept third-party plugins are effectively unexposed. There is no CISA KEV entry and no confirmed public exploit, so this is not evidence of active exploitation; the risk is driven by ease of exploitation once plugin submission is possible, not by observed campaigns. VulnCheck's involvement lends credibility to the finding, and any operator that runs untrusted or multi-tenant plugins should treat patching as urgent, while a deployment that only ever runs first-party trusted plugins can prioritize it lower. EPSS was not provided, so probabilistic exploitation likelihood could not be factored in - treat the risk as configuration-dependent rather than universally high. |
| Exploit ScenarioDerived | An attacker permitted to submit a plugin uploads code that looks benign to the AST allowlist but, at runtime, walks ().__class__.__bases__[0].__subclasses__() to locate a class whose __globals__ or import machinery exposes os/subprocess, then invokes it to run shell commands on the host. Given AV:N/AC:L, this succeeds remotely with low complexity wherever untrusted plugin execution is exposed. No public proof-of-concept was identified at time of analysis, though the technique class is well known. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Sandbox escape leading to remote code execution affects openssl_encrypt (the jahlives Python package) in all versions before 1.4.0, where the DangerousPatternVisitor AST analyzer fails to catch dunder-based attribute traversal. Because the library's security model is to safely execute untrusted plugin code, an attacker who can supply a plugin can chain __class__, __bases__, __subclasses__() and __globals__ to reach restricted functions and run arbitrary OS commands, fully defeating the sandbox. Reported by VulnCheck with a vendor patch available; no public exploit or CISA KEV listing was identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade to openssl_encrypt 1.4.0 or later, which is the first release outside the affected range and per the vendor advisory contains the fix; see GHSA-w7gr-9g4g-33mx (https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-w7gr-9g4g-33mx). Until you can upgrade, stop accepting untrusted or third-party plugin code and restrict plugin submission to trusted, reviewed sources only, since that removes the sole exploitation path (trade-off: disables the plugin feature for external users). If plugins must run, isolate the interpreter at the OS level - run it as an unprivileged user inside a container or seccomp/AppArmor confinement with no outbound network and a read-only filesystem - so that a sandbox escape does not translate into meaningful host access (trade-off: added operational complexity and possible plugin functionality loss). Do not rely on the in-process AST analyzer as the only control, as this CVE demonstrates it is bypassable.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
openssl_encrypt is a Python library that offers a plugin execution capability guarded by a static AST-based allowlist/denylist. The DangerousPatternVisitor walks the abstract syntax tree of plugin code looking for dangerous patterns, but it does not account for Python's introspection ('dunder') graph: from any object, __class__ reaches the type, __bases__/__subclasses__() enumerate the class hierarchy up to object, and __globals__ on a reachable function exposes module globals including builtins. This maps to CWE-693 (Protection Mechanism Failure): the sandbox is present but incomplete, so the traversal reaches os/subprocess-style callables the analyzer intended to block. The affected package is identified as cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:*:*:* - note the name is misleading, as this is an independent developer's tool, not the OpenSSL project.
Know when Openssl Encrypt gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Sandbox escape crosses a security boundary to the host so S:C with full C/I/A; PR:N reflects the intended untrusted-plugin model, though supplying plugin code is a practical prerequisite.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
The jahlives Python package (openssl_encrypt) versions before 1.4.0 contain a critical sandbox escape enabling arbitrary remote code execution when executing untrusted plugin code. Organizations using this library to safely run third-party plugins face complete system compromise risk, as the vulnerability fully defeats the intended security boundary through attribute traversal techniques.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Openssl Encrypt
View allArbitrary native code execution in the jahlives openssl_encrypt Python package (all versions before 1.4.0) arises from i
Fingerprint-verification spoofing in jahlives openssl_encrypt before 1.4.9 lets attackers embed ANSI escape sequences in
Sandbox escape in the openssl_encrypt Python library (jahlives) before 1.4.0 allows attacker-supplied plugins to run wit
Arbitrary code execution in jahlives openssl_encrypt before 1.4.0 stems from an inconsistent sandbox: the runtime Plugin
Authentication bypass in the jahlives openssl_encrypt library (all versions before 1.4.0) lets remote unauthenticated at
Authentication brute-force protection can be bypassed in jahlives openssl_encrypt before 1.4.0 because the TOTP rate lim
Sandbox escape in the openssl_encrypt Python library (jahlives) before 1.4.0 lets attacker-supplied plugin code break ou
Cryptographic shared-secret disclosure in the openssl_encrypt Python library (maintainer 'jahlives') before 1.4.0 lets a
Arbitrary code execution in openssl_encrypt (the jahlives Python encryption utility) before 1.4.9 allows an attacker-sup
Arbitrary code execution in jahlives openssl_encrypt before 1.4.9 stems from a flawed plugin trust model that uses a den
Sensitive-token exposure in openssl_encrypt (the jahlives Python package, pip 'openssl-encrypt') before 1.4.0 stems from
Arbitrary command execution in jahlives' openssl_encrypt before 1.4.9 arises when the tool's 'info' command reconstructs
EUVD-2026-60115
GHSA-xgx5-9hx8-gf84
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB