CVE-2026-136504
Debug log records the database password in clear text
With the driver's debug log (MyLog) turned on, two paths write the database password to the log in clear text, both beside a line where the driver's own redaction masks it as PWD=xxxxx: - Pressing "Test" in the Windows data source setup dialog (psqlsetup.dll) logs the whole connection string, which carries PWD= percent-encoded, which is reversible, and any password= or sslpassword= inside pqopt. - The Unicode connect functions SQLDriverConnectW, SQLConnectW and SQLBrowseConnectW log their arguments as they convert them between UTF-16 and UTF-8, before the masking happens. The ANSI entry points are unaffected. Turning the log on takes an administrator, and MyLog is off by default. The exposure is the person who later reads the log, which in practice means a log attached to a bug report or handed to support. Making that safe is the purpose of the driver's redaction, and these two sites bypassed it. Versions up to and including psqlODBC 18.00.0006 are affected.
Fixes and workarounds
No remediation reported in collected sources.
Missing remediation information is not evidence that no patch exists.
Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| psqlODBC PostgreSQL psqlodbc
https://odbc.postgresql.org/ |
≥ 0; ≤ 18.00.0006 (affected, custom)
Other versions: unaffected |
CNA: PostgreSQL |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 5.0 medium |
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N | CNA: PostgreSQL |
| 3.1 / 5.0 medium |
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N | NVD: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-4cgj-r3wg-3rj2CNA: PostgreSQL · vendor-advisory
- https://odbc.postgresql.org/changelog/CNA: PostgreSQL · release-notes
- https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-4cgj-r3wg-3rj2f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
- https://odbc.postgresql.org/changelog/f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.