StraitOfVuln
Latest / CVE-2026-138406

CVE-2026-138406

HighCVSS 7.3 (v3.1)Awaiting Analysis
CVE.org ↗NVD ↗

Description

psqlODBC uses pgenlist.dll, which is installed with the driver, for MSDTC enlistment. It loads the DLL the first time an application enlists. On builds made with Visual C++ 14 or later, it loaded the DLL by name, not by its path. Windows then searched the application's directory, the current directory and the directories on PATH, and none of them is where the driver installs pgenlist.dll. So another local user who could write to one of those directories could put their own pgenlist.dll there. The next time the application enlisted in MSDTC, that DLL's code ran in the application, under the application's account. On a server, that account can have more privileges than the attacker's own. An application that never sets SQL_ATTR_ENLIST_IN_DTC does not load pgenlist.dll and is unaffected. Only the Windows builds of the driver use pgenlist.dll. Versions up to and including psqlODBC 18.00.0007 are affected.

Details

CVE ID
CVE-2026-138406
Published / updated
29 Nov 2026, 19:17 UTC · last modified 03 Dec 2026, 21:18 UTC
Severity
HIGH
CVSS score
7.3 · v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H · Attack vector: Local
Affected vendor
PostgreSQL
Affected products
psqlODBC
Affected versions
psqlODBC: up to 18.00.0007
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Not stated in the data. Check the vendor advisory.
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.21% probability of exploitation in the next 30 days · 12% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007