PT-2026-161668
CVE-2026-138406
·
Published
2026-11-29
·
Updated
2026-11-29
Description by
CVSS 3.1
7.3
HighMetricsAV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
psqlODBC versions prior to 18.00.0008
Description
Windows builds of the driver use
pgenlist.dll for MSDTC (Microsoft Distributed Transaction Coordinator) enlistment. Due to the DLL being loaded by name rather than by its full path on builds using Visual C++ 14 or later, the system searches the application directory, the current directory, and the PATH environment variable directories. A local attacker with write access to any of these locations can place a malicious pgenlist.dll file. When an application enlists in MSDTC, the malicious code is executed under the application's account, potentially granting the attacker higher privileges. This issue only affects applications that set SQL ATTR ENLIST IN DTC.Recommendations
Update psqlODBC to a version newer than 18.00.0007.
As a temporary mitigation, avoid using the
SQL ATTR ENLIST IN DTC attribute in applications until the driver is updated. Found an issue in the description? Have something to add? Feel free to write us 👾