CVE-2026-138406
Last modified
CVE-2026-138406 is a high-severity vulnerability rated 7.3/10 on the CVSS scale. psqlODBC uses pgenlist.dll, which is installed with the driver, for MSDTC enlistment. It loads the DLL the first time an application enlists. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| PostgreSQL | psqlODBC | <= 18.00.0007 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-138406?
How severe is CVE-2026-138406?
How do I fix CVE-2026-138406?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-13840Insufficient policy enforcement in Canvas in Google Chrome p…6.5
- CVE-2026-138400A vulnerability has been found in itsourcecode Stock Managem…6.3
- CVE-2026-138401A vulnerability was found in KarthikNarla Restaurant-Managem…6.3
- CVE-2026-138402A vulnerability was determined in anshikasharma09 Blood-Bank…7.3
- CVE-2026-138404With Debug or CommLog on, psqlODBC writes its log files to a…6.3
- CVE-2026-138405Before psqlODBC writes a connection string to its debug log,…5
- CVE-2026-138407A vulnerability has been found in Beetel 777VR1 Broadband Ro…10
- CVE-2026-138408In Forgejo before 15.0.12 and 16.x and 17.x before 17.0.2, e…7.7
- CVE-2026-13841Integer overflow in Skia in Google Chrome prior to 150.0.787…8.3
- CVE-2026-138410A weakness has been identified in BookStackApp BookStack up …4.3
- CVE-2026-138412A security vulnerability has been detected in 0957822 reserv…7.3
- CVE-2026-138413A vulnerability was detected in DarkMatter-999 college-manag…2.4
Are you affected by CVE-2026-138406?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
