Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach the plugin executor interface
-
DeliverySubmit crafted plugin code
-
ExploitEscape restricted exec() via exposed type object
-
ExecutionTraverse __class__.__mro__.__subclasses__() to system class
-
ImpactExecute arbitrary OS commands as host process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target application actually routes attacker-controlled code through openssl_encrypt's IsolatedPluginExecutor (i.e., the plugin/exec sandbox feature is in use and reachable) on a version before 1.4.0; the specific weakness is that the restricted exec() builtins still expose Python type objects, enabling the __class__.__mro__.__subclasses__() traversal. The limiting factor is that a deployment which never feeds untrusted input to the plugin executor is not exposed - the CVSS PR:N/AV:N rating assumes the executor is available to the attacker, which is a property of the consuming application rather than the library alone. No user interaction or authentication is required by the vulnerability itself once code can be submitted to the executor. |
| Impact | The signals are consistent on impact but thin on real-world spread. The vendor-provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N, VC:H/VI:H/VA:H) implies unauthenticated, low-complexity network exploitation with full confidentiality/integrity/availability loss - appropriate for an in-process sandbox escape that yields OS command execution. However, PR:N is only realistic if the consuming application actually exposes the IsolatedPluginExecutor to untrusted input; the true attack surface depends on how a downstream app wires up the plugin executor, which the CVE does not specify. No EPSS score, SSVC decision, KEV entry, or public POC was provided, so exploitation is currently theoretical rather than observed - treat this as high technical severity but likely limited blast radius given the product's small footprint. The classic __subclasses__() escape technique is well understood and easy to weaponize once an attacker can submit code, so if your deployment does expose the executor, prioritize patching. |
| Exploit ScenarioDerived | An attacker able to submit plugin code to an application that embeds openssl_encrypt's IsolatedPluginExecutor supplies a payload that, from any exposed type object, calls __class__.__mro__.__subclasses__() to locate a class that can spawn processes, then invokes it to run shell commands as the host process user. Because the sandbox is only a restricted exec() rather than an OS boundary, the escape gives full command execution on the host. No public POC is referenced, but the underlying __subclasses__() technique is widely documented and trivially reproduced. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Sandbox escape in the openssl_encrypt Python library (jahlives) before 1.4.0 lets attacker-supplied plugin code break out of the IsolatedPluginExecutor and run arbitrary OS commands. The restricted exec() environment still leaks live Python type objects, so an attacker walks the class hierarchy to reach system primitives despite the intended sandbox. Rated CVSS 4.0 9.3 (critical) and reported by VulnCheck; no public exploit identified at time of analysis and it is not listed in CISA KEV.
RemediationAI
Upgrade openssl_encrypt to version 1.4.0 or later, which the vendor advisory (GHSA-m25m-ggxg-239c) identifies as the fixed release - Vendor-released patch: 1.4.0. Until you can upgrade, do not pass untrusted or attacker-influenced code to the IsolatedPluginExecutor: restrict plugin loading to vetted, first-party plugins only, and if the executor is exposed via any service, place it behind authentication and network restrictions so arbitrary users cannot submit plugin code. As a stronger compensating control, run any process that must execute third-party plugins inside a real OS-level sandbox (separate low-privilege user, container with dropped capabilities, seccomp, or gVisor), since Python's exec()-based restricted-builtins approach is not a reliable security boundary; the trade-off is added deployment complexity and possible loss of plugin functionality that relies on broad runtime access. Consult the vendor advisory and the VulnCheck advisory (https://www.vulncheck.com/advisories/openssl-encrypt-before-sandbox-escape-via-type-hierarchy) for details before making configuration changes.
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 encryption utility library (note: unrelated to the OpenSSL project despite the name) that includes an IsolatedPluginExecutor intended to run untrusted plugin code inside a restricted exec() with a pared-down __builtins__. The root cause is CWE-95 (improper neutralization of directives in dynamically evaluated code / 'eval injection'): the restricted builtins still expose concrete Python type objects, and any such object grants access to __class__.__mro__.__subclasses__(), which enumerates every loaded class in the interpreter. From that list an attacker reaches classes that import os/subprocess or otherwise wrap system calls, defeating the sandbox. The affected component is identified by CPE cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:*:*:* for all versions prior to 1.4.0.
Know when Python 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 yields OS command execution on the host running the in-process executor (S:U, C/I/A:H); AV:N/AC:L/PR:N assume the executor is exposed to untrusted plugin input, which the consuming app controls.
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 IsolatedPluginExecutor that exposes Python type objects in restricted exec() builtins. Attackers can traverse the Python class hierarchy via __class__.__mro__.__subclasses__() to access system functions and execute arbitrary OS commands.
Articles & Coverage 2
Executive ViewAI
The jahlives Python library (versions before 1.4.0) allows attackers to bypass intended security restrictions and execute arbitrary code, effectively granting full system access to malicious actors. Organizations running affected versions face critical risk of data compromise, malware installation, and service disruption. An immediate upgrade to version 1.4.0 or later is essential to restore security controls.
Vendor-released patch: jahlives 1.4.0 or later.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-60116
GHSA-5cp4-g2w4-gm8p
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB