Security mailing lists by PureSourceCode

CVE-2026-138405

MEDIUM 5.0CVSS 3.1

Debug log records the database password under several spellings of the keyword, and the length of masked passwords

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 setup dialog's Test button and the Unicode connect functions logged the connection string before it was masked. That is fixed in 18.00.0007. The faults described here are in the masking itself, and they remain in 18.00.0007.

The debug log is off by default, and only an administrator turns it on with the Debug setting. Only someone who later reads the log sees the password, which in practice means a log attached to a bug report or sent to support.

Versions up to and including psqlODBC 18.00.0007 are affected.

Published
29 Nov 2026
Last modified
3 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.0007

References

History

  • 3 Dec 2026 21:56 UTC · CVE List: updated (other details)
  • 3 Dec 2026 21:56 UTC · NVD: updated (other details)
  • 30 Nov 2026 15:31 UTC · NVD: status Received → Awaiting Analysis
  • 29 Nov 2026 19:18 UTC · NVD: first stored (published 29 Nov 2026)
  • 29 Nov 2026 18:19 UTC · CVE List: first stored (published 29 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.