# CVE-2026-136504: Debug log records the database password in clear text

- Priority: **Routine**
- Reason: Not severe (CVSS 5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-25 · Modified: 2026-12-02
- Aliases: UBUNTU-CVE-2026-136504, DEBIAN-CVE-2026-136504
- Record: https://cvemate.com/vulnerability/CVE-2026-136504 · JSON: https://cvemate.com/vulnerability/CVE-2026-136504/json

## Description

```text
With the driver's debug log (MyLog) turned on, two paths write the database
password to the log in clear text, both beside a line where the driver's own
redaction masks it as PWD=xxxxx:

- Pressing "Test" in the Windows data source setup dialog (psqlsetup.dll)
  logs the whole connection string, which carries PWD= percent-encoded,
  which is reversible, and any password= or sslpassword= inside pqopt.
- The Unicode connect functions SQLDriverConnectW, SQLConnectW and
  SQLBrowseConnectW log their arguments as they convert them between UTF-16
  and UTF-8, before the masking happens. The ANSI entry points are unaffected.

Turning the log on takes an administrator, and MyLog is off by default. The
exposure is the person who later reads the log, which in practice means a log
attached to a bug report or handed to support. Making that safe is the purpose
of the driver's redaction, and these two sites bypassed it.

Versions up to and including psqlODBC 18.00.0006 are affected.
```

## Signals

- CVSS: 5 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
- EPSS: 0.192%, percentile 9.335%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian psqlodbc (Debian): All versions (No fix recorded) \| \< 1:18.00.0007-1
- ubuntu psqlodbc (Ubuntu): All versions (No fix recorded)
- postgresql psqlodbc: ≤ 18.00.0006

## References

- <https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-4cgj-r3wg-3rj2>
- <https://odbc.postgresql.org/changelog/>
- <https://ubuntu.com/security/CVE-2026-136504>
- <https://www.cve.org/CVERecord?id=CVE-2026-136504>
- <https://security-tracker.debian.org/tracker/CVE-2026-136504>

---

Data as of 2026-12-05T04:51:28.207Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
