psqlODBC
CVE-2026-136504
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAdmin enables MyLog debug logging
-
ExploitTest or Unicode connect logs password cleartext
-
ExecutionLog shared via bug report/support
-
ImpactReader harvests database credentials
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Log data sanitization
|
| Exploitation Conditions | Exploitation requires the driver's MyLog debug logging to be turned on, which takes administrator rights and is off by default. With it enabled, exposure occurs through two specific sites: (1) pressing 'Test' in the Windows data source setup dialog (psqlsetup.dll), which logs the full connection string with PWD= percent-encoded (reversible) plus any password= or sslpassword= inside pqopt; and (2) the Unicode connect functions SQLDriverConnectW, SQLConnectW, and SQLBrowseConnectW, which log their arguments during UTF-16/UTF-8 conversion before masking runs. LIMITING FACTORS: the ANSI entry points are unaffected; the flaw is local-only (no remote/network vector); logging must be deliberately enabled by an admin; and actual password disclosure depends on the log later being read or shared (e.g., attached to a bug report or given to support). Affects psqlODBC up to and including 18.00.0006. |
| Impact | This is a genuine but low-urgency information-disclosure issue (CWE-532), not a classic exploitable vulnerability. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N, base 5.0) correctly reflects that there is no remote attack surface: the 'attacker' is really whoever later reads a debug log, and the confidentiality-only impact (C:H, I:N, A:N) matches a cleartext password leak with no integrity or availability effect. The vuln.today decision label is 'this_month' - meaningful but not emergency. Several exploitation signals are absent rather than reassuring: no CISA KEV listing (not actively exploited), no EPSS probability supplied in the input, and no exploit/PoC code - the two references are a GHSA advisory and the project changelog. One nuance worth verifying: the CVSS encodes PR:L, yet the description states that enabling MyLog logging 'takes an administrator,' so the precondition is effectively administrative; the residual privilege is low only for the downstream party who reads the exported log. Net: real but constrained - prioritize patching in normal cycles and treat any existing debug logs as credential-bearing, rather than treating this as an internet-facing emergency. |
| Exploit ScenarioDerived | An administrator enables the driver's MyLog debug logging to troubleshoot a connection, then presses 'Test' in the Windows DSN setup dialog (psqlsetup.dll) or an application calls the Unicode connect functions (SQLDriverConnectW/SQLConnectW/SQLBrowseConnectW); the database password is written to the log in cleartext right beside the intended PWD=xxxxx redaction. When that log is later attached to a bug report or handed to support, anyone who reads it recovers the password. No public exploit identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
psqlODBC through 18.00.0006 can write database passwords in clear text to its optional MyLog debug log when the 'Test' button is used in the Windows DSN setup dialog or when the Unicode connect functions SQLDriverConnectW, SQLConnectW, and SQLBrowseConnectW are invoked. MyLog is off by default and must be enabled by an administrator, and exposure occurs only if the resulting log is later read or shared, such as in a support case or bug report. This is a local, low-privilege information-disclosure issue (CWE-532) with user interaction required and no public exploit identified at time of analysis.
RemediationAI
The provided data does not list an exact fixed version; check the PostgreSQL psqlODBC security advisory and changelog for the release that corrects these logging paths, and upgrade to a release later than 18.00.0006 once the vendor confirms it contains the fix. Until then, keep MyLog debug logging disabled, which is the default, and do not enable it on systems that handle production database credentials; this removes the diagnostic detail MyLog provides. If a log must be collected for support, avoid using the Test button with real credentials, review and sanitize logs for PWD=, password=, and sslpassword= values before sharing, and restrict access to generated log files; sanitization reduces support value and must be done before the log leaves the system.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
psqlODBC is PostgreSQL's ODBC driver; the issue is CWE-532, insertion of sensitive information into a log file. The driver's debug facility, MyLog, normally redacts passwords as PWD=xxxxx, but two paths write the secret before that masking is applied: the Windows setup DLL psqlsetup.dll logs the full connection string when Test is pressed, including the percent-encoded PWD= value (which is reversible) and any password= or sslpassword= inside pqopt; and the Unicode entry points SQLDriverConnectW, SQLConnectW, and SQLBrowseConnectW log their arguments during UTF-16 to UTF-8 conversion before masking. The ANSI entry points are unaffected. The CVSS vector is local (AV:L), low privileges (PR:L), user interaction (UI:R), with high confidentiality impact (C:H) and no integrity or availability impact; the CPE cpe:2.3:a:postgresql:psqlodbc:*:*:*:*:*:*:*:* covers affected psqlODBC releases up to 18.00.0006.
Know when Windows gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
Local-only log exposure (AV:L) gated behind admin-enabled logging and a Test/connect action (PR:L, UI:R); only the password is disclosed, so C:H with I:N/A:N.
Primary rating from Vendor (PostgreSQL).
CVSS VectorVendor: PostgreSQL
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Affected Products (CPE)CVE.org
Unauthenticated remote code execution in SmarterTools SmarterMail lets an attacker upload arbitrary files to any locatio
Windows Win32k fails to properly handle objects in memory, allowing local privilege escalation exploited in the wild in
A privilege escalation vulnerability (CVSS 5.5). Risk factors: actively exploited (KEV-listed), EPSS 94% exploitation pr
Windows Internet Shortcut Files (.url) contain an external control vulnerability (CVE-2025-33053, CVSS 8.8) that enables
Windows SMB contains an improper access control vulnerability (CVE-2025-33073, CVSS 8.8) enabling authenticated attacker
An unrestricted file upload vulnerability exists in MiniWeb HTTP Server <= Build 300 that allows unauthenticated remote
Serviio Media Server versions 1.4 through 1.8 on Windows contain an unauthenticated command injection in the /rest/actio
Mako Server versions 2.5 and 2.6 contain an unauthenticated OS command injection via the tutorial interface at examples/
Command injection in the Windows Shell lets remote, unauthenticated attackers bypass a Windows security feature and then
External control of file name or path in Windows NTLM allows an unauthorized attacker to perform spoofing over a network
Siemens Software Center (all versions) loads dynamic-link libraries from an uncontrolled search path, allowing an authen
Windows CLFS Driver contains an input validation flaw enabling local privilege escalation, yet another CLFS kernel vulne
NVD
CVE.org
EPSS
GitHub
Exploit-DB