8.7high
openssl_encrypt before 1.4.0 Information Disclosure via /ready endpoint
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-2vhw-q7vh-7xv2PYSEC-2026-3758
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| jahlives openssl_encrypt | before 1.4.0 Not affected: 1.4.0 | CVE List, NVD |
| openssl-encrypt (PyPI) | before 1.4.0 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| VulnCheck | 8.7high CVSS:4.0 | 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 |
| VulnCheck | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | medium CVSS:4.0 | 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/E:U |
| PyPA Advisory Database | Not scored CVSS:4.0 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Summary
The /ready endpoint in openssl_encrypt_server/server.py at lines 159-175 catches database errors and returns the full exception string in the response.
Affected Code
except Exception as e:
return {"status": "not_ready", "reason": str(e)}
Impact
Database exception messages can leak:
- Database hostnames and IP addresses
- Connection parameters and port numbers
- Driver version information
- Potentially database credentials if included in connection string errors
This information is available to unauthenticated callers.
Recommended Fix
- Return a generic error message:
{"status": "not_ready", "reason": "database unavailable"} - Log the full exception server-side for debugging
Fix
Fixed in commit 7aa8787 on branch releases/1.4.x — replaced str(e) with generic "database check failed" message; full exception logged server-side at WARNING level.
References
| https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-2vhw-q7vh-7xv2 | advisory, mitigation, vendor-advisory, web | |
| https://www.vulncheck.com/advisories/openssl-encrypt-before-information-disclosure-via-ready-endpoint | advisory, third-party-advisory | |
| https://github.com/jahlives/openssl_encrypt/commit/7aa8787f4de2e9a23f58fca067bb16c4c69d28bb | web | |
| https://github.com/jahlives/openssl_encrypt | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-74879 changed 2026-10-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2vhw-q7vh-7xv2 changed 2026-09-02 | CC-BY-4.0 |
| NVD | CVE-2026-74879 changed 2026-10-08 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3758 changed 2026-09-02 | CC-BY-4.0 |