Database Password Exposure in PostgreSQL ODBC Driver
CVE-2026-136504
What is CVE-2026-136504?
The PostgreSQL ODBC driver contains a vulnerability that allows the database password to be logged in clear text when the MyLog debug feature is enabled. Specifically, pressing 'Test' in the Windows data source setup dialog inadvertently logs the entire connection string, including a percent-encoded password that can be easily reversed. Additionally, the Unicode connection functions log their arguments during character set conversion, bypassing the intended redaction process. Though MyLog is disabled by default and requires administrative access to enable, the logged information may still be exposed to unauthorized individuals, particularly if logs are included in bug reports or shared with support personnel. This issue affects all versions up to and including psqlODBC 18.00.0006.
Affected Version(s)
psqlODBC 0 <= 18.00.0006