Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-138405
Published:November 29, 2026
Updated:December 01, 2026
Before psqlODBC writes a connection string to its debug log, it masks the password. It masked only a keyword written exactly as PWD or Password. A password given under " PWD", "PWD ", "Passwd" or "sslpassword" went into the log unmasked. The log line for each keyword also showed the value of any keyword the driver does not recognise, so a password under a misspelled keyword was logged as well. A masked secret was replaced one character at a time, so the log showed the length of the password, and of each secret in pqopt. CVE-2026-136504 covers two other ways the password reached the log: the setup dialog's Test button and the Unicode connect functions logged the connection string before it was masked. That is fixed in 18.00.0007. The faults described here are in the masking itself, and they remain in 18.00.0007. The debug log is off by default, and only an administrator turns it on with the Debug setting. Only someone who later reads the log sees the password, which in practice means a log attached to a bug report or sent to support. Versions up to and including psqlODBC 18.00.0007 are affected.
Affected Packages
https://github.com/postgresql-interfaces/psqlodbc.git (GITHUB):
Affected version(s) >=REL-07_02_0003 <REL-18_00_0008 || >=REL-08_00_0001 <REL-18_00_0008 || >=REL-09_00_0100 <REL-18_00_0008 || >=REL-10_00_0000 <REL-18_00_0008 || >=REL-11_00_0000 <REL-18_00_0008 || >=REL-12_00_0000 <REL-18_00_0008 || >=REL-13_00_0000 <REL-18_00_0008 || =REL-15_00_0000 <REL-18_00_0008 || >=REL-16_00_0000 <REL-18_00_0008 || >=REL-17_00_0000 <REL-18_00_0008 || >=REL-18_00_0000 <REL-18_00_0008
Fix Suggestion:
Update to version REL-18_00_0008
Do you need more information?
Contact Us
CVSS 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
EPSS
Base Score:
0.22