Skip to main content
VulnerabilityPublished

CVE-2026-138405: Before psqlODBC writes a connection string to its debug log, it masks the password

Source GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2026-138405· Medium 5.0

Not known to be exploited · CVSS 5.0 Medium · fixed in 18.00.0007 : update psqlODBC when convenient.

Data as of 29 Nov 2026, 22:32 UTC

CVSS 3.1 base score
5.0Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (PostgreSQL)CVSS 3.15.0
Patch
Available – fixed in 18.00.0007
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
psqlODBCpsqlodbcAffected
  • <=18.00.0007
Fixed in–

AI-suggested

Since the debug log is off by default, avoid enabling debug logging unless necessary. Review and restrict access to debug logs to prevent unauthorized reading.

Description

psqlODBC versions up to and including 18.00.0007 have an issue where the debug log masks passwords incompletely before writing connection strings. Passwords provided under certain keyword variants like " PWD", "PWD ", "Passwd", or "sslpassword" are logged unmasked. Additionally, the masking reveals the length of the password by replacing characters one at a time. The debug log is off by default and only enabled by administrators, so exposure occurs only if the log is accessed later.

References

Community reviews

Loading reviews…