CVE-2026-138405
CVE-2026-138405 — Debug log records the database password under several spellings of the keyword, and the length of masked passwords
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…
Published Updated Sources: cvelistV5, PostgreSQL
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
5.0
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 5.0 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-532
References
2 on the record
- github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-vj88-7qrf-48fg
vendor-advisory
- odbc.postgresql.org/changelog/
release-notes
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-24984 Microsoft Windows NTFS Information Disclosure VulnerabilityCVSS 4.6 · CISA KEV
- CVE-2023-21492 Samsung Mobile Devices Insertion of Sensitive Information Into Log File VulnerabilityCVSS 4.4 · CISA KEV
- CVE-2026-22778 vLLM leaks a heap address when PIL throws an errorCVSS 9.8
- CVE-2026-12053 Insertion of Sensitive Information into Log File in GitLabCVSS 7.5
- CVE-2026-81106 Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains an Insertion of Sensitive Information into Log File…CVSS 7.1
- CVE-2025-46808 Sensitive information is leaked into NeuVector’s manager container logsCVSS 6.8
Elsewhere on this site
- Postgresqlevery CVE for this vendor
- CWE-532other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.