Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious key bundle with attacker public key
-
DeliverySubmit bundle to app that deserializes it
-
ExploitApp calls from_dict() then to_identity() unverified
-
ExecutionSecrets encrypted to attacker key
-
ImpactAttacker decrypts leaked data with private key
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Signature verification
|
| Exploitation Conditions | Exploitation requires that a downstream application (a) deserializes attacker-influenced key-bundle data via PublicKeyBundle.from_dict(), and (b) converts it with to_identity() and encrypts to it WITHOUT calling verify_signature() in between. The exact required feature is the direct from_dict()->to_identity() API sequence on untrusted input. Limiting factors: applications that use the key_resolver.py path (which verifies signatures before use) are not exploitable, so this is not a flaw in default library-internal resolution but in the unguarded public API; there is no memory-corruption component, and impact is bounded to encryption-to-attacker-key/secret leakage. No authentication is modeled in the CVSS vector (PR:N), but real exploitability hinges on the consuming application exposing the vulnerable path to attacker-supplied bundle data. |
| Impact | The supplied CVSS 4.0 score is 9.3 (Critical) with vector AV:N/AC:L/AT:N/PR:N/UI:N and high confidentiality/integrity/availability impact, but that raw score somewhat overstates real-world exposure because exploitation is not against a running network service - it depends on a consuming application feeding attacker-controlled bundle data through the specific unverified code path. There is no CISA KEV listing and no public proof-of-concept, so this is 'no public exploit identified at time of analysis' rather than active exploitation; the VulnCheck report and vendor advisory lend high confidence to the technical claim but say nothing about in-the-wild use. No EPSS or SSVC data was provided, which limits probabilistic prioritization. On balance this is a genuine cryptographic-trust defect that any operator embedding openssl_encrypt in a service that ingests remote key material should patch promptly, while operators who only use the verified key_resolver path face materially lower practical risk; the availability-high metric in particular looks inflated for what is fundamentally an information-disclosure/integrity issue. |
| Exploit ScenarioDerived | An attacker submits a crafted, self-signed-looking key bundle (for example as JSON to an API endpoint or message channel that an application deserializes) to a service built on openssl_encrypt below 1.4.0. The application calls from_dict() then to_identity() without verify_signature(), so it encrypts sensitive payloads to the attacker's public key, and the attacker - holding the matching private key - decrypts the exfiltrated secrets. No public PoC is currently available, but the code path is documented in the GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Secret disclosure affects the openssl_encrypt Python library (all versions before 1.4.0), where PublicKeyBundle.from_dict() constructs key bundles from untrusted serialized data without validating the embedded self-signature, and to_identity() then promotes that unverified bundle into a usable Identity. An application that deserializes an attacker-supplied bundle and encrypts to it - without an intervening verify_signature() call - will encrypt secrets to an attacker-controlled public key, allowing the attacker to decrypt them. Reported by VulnCheck and fixed in 1.4.0; no public exploit has been identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade to openssl_encrypt 1.4.0, which fixes the issue in commit f4a1ba6 (branch releases/1.4.x) by making from_dict() verify the self-signature by default via a verify=True parameter and raise ValueError on failure; upgrade with 'pip install --upgrade openssl-encrypt>=1.4.0'. If you cannot upgrade immediately, the concrete compensating control is to never call PublicKeyBundle.from_dict() followed by to_identity() on untrusted data without an explicit verify_signature() check in between - route all bundle handling through the already-safe key_resolver.py path (which verifies at lines 146-147), and treat any deserialized bundle as untrusted until verification succeeds; the trade-off is that this relies on code-review discipline and audit of every call site rather than a library-enforced guarantee, so it is strictly weaker than upgrading. Reference the advisory at https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-8h88-gxp3-j7pg and the fix commit https://github.com/jahlives/openssl_encrypt/commit/f4a1ba660063cd9e17883829e5272a248525a16b.
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 pip-distributed Python encryption library (CPE cpe:2.3:a:jahlives:openssl_encrypt) that wraps public-key operations behind serializable key bundles. The root cause is CWE-347 (Improper Verification of Cryptographic Signature): PublicKeyBundle.from_dict() in openssl_encrypt/modules/key_bundle.py (lines 329-361) explicitly documents that it does NOT verify the signature and expects callers to invoke verify_signature() afterward, but to_identity() (lines 363-391) can convert an unverified bundle straight into an Identity with no enforcement. This is a classic 'insecure-by-default API / trust-boundary' flaw: the safe consumer path in key_resolver.py (lines 146-147) does verify before use, but the raw from_dict()->to_identity() sequence remains directly callable, so security depends entirely on downstream discipline rather than on the library enforcing verification.
Know when Jwt Attack 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
AV:N since bundle data can arrive remotely and PR:N as no auth is intrinsic, but AC:H because exploitation requires the app to use the unverified from_dict()->to_identity() path; A:N since impact is secret disclosure/crypto-integrity, not availability.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
openssl_encrypt versions before 1.4.0 contain a vulnerability in PublicKeyBundle.from_dict() that creates key bundles from untrusted data without verifying signatures. Attackers can call from_dict() followed by to_identity() without signature verification to encrypt data using attacker-controlled public keys, leaking secrets.
Executive ViewAI
The openssl_encrypt Python library (versions before 1.4.0) contains a critical vulnerability enabling attackers to decrypt encrypted secrets when applications encrypt data using untrusted key bundles without validation. Organizations using openssl_encrypt to protect sensitive data face immediate risk of secret compromise and data breach.
Apply vendor patch: version 1.4.0 or later. As interim mitigation, implement application-level validation to verify all encryption key sources and reject deserialized key bundles that fail signature verification until patches are deployed.
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.
More in Jwt Attack
View allWhy is Microsoft republishing a CVE from 2013? We are republishing CVE-2013-3900 in the Security Update Guide to update
Authentication bypass in SimpleHelp 5.5.15 and prior (plus 6.0 pre-release builds) allows remote unauthenticated attacke
Authentication bypass in WSO2 API Manager and related components (Universal Gateway, Traffic Manager, API Control Plane,
Authentication bypass in Fortinet FortiOS, FortiProxy, and FortiSwitchManager allows unauthenticated remote attackers to
ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. Rated critical severity (CVS
The Ruby SAML library is for implementing the client side of a SAML authorization. Rated critical severity (CVSS 9.8), t
Security feature bypass in Microsoft .NET (shipped via Visual Studio 2022 17.12/17.14 and Visual Studio 2026 18.7) lets
ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. Rated critical severity (CVS
Authentication bypass in Circutor PowerStudio SCADA WAVE desktop lets remote unauthenticated attackers impersonate anoth
The package jsrsasign before 10.5.25 are vulnerable to Improper Verification of Cryptographic Signature when JWS or JWT
Authentication and authorization bypass in fast-jwt 6.2.0 through 6.2.4 (npm, NearForm) lets a remote, unauthenticated a
A library injection vulnerability exists in Microsoft Teams (work or school) 24046.2813.2770.1094 for macOS. Rated criti
EUVD-2026-60095
GHSA-723w-crw6-p9hx
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB