Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local write access to a site-packages dir
-
DeliveryPlant malicious whirlpool313.so matching glob
-
ExploitApp imports openssl_encrypt and calls Whirlpool
-
Executionimportlib exec_module loads .so
-
ImpactNative code runs as host process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path verification
|
| Exploitation Conditions | Exploitation requires the attacker to place a file whose name matches the glob pattern 'whirlpool*py313*.so' into one of the directories returned by site.getsitepackages(), and requires the target process to run under CPython 3.13 and to invoke the Whirlpool hash code path in openssl_encrypt (<1.4.0) so the vulnerable loader executes. The key LIMITING factor is that the attacker must already have write access to a site-packages directory - trivial in per-user/virtualenv installs or shared multi-tenant hosts, but blocked where site-packages is root-owned and non-writable - which contradicts the AV:N/PR:N in the published CVSS vector and makes this effectively a local, write-access-dependent code-execution flaw. Non-Whirlpool usage or Python versions other than 3.13 further limit reachability. |
| Impact | The published CVSS 4.0 base of 9.3 with AV:N/AC:L/PR:N/UI:N assumes remote, unauthenticated, no-interaction exploitation, but that conflicts with the actual mechanism: the attacker must already be able to WRITE a malicious .so into a site-packages directory, which is a local filesystem precondition (CWE-426), not a network operation - this discrepancy should be verified against the vendor advisory and likely warrants a lower, locally-scoped score. There is no CISA KEV listing and no public exploit identified at time of analysis, and EPSS was not provided, so this reads as a defense-in-depth / local-code-execution hardening issue rather than a mass-exploited remote RCE. That said, the technical impact is total (VC:H/VI:H/VA:H - full native code execution), so any deployment where an unprivileged user or a compromised dependency can write to site-packages should still patch promptly; a mid-sized operator running this package in shared or multi-tenant environments should treat it as urgent because the write-primitive prerequisite is easy to meet there. Net: high theoretical severity, but real-world risk is gated on already having local write access to Python package directories. |
| Exploit ScenarioDerived | A low-privileged local user (or a compromised third-party dependency in the same environment) writes a crafted whirlpool313.so containing malicious init code into a writable site-packages directory. When any application later imports openssl_encrypt and triggers the Whirlpool hash, glob() matches the planted file, importlib loads it, and the attacker's native code runs with the importing process's privileges. No public exploit is identified at time of analysis, but the technique is straightforward given filesystem write access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Arbitrary native code execution in the jahlives openssl_encrypt Python package (all versions before 1.4.0) arises from its Whirlpool hash routine loading .so extension modules via a broad glob pattern without any integrity check. An attacker who can drop a file matching 'whirlpool*py313*.so' into a site-packages directory gets their code executed in-process the moment the hashing module is imported. Reported by VulnCheck; a vendor patch (1.4.0) exists, and there is no public exploit identified at time of analysis.
RemediationAI
Upgrade to the fixed release - Vendor-released patch: openssl-encrypt 1.4.0 (pip install --upgrade openssl-encrypt), which corresponds to upstream commit 963d0d1278b722ea134272f9df65fddcd3e6ab47 on branch releases/1.4.x; the fix adds os.path.realpath() symlink resolution and validates that any discovered .so resides within a known site-packages path before loading. Until you can upgrade, compensating controls include: restrict write permissions on all site-packages directories so only root/administrators can add files (side effect: breaks per-user 'pip install --user' workflows and in-place package edits); avoid invoking the Whirlpool hash code path if your usage allows selecting a different algorithm (side effect: functionality loss where Whirlpool is required); and run applications importing this package under least-privilege service accounts and file-integrity monitoring on site-packages to detect rogue whirlpool*py313*.so files. Advisory references for tracking: GHSA-j48q-4c78-rhf9 and the VulnCheck advisory above.
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
The affected component is openssl_encrypt/modules/registry/hash_registry.py (lines 570-589), a pure-Python cryptography helper distributed on PyPI as openssl-encrypt. To provide a Whirlpool hash, it enumerates site.getsitepackages() directories, runs glob.glob() against the pattern 'whirlpool*py313*.so', takes the FIRST match, and loads it through importlib's ExtensionFileLoader / exec_module - running the shared object's native init code. This maps to CWE-426 (Untrusted Search Path): the loader trusts an attacker-influenceable filesystem location and a wildcard filename rather than a pinned path, hash, or signature. Because it is an extension-module load, execution is fully native (not sandboxed Python), inheriting the privileges of the importing process. The CPE cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:*:*:* identifies the single affected product.
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
Exploitation needs local write access to a site-packages directory (AV:L, PR:L for an unprivileged user), no interaction, and yields full native code execution (C:H/I:H/A:H).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
openssl_encrypt versions before 1.4.0 contain an arbitrary code execution vulnerability in the Whirlpool hash implementation that uses broad glob patterns to load .so modules without integrity verification. Attackers can place malicious .so files matching the whirlpool*py313*.so pattern in site-packages directories to achieve native code execution when the module is loaded.
Executive ViewAI
The jahlives openssl_encrypt Python package contains a critical arbitrary code execution vulnerability (CVE-2026-74872) affecting all versions prior to 1.4.0. Any organization deploying this package faces immediate risk of system compromise through malicious code injection, requiring urgent remediation to prevent potential breach or operational disruption.
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 allFingerprint-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
Sandbox escape leading to remote code execution affects openssl_encrypt (the jahlives Python package) in all versions be
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-60091
GHSA-ccp9-5g7c-pj86
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB