Making that safe is the purpose of the driver's redaction, and these two sites bypassed it.
- CVSS
- 5.0Medium
- Chance of exploitation (EPSS)
- 0.19%
- Published
- Nov 25, 2026
- In the news
- Not yet
What to do
A moderate security flaw in Postgresql Psqlodbc that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Postgresql Psqlodbc
- Through 18.00.0006
Description
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.
Affected products
Get alerts for these →Timeline 2
Latest change: Nessus plugin 388671: Linux Distros Unpatched Vulnerability : CVE-2026-138405 (Nov 29, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Mon, Nov 30, 2026
Wed, Nov 25, 2026
- CVECVE-2026-136504 published (CVSS 5.0)CVE Program · 23:17 UTC
References 2
- github.com /postgresql-interfaces/psqlodbc/security/advisories/GHSA-4cgj-r3wg-3rj2
- odbc.postgresql.org /changelog/