Security mailing lists by PureSourceCode

CVE-2026-136504

MEDIUM 5.0CVSS 3.1

Debug log records the database password in clear 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.

Published
25 Nov 2026
Last modified
2 Dec 2026
Assigned by
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
NVD status
Awaiting Analysis
Weakness
CWE-532
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 (Secondary) CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
CVE List PostgreSQL CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://odbc.postgresql.org/ psqlodbc <= 18.00.0006

References

History

  • 2 Dec 2026 15:18 UTC · CVE List: updated (other details)
  • 2 Dec 2026 15:18 UTC · NVD: updated (other details)
  • 30 Nov 2026 15:31 UTC · NVD: status Received → Awaiting Analysis
  • 25 Nov 2026 23:38 UTC · NVD: first stored (published 25 Nov 2026)
  • 25 Nov 2026 22:43 UTC · CVE List: first stored (published 25 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.