CVE-2026-136504
Published:November 25, 2026
Updated:November 26, 2026
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.
Affected Packages
https://github.com/postgresql-interfaces/psqlodbc.git (GITHUB):
Affected version(s) >=REL-09_06_0100 <REL-18_00_0007 || >=REL-10_00_0000 <REL-18_00_0007 || >=REL-11_00_0000 <REL-18_00_0007 || >=REL-12_00_0000 <REL-18_00_0007 || >=REL-13_00_0000 <REL-18_00_0007 || =REL-15_00_0000 <REL-18_00_0007 || >=REL-16_00_0000 <REL-18_00_0007 || >=REL-17_00_0000 <REL-18_00_0007 || >=REL-18_00_0000 <REL-18_00_0007Fix Suggestion:
Update to version REL-18_00_0007Related ResourcesĀ (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.1
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Insertion of Sensitive Information into Log File