Skip to main content

openssl_encrypt CVE-2026-74877

| EUVDEUVD-2026-60096 HIGH
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-08-17 VulnCheck GHSA-hmf7-54mh-cvp4
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Enroll as legitimate keyserver client
  2. Delivery
    Obtain victim client's key ID via enumeration or insider knowledge
  3. Exploit
    Craft revoke_key API request targeting victim's key ID
  4. Execution
    Provide own valid ML-DSA signature as authorization proof
  5. Persist
    Server validates signature (passes) without checking key ownership
  6. Impact
    Victim'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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

openssl_encrypt 0 <1.4.0

Affected Packages

pypi openssl-encrypt fix: 1.4.0

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

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 8.1 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 17, 2026 - 12:01 EUVD
CVE Published
Aug 17, 2026 - 11:04 cve.org
HIGH 8.7

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Rare
obscure pip package by single developer, niche keyserver use case
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2026-74872 CRITICAL
9.3 Aug 17

Arbitrary native code execution in the jahlives openssl_encrypt Python package (all versions before 1.4.0) arises from i

CVE-2026-81707 CRITICAL
9.3 Aug 27

Fingerprint-verification spoofing in jahlives openssl_encrypt before 1.4.9 lets attackers embed ANSI escape sequences in

CVE-2026-74895 CRITICAL
9.3 Aug 17

Sandbox escape in the openssl_encrypt Python library (jahlives) before 1.4.0 allows attacker-supplied plugins to run wit

CVE-2026-74886 CRITICAL
9.3 Aug 17

Arbitrary code execution in jahlives openssl_encrypt before 1.4.0 stems from an inconsistent sandbox: the runtime Plugin

CVE-2026-74894 CRITICAL
9.3 Aug 17

Authentication bypass in the jahlives openssl_encrypt library (all versions before 1.4.0) lets remote unauthenticated at

CVE-2026-74878 CRITICAL
9.3 Aug 17

Authentication brute-force protection can be bypassed in jahlives openssl_encrypt before 1.4.0 because the TOTP rate lim

CVE-2026-74899 CRITICAL
9.3 Aug 17

Sandbox escape in the openssl_encrypt Python library (jahlives) before 1.4.0 lets attacker-supplied plugin code break ou

CVE-2026-74900 CRITICAL
9.3 Aug 17

Cryptographic shared-secret disclosure in the openssl_encrypt Python library (maintainer 'jahlives') before 1.4.0 lets a

CVE-2026-74896 CRITICAL
9.3 Aug 17

Sandbox escape leading to remote code execution affects openssl_encrypt (the jahlives Python package) in all versions be

CVE-2026-81719 CRITICAL
9.3 Aug 27

Arbitrary code execution in openssl_encrypt (the jahlives Python encryption utility) before 1.4.9 allows an attacker-sup

CVE-2026-81701 CRITICAL
9.3 Aug 27

Arbitrary code execution in jahlives openssl_encrypt before 1.4.9 stems from a flawed plugin trust model that uses a den

CVE-2026-74880 CRITICAL
9.3 Aug 17

Sensitive-token exposure in openssl_encrypt (the jahlives Python package, pip 'openssl-encrypt') before 1.4.0 stems from

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy