Home / PostgreSQL / psqlODBC / CVE-2026-138405
CVE-2026-138405: is it exploited, and which versions of PostgreSQL psqlODBC are affected and fixed?
CVE-2026-138405 is a sensitive information written to log files vulnerability in PostgreSQL psqlODBC. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: psqlODBC through 18.00.0007 (CVE record by PostgreSQL). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.0, CVSS 3.1, from PostgreSQL).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 29, 2026, 18:20 UTC and NVD November 30, 2026, 16:09 UTC.
What is 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 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.
From the CVE record by PostgreSQL, last updated November 29, 2026, 18:01 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| PostgreSQL | psqlODBC psqlodbc | through 18.00.0007 |
As the CVE record by PostgreSQL states it, last updated November 29, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-138405?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.0 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N | PostgreSQL |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-138405 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.22% probability of exploitation activity in the next 30 days, percentile 13.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-532 Insertion of Sensitive Information into Log File
Where are the vendor advisories and references?
- GHSA-vj88-7qrf-48fg vendor-advisory
- psqlODBC changelog release-notes
When was it published, and where is the official record?
- Reserved
- November 29, 2026
- Published
- November 29, 2026, 18:01 UTC
- CVE record updated
- November 29, 2026, 18:01 UTC by PostgreSQL
- NVD
- Awaiting Analysis, last modified November 30, 2026, 15:28 UTC
- Last checked
- CVE list November 29, 2026, 18:20 UTC; NVD November 30, 2026, 16:09 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect psqlODBC?
- Nov 29, 2026CVE-2026-138406 PostgreSQL psqlODBC: uncontrolled search path (DLL or library hijacking)
- Nov 29, 2026CVE-2026-138404 PostgreSQL psqlODBC: link following (a symlink lets an attacker reach other files)
- Nov 25, 2026CVE-2026-136515 PostgreSQL psqlODBC: out-of-bounds write (memory corruption)
- Nov 25, 2026CVE-2026-136514 PostgreSQL psqlODBC: NULL pointer dereference (crash)
- Nov 25, 2026CVE-2026-136512 PostgreSQL psqlODBC: out-of-bounds write (memory corruption)
- Nov 25, 2026CVE-2026-136513 PostgreSQL psqlODBC: link following (a symlink lets an attacker reach other files)
- Nov 25, 2026CVE-2026-136510 PostgreSQL psqlODBC: improper initialization
- Nov 25, 2026CVE-2026-136511 PostgreSQL psqlODBC: not Failing Securely
Questions about CVE-2026-138405
Is CVE-2026-138405 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.22% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of PostgreSQL psqlODBC are affected by CVE-2026-138405?
psqlODBC through 18.00.0007, per the CVE record by PostgreSQL. The tables above give every range the sources list.
Which version fixes CVE-2026-138405?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-138405?
Medium (5.0, CVSS 3.1, from PostgreSQL). The severity table above shows each score with its source.
Where is the official record of CVE-2026-138405?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.