---
title: "CVE-2026-138405"
canonical_url: "https://pkgseek.com/security/CVE-2026-138405"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2026-138405

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 …

CVE-2026-138405 is rated MEDIUM (5.0), with 1 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (5.0)
- **Affected builds**: 1
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | odbc-postgresql | 1:17.00.0004-2 | — |
