Skip to main content

psqlODBC CVE-2026-136504

MEDIUM
Insertion of Sensitive Information into Log File (CWE-532)
2026-11-25 PostgreSQL
5.0
CVSS 3.1 · Vendor: PostgreSQL
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Admin enables MyLog debug logging
  2. Exploit
    Test or Unicode connect logs password cleartext
  3. Execution
    Log shared via bug report/support
  4. Impact
    Reader 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (PostgreSQL) PRIMARY 5.0 MEDIUM
AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
vuln.today AI 5.0 MEDIUM

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.

3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (PostgreSQL).

CVSS VectorVendor: PostgreSQL

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Medium
official PostgreSQL ODBC driver, common on Windows database clients
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

25
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +25
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Affected Products (CPE)CVE.org

cpe:2.3:a:postgresql:psqlodbc:*:*:*:*:*:*:*:*
CVE-2025-52691 CRITICAL POC
10.0 Dec 29

Unauthenticated remote code execution in SmarterTools SmarterMail lets an attacker upload arbitrary files to any locatio

CVE-2019-0803 HIGH POC
7.8 Apr 09

Windows Win32k fails to properly handle objects in memory, allowing local privilege escalation exploited in the wild in

CVE-2020-1472 MEDIUM POC
5.5 Aug 17

A privilege escalation vulnerability (CVSS 5.5). Risk factors: actively exploited (KEV-listed), EPSS 94% exploitation pr

CVE-2025-33053 HIGH POC
8.8 Jun 10

Windows Internet Shortcut Files (.url) contain an external control vulnerability (CVE-2025-33053, CVSS 8.8) that enables

CVE-2025-33073 HIGH POC
8.8 Jun 10

Windows SMB contains an improper access control vulnerability (CVE-2025-33073, CVSS 8.8) enabling authenticated attacker

CVE-2013-10047 CRITICAL POC
9.3 Aug 01

An unrestricted file upload vulnerability exists in MiniWeb HTTP Server <= Build 300 that allows unauthenticated remote

CVE-2025-34101 CRITICAL POC
9.3 Jul 10

Serviio Media Server versions 1.4 through 1.8 on Windows contain an unauthenticated command injection in the /rest/actio

CVE-2025-34095 CRITICAL POC
9.3 Jul 10

Mako Server versions 2.5 and 2.6 contain an unauthenticated OS command injection via the tutorial interface at examples/

CVE-2026-96951 HIGH POC
8.8 Oct 13

Command injection in the Windows Shell lets remote, unauthenticated attackers bypass a Windows security feature and then

CVE-2025-24054 MEDIUM POC
6.5 Mar 11

External control of file name or path in Windows NTLM allows an unauthorized attacker to perform spoofing over a network

CVE-2026-110936 HIGH POC
8.4 Oct 15

Siemens Software Center (all versions) loads dynamic-link libraries from an uncontrolled search path, allowing an authen

CVE-2025-32706 HIGH POC
7.8 May 13

Windows CLFS Driver contains an input validation flaw enabling local privilege escalation, yet another CLFS kernel vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy