Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Windows

CVE-2026-136504 — PostgreSQL psqlODBC

Medium · CVSS 5.0EPSS 0.2% First seen November 25, 2026

One of 17 PostgreSQL psqlODBC vulnerabilities published together by NVD: our article covers all of them.

WindowsOperating systemsDatabasesVulnerabilities

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 5.0 CVSS 3.1 base score from the CNA

An attacker with a normal user account can exploit this with local access if a user is tricked into an action.

Attack from
local access (a logged-in user, or a malicious file opened on the device)
Attack complexity
low (no special conditions)
Login needed
yes, a normal user account
User action needed
yes, someone must click, open or visit something
Scope
stays within the vulnerable component
Impact
high on confidentiality, none on integrity and availability

Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

Weakness

  • CWE-532: Insertion of Sensitive Information into Log File

Affected and fixed versions

ProductAffected versionsFixed in
PostgreSQL psqlODBC≤ 18.00.0006—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Other references

Details from NVD (public domain).

Affected

  • PostgreSQL psqlODBC

What to do

  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-136504?

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. Weakness type: Insertion of Sensitive Information into Log File (CWE-532).

How severe is CVE-2026-136504?

CVE-2026-136504 has a CVSS 3.1 base score of 5.0 (medium), from the CNA. An attacker with a normal user account can exploit this with local access if a user is tricked into an action.

Is CVE-2026-136504 being exploited?

Not as far as is known: CVE-2026-136504 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-136504?

PostgreSQL psqlODBC ≤ 18.00.0006.

How do I fix CVE-2026-136504?

Apply the update or mitigation in the vendor's advisory, linked on this page under Vendor advisories.

Timeline & sources

References

Related vulnerabilities & news