{"id":"CVE-2026-74879","aliases":["GHSA-2vhw-q7vh-7xv2","PYSEC-2026-3758"],"url":"https://o3.security/vulnerability/CVE-2026-74879","summary":"openssl_encrypt before 1.4.0 Information Disclosure via /ready endpoint","details":"### Summary\n\nThe `/ready` endpoint in `openssl_encrypt_server/server.py` at **lines 159-175** catches database errors and returns the full exception string in the response.\n\n### Affected Code\n\n```python\nexcept Exception as e:\n    return {\"status\": \"not_ready\", \"reason\": str(e)}\n```\n\n### Impact\n\nDatabase exception messages can leak:\n- Database hostnames and IP addresses\n- Connection parameters and port numbers\n- Driver version information\n- Potentially database credentials if included in connection string errors\n\nThis information is available to unauthenticated callers.\n\n### Recommended Fix\n\n- Return a generic error message: `{\"status\": \"not_ready\", \"reason\": \"database unavailable\"}`\n- Log the full exception server-side for debugging\n\n### Fix\n\nFixed 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.","published":"2026-08-17T11:04:46.428Z","modified":"2026-10-21T02:59:39.686215980Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"PyPI","name":"openssl-encrypt","fixedVersion":"1.4.0"}],"fix":{"url":"https://github.com/jahlives/openssl_encrypt/commit/7aa8787f4de2e9a23f58fca067bb16c4c69d28bb","label":"jahlives/openssl_encrypt@7aa8787"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74879.json"},{"type":"ADVISORY","url":"https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-2vhw-q7vh-7xv2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74879"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/openssl-encrypt-before-information-disclosure-via-ready-endpoint"},{"type":"WEB","url":"https://github.com/jahlives/openssl_encrypt/commit/7aa8787f4de2e9a23f58fca067bb16c4c69d28bb"},{"type":"PACKAGE","url":"https://github.com/jahlives/openssl_encrypt"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-21T02:59:39.686215980Z"}}