CVE-2026-136504PostgreSQL psqlODBC
Medium 5.0 Recent
Follow: this CVE · PostgreSQL · PostgreSQL psqlODBC We alert you by email or Slack (account required).
- Priority
- 38
- CVSS 3.1
- 5.0
- EPSS
- —
- Auth required
- Yes
- Published
- Nov 25, 2026
- Updated
- Nov 30, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-532
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for psqlODBC.
Affected products
- PostgreSQL · psqlODBC
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- psqlODBC-18.00.0007-1.1 on GA media · SUSE · openSUSE-SU-2026:12716-1 · Nov 27, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.