Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEnroll as legitimate keyserver client
-
DeliveryObtain victim client's key ID via enumeration or insider knowledge
-
ExploitCraft revoke_key API request targeting victim's key ID
-
ExecutionProvide own valid ML-DSA signature as authorization proof
-
PersistServer validates signature (passes) without checking key ownership
-
ImpactVictim's key revoked, cryptographic access disrupted
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Exploitation requires the attacker to be an enrolled, authenticated client of the openssl_encrypt keyserver - they must possess valid client credentials and a functioning ML-DSA private key capable of producing a valid signature. The attacker must also know or discover a target client's key identifier. The vulnerability exists in the keyserver component (openssl_encrypt_server), so only deployments running the server-side keyserver are exposed. Exploitation is limited to authenticated clients; unauthenticated external attackers cannot exploit this without first obtaining valid keyserver credentials. The attack is not limited to any specific platform or OS configuration beyond the keyserver being reachable over the network. Limiting factors: the ML-DSA signature requirement prevents completely unauthenticated abuse and raises the bar compared to a pure IDOR with no cryptographic prerequisite; however, any legitimately enrolled client - including low-privileged or service clients - meets the authentication threshold. |
| Impact | The CVSS 4.0 base score of 8.7 with vector AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H reflects a high-severity finding: network-reachable, low complexity, requiring only authenticated access. Real-world risk is meaningful but bounded by the authentication prerequisite - only clients already enrolled in the keyserver can exploit this, limiting opportunistic mass exploitation. The vendor's official CVSS assigns VC:H (high confidentiality), but this assessment is debatable: key revocation does not directly expose confidential data; the primary impact is integrity (corrupting key state) and availability (denying legitimate clients their keys). The EPSS score is not provided in available data, and the vulnerability is not listed in CISA KEV, suggesting no confirmed widespread active exploitation as of analysis time. A notable complication exists in the remediation: the commit 05e45f3 fix added documentation arguing ML-DSA signature verification IS the ownership proof and added logging - it did not add the explicit client_id == key.owner_client_id check recommended by the GHSA advisory researcher. Security teams should verify whether the fix actually closes the authorization gap or merely documents the existing behavior. |
| Exploit ScenarioDerived | An authenticated client enrolled in the openssl_encrypt keyserver identifies the key ID of a high-value target client - for example, a service account or administrator - through any available means (API enumeration, leaked logs, or insider knowledge). The attacker then calls the revoke_key endpoint with the victim's key ID and their own valid ML-DSA signature; the server validates the signature as cryptographically sound but proceeds without checking ownership, successfully revoking the victim's key and severing their cryptographic access to dependent services. No publicly available exploit code has been identified at time of analysis, but the GHSA advisory provides sufficient implementation detail (file path, line numbers, parameter names) for an authenticated insider to reproduce the attack without additional research. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Insecure Direct Object Reference (IDOR) in the openssl_encrypt Python pip package (versions before 1.4.0) allows any authenticated client to revoke another client's cryptographic key without owning it. The keyserver's revoke_key method at lines 195-270 of service.py validates the requester's ML-DSA post-quantum signature but never checks whether the requesting client_id matches the key's owner_client_id - meaning an attacker with valid credentials can target any key in the server by presenting their own legitimate signature against a victim's key ID. No public exploit is identified at time of analysis, though the low attack complexity and the availability of a detailed GHSA advisory make exploitation straightforward for authenticated clients.
RemediationAI
Upgrade openssl_encrypt to version 1.4.0, which contains commit 05e45f3 on the releases/1.4.x branch. Install via pip with 'pip install openssl-encrypt>=1.4.0'. However, teams should be aware that the vendor's fix approach - documenting ML-DSA signature verification as the cryptographic ownership proof rather than adding an explicit client_id == key.owner_client_id ownership assertion - diverges from the GHSA advisory's recommended fix; organizations with strict defense-in-depth requirements should open an upstream issue requesting the explicit ownership check be added. If immediate upgrade is not possible, restrict access to the keyserver's revoke_key endpoint at the network layer (firewall or API gateway ACL) to only allow each client to reach their own key management endpoints, effectively enforcing ownership externally. Alternatively, temporarily disable key revocation functionality if operationally tolerable, accepting the trade-off that compromised keys cannot be revoked during the mitigation window. The GHSA advisory and VulnCheck advisory are at https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-hvc7-763r-4f3h and https://www.vulncheck.com/advisories/openssl-encrypt-before-missing-ownership-verification-via-revoke-key respectively.
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 (CPE: cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:*:*:*) is a Python pip package authored by jahlives that implements a keyserver with ML-DSA (Module Lattice-based Digital Signature Algorithm, a NIST-standardized post-quantum signature scheme) for client authentication and key management. The vulnerability is rooted in CWE-639 (Authorization Bypass Through User-Controlled Key), a class of IDOR flaw where authorization decisions rely solely on a user-supplied identifier without verifying the requester's ownership or entitlement to that resource. Specifically, the revoke_key method accepts a client_id and a key reference as input parameters and validates that the provided ML-DSA signature is cryptographically valid, but it never asserts that client_id equals key.owner_client_id - the authorization check is incomplete. Because ML-DSA signature validation only proves the requester holds a valid private key (their own), not that they own the target key, the cryptographic check is insufficient as a sole authorization gate.
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:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network vector with low complexity; PR:L for required authenticated enrollment; no confidentiality loss from revocation; high integrity and availability impact on victim key state.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
openssl_encrypt versions before 1.4.0 contain a missing ownership verification vulnerability in the revoke_key method that allows authenticated clients to revoke any other client's key. Attackers can revoke arbitrary keys by providing a valid ML-DSA signature, bypassing the intended ownership restriction.
Executive ViewAI
The openssl_encrypt Python package (versions prior to 1.4.0) contains a critical authorization bypass that allows authenticated users to revoke other users' cryptographic keys without permission, directly exposing organizations' encrypted data and key infrastructure to compromise. Any organization using this package for encryption operations faces immediate risk from both insider threats and credential-based attacks targeting key management. An urgent upgrade to version 1.4.0 is required to restore cryptographic integrity across all systems.
Apply vendor patch to openssl_encrypt version 1.4.0. If patching must be delayed, implement temporary API gateway controls restricting key revocation operations to the authenticating client's own keys, combined with comprehensive audit logging of all keyserver revocation attempts to detect unauthorized activity.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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
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
EUVD-2026-60096
GHSA-hmf7-54mh-cvp4
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB