CVE-2026-138406
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.
Properties
- Severity
- HIGH
- Nvd fetched at
- 2026-11-30T06:16:34.879808+00:00
- Cvss severity
- HIGH
- Cvss score
- 7.3
- Retrieved at
- 2026-11-30T06:17:15+00:00
- Score
- 7.3
- Cvss version
- 3.1
- Last source
- NVD
- Cve id
- CVE-2026-138406
- Cvss vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- First seen by Signal
- 2026-11-29T22:09:36+00:00
- Name
- CVE-2026-138406
- Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Published at
- 2026-11-29T19:17:02.237
- Last modified
- 2026-11-29T19:17:02.237
Related Entities (1)
HAS_WEAKNESS (1)
Related research
Explore deeper with Ninja Signal's threat intelligence graph