CVE-2026-74879
JSON

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 packageVersionsReported by
jahlives openssl_encryptbefore 1.4.0
Not affected: 1.4.0
CVE List, NVD
openssl-encrypt (PyPI)before 1.4.0GitHub Advisory Database, PyPA Advisory Database

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHubmedium CVSS:4.0CVSS: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 DatabaseNot scored CVSS:4.0CVSS: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

CWE-201CWE-209

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

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

Sources

SourceRecordLicence
CVE ListCVE-2026-74879 changed 2026-10-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-2vhw-q7vh-7xv2 changed 2026-09-02CC-BY-4.0
NVDCVE-2026-74879 changed 2026-10-08Public domain
PyPA Advisory DatabasePYSEC-2026-3758 changed 2026-09-02CC-BY-4.0