CVE-2026-136504
Last modified
CVE-2026-136504 is a medium-severity vulnerability rated 5/10 on the CVSS scale. 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.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| PostgreSQL | psqlODBC | <= 18.00.0006 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-136504?
How severe is CVE-2026-136504?
How do I fix CVE-2026-136504?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-136499psqlODBC read memory it had not written, or memory past the …5.9
- CVE-2026-1365Insertion of sensitive information into sent data vulnerabil…6.5
- CVE-2026-136500To escape a bound parameter, or a name passed to a catalog f…8.1
- CVE-2026-136501To build positioned updates and to describe columns, psqlODB…7.1
- CVE-2026-136502psqlODBC scans statement text itself to substitute parameter…8.1
- CVE-2026-136503psqlODBC frees memory that is still in use, frees it twice, …7.5
- CVE-2026-136505psqlODBC uses sizes and counts without checking their range,…7.5
- CVE-2026-136506psqlODBC builds queries of its own from names, and put these…7.5
- CVE-2026-136507psqlODBC parsed and built connection strings in ways that le…8.1
- CVE-2026-136508On Windows, when a connection takes part in a distributed tr…6.8
- CVE-2026-136509psqlODBC did not check that a server reply matches the query…7.5
- CVE-2026-136510A parameter-array execution that fails part-way leaves the r…4.8
Are you affected by CVE-2026-136504?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
