CVE-2026-138405
Last modified
CVE-2026-138405 is a medium-severity vulnerability rated 5/10 on the CVSS scale. 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. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| PostgreSQL | psqlODBC | <= 18.00.0007 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-138405?
How severe is CVE-2026-138405?
How do I fix CVE-2026-138405?
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-138399A flaw has been found in itsourcecode Stock Management Syste…6.3
- CVE-2026-13840Insufficient policy enforcement in Canvas in Google Chrome p…6.5
- CVE-2026-138400A vulnerability has been found in itsourcecode Stock Managem…6.3
- CVE-2026-138401A vulnerability was found in KarthikNarla Restaurant-Managem…6.3
- CVE-2026-138402A vulnerability was determined in anshikasharma09 Blood-Bank…7.3
- CVE-2026-138404With Debug or CommLog on, psqlODBC writes its log files to a…6.3
- CVE-2026-138406psqlODBC uses pgenlist.dll, which is installed with the driv…7.3
- CVE-2026-138407A vulnerability has been found in Beetel 777VR1 Broadband Ro…10
- CVE-2026-138408In Forgejo before 15.0.12 and 16.x and 17.x before 17.0.2, e…7.7
- CVE-2026-13841Integer overflow in Skia in Google Chrome prior to 150.0.787…8.3
- CVE-2026-138410A weakness has been identified in BookStackApp BookStack up …4.3
- CVE-2026-138412A security vulnerability has been detected in 0957822 reserv…7.3
Are you affected by CVE-2026-138405?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
