CVE-2026-138405: PostgreSQL psqlODBC · Sensitive Data in Logs
Affects PostgreSQL psqlODBCSource CVE Database V5
Mentioned vulnerabilities
Not known to be exploited · CVSS 5.0 Medium.
Data as of 29 Nov 2026, 18:30 UTC
Thin evidence
One scorer or none| CNA (PostgreSQL) | CVSS 3.1 | 5.0 |
|---|
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 29 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| psqlODBCpsqlodbc | Affected
| Fixed in– |
AI-suggested
Since the debug log is off by default, avoid enabling debug logging unless necessary. If debug logging is enabled, restrict access to the logs to trusted administrators only. Upgrade to a version later than 18.00.0007 once a fix addressing this masking issue is released. Monitor PostgreSQL advisories for updates.
Description
psqlODBC versions up to and including 18.00.0007 have a vulnerability where certain passwords can be logged in plaintext in debug logs due to incomplete masking. Passwords provided under keywords other than exactly 'PWD' or 'Password' (e.g., ' PWD', 'PWD ', 'Passwd', 'sslpassword') are not masked and thus exposed in logs. The debug log is off by default and must be enabled by an administrator. This exposure occurs only if debug logging is enabled and the logs are accessed later.