Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify network-exposed /ready endpoint
-
DeliverySend unauthenticated HTTP request to trigger DB error
-
ExploitReceive raw exception string in JSON response
-
ExecutionParse hostnames, IPs, ports, credentials
-
ImpactUse extracted credentials for lateral movement or DB compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Error message sanitization
MITRE ATT&CK
1 technique across 1 tactic: Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special configuration is required - the /ready endpoint exists and is unauthenticated in all default deployments of openssl-encrypt before 1.4.0. The CVSS vector (PR:N, AC:L, AT:N) confirms zero authentication and no attack prerequisites. The primary limiting factor is the need to trigger a database exception: if the backing database is healthy and consistently responding, the error path may not fire on demand. However, an attacker who can cause transient database instability - such as by exhausting connection pools or timing requests during maintenance windows - can reliably reach the disclosure path. Exploitation is further limited to deployments where the server component (openssl_encrypt_server) is running and the /ready route is network-reachable; installations that use only the library functions without the server are not affected. |
| Impact | The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H) accurately reflects the attack surface: the endpoint is network-reachable, requires no authentication, imposes no complexity barrier, and can expose high-value confidentiality data including credentials. In practice, successful disclosure requires triggering a database error state, which may be opportunistic (database transiently unavailable) or actively induced by an attacker who can saturate database connections. This introduces a minor real-world friction not fully captured in the CVSS score. No EPSS data was provided and the vulnerability is not listed in CISA KEV, so there is no confirmed widespread or active exploitation signal. Despite the absence of known exploitation, the combination of zero authentication, direct credential exposure risk, and trivial exploit technique makes this a genuine remediation priority for any organization running affected versions with the server component exposed. |
| Exploit ScenarioDerived | An unauthenticated attacker sends an HTTP GET request to the /ready endpoint of an internet- or network-exposed openssl-encrypt server. If the database is experiencing errors - or if the attacker induces connection failures by saturating the database - the server returns a JSON body containing the full Python exception string, which may include the database hostname, IP address, port, driver version, and credentials embedded in the connection DSN. The attacker then uses this extracted information for lateral movement, credential reuse, or targeted attacks against the exposed database infrastructure. No public exploit code is required; a standard HTTP client suffices. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Information disclosure in the openssl-encrypt Python pip package (jahlives/openssl_encrypt, all versions before 1.4.0) allows any unauthenticated network caller to extract sensitive database infrastructure details by hitting the /ready health-check endpoint. The endpoint returns raw Python exception strings - including database hostnames, IP addresses, port numbers, driver version, and potentially credentials embedded in connection strings - whenever a database error is triggered. No public exploit code has been identified at time of analysis, but the attack requires only a standard HTTP client and no special conditions against default deployments.
RemediationAI
Upgrade to openssl-encrypt version 1.4.0 or later, which resolves the issue by replacing the raw exception string with a generic 'database check failed' message and logging the full exception server-side at WARNING level (patch commit 7aa8787f4de2e9a23f58fca067bb16c4c69d28bb, available at https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-2vhw-q7vh-7xv2). If an immediate upgrade is not feasible, restrict access to the /ready endpoint at the network layer using firewall rules or reverse proxy authentication - note that this may disrupt health-check tooling or orchestration systems that rely on the endpoint without credentials. Do not rely on application-layer fixes without patching, as the root cause is in the server component itself.
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 vulnerability is rooted in openssl_encrypt_server/server.py at lines 159-175, where a bare except block catches database exceptions and serializes them directly into the HTTP response via Python's str(e) coercion. This is a textbook instance of CWE-209 (Generation of Error Message Containing Sensitive Information). Python database drivers - such as SQLAlchemy, psycopg2, and pymysql - routinely include full connection DSNs in exception messages, which frequently embed usernames, passwords, hostnames, and ports. The /ready endpoint is a health-check route with no authentication guard, making the disclosure path trivially reachable. The affected package is identified by CPE cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:*:*:* and is distributed via pip as openssl-encrypt.
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:N/VA:N/SC:N/SI:N/SA:N
Network-accessible unauthenticated health endpoint; no integrity or availability impact; high confidentiality loss from potential credential and infrastructure detail exposure.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
openssl_encrypt versions before 1.4.0 contain an information disclosure vulnerability in the /ready endpoint that returns full database exception strings to unauthenticated callers. Attackers can trigger database errors to extract sensitive information including hostnames, IP addresses, connection parameters, and potentially credentials from exception messages.
Executive ViewAI
The openssl-encrypt Python package (all versions before 1.4.0) exposes sensitive database infrastructure details-including hostnames, IP addresses, ports, and potentially credentials-through an unauthenticated health-check endpoint. Any organization running this package on default settings leaks database topology information that attackers can leverage to plan follow-on infrastructure attacks.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-60098
GHSA-r654-xcxm-6jpc
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB