Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local write access to a search-path directory
-
DeliveryPlant malicious pgenlist.dll
-
ExploitApplication enlists in MSDTC
-
ExecutionDriver loads DLL by name
-
PersistAttacker code runs under app account
-
ImpactPrivilege escalation on host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path element control
|
| Exploitation Conditions | Exploitation requires ALL of the following: (1) a Windows build of psqlODBC version 18.00.0007 or earlier compiled with Visual C++ 14 or later; (2) an application that actually sets SQL_ATTR_ENLIST_IN_DTC and enlists in MSDTC - applications that never enlist never load pgenlist.dll and are entirely unaffected; (3) a second local user (the attacker) who already has write permission to one of the directories Windows searches before the driver's own install path - the application's directory, the current working directory, or a directory on PATH; and (4) the legitimate application subsequently performing an MSDTC enlistment to trigger the load. Limiting factors: this is local-only (no network vector), needs pre-existing local write access to a search-path directory (typical of multi-user servers or loose directory ACLs), and depends on the victim application both using DTC enlistment and being a Windows VC++14+ build - Unix builds and DTC-free applications are not exposed. |
| Impact | This is a CWE-427 untrusted-search-path (DLL planting) flaw in psqlODBC's MSDTC enlistment path. The provided CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H = 7.3 High) is internally consistent with the description: exploitation is LOCAL (AV:L) and requires a second local user who already has write access to the application's directory, the current working directory, or a PATH directory (PR:L), plus a triggering event - the legitimate application must subsequently enlist in MSDTC (UI:R). It is therefore a local privilege-escalation / code-execution issue, not a remote or widespread-exploitation threat. No EPSS score and no CISA KEV entry were supplied, and no proof-of-concept or exploit reference is present (the only references are the vendor GHSA advisory and the changelog), so there is no signal of active or automatable exploitation. The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a real-but-non-urgent local flaw. One point to verify: the impact's security value comes from the planted DLL running under the application's account, which on a server may be more privileged than the attacker - this is a privilege-crossing effect that some analysts would score S:C; the input uses S:U, so the scope treatment is worth confirming with the vendor. Net: a legitimate patch-priority local flaw, not a high-CVSS-but-illusory issue, but its real risk is gated by multi-user Windows hosts where an unprivileged user can write to a search-path directory of a more-privileged PostgreSQL ODBC application that uses distributed transactions. |
| Exploit ScenarioDerived | On a shared Windows server, a low-privileged local user drops a malicious pgenlist.dll into a directory Windows searches ahead of the driver's install location (the application's directory, the current directory, or a PATH directory). The next time a more-privileged application using psqlODBC enlists in MSDTC (an app that sets SQL_ATTR_ENLIST_IN_DTC), Windows loads the attacker's DLL by name and runs its code under the application's account, escalating the attacker's privileges. No public exploit identified at time of analysis; only the vendor advisory and changelog are referenced. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 29, 2026
DLL planting in psqlODBC’s Windows MSDTC enlistment path lets a local user who can write to an application directory, the current directory, or a PATH directory execute code under the account of an application that enlists in MSDTC. Affected are Windows builds of psqlODBC up to and including 18.00.0007 that were compiled with Visual C++ 14 or later; Unix builds and applications that never set SQL_ATTR_ENLIST_IN_DTC are not exposed. The flaw is local-only and requires a second local user with pre-existing write access to a searched directory; no public exploit was identified at time of analysis.
RemediationAI
An exact fixed release is not specified in the provided data; follow the vendor advisory at https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-xqhj-2prq-g662 and the changelog at https://odbc.postgresql.org/changelog/ to identify and deploy a psqlODBC release after 18.00.0007 when available. In the interim, restrict write access so unprivileged local users cannot modify the affected application’s directory, the process current working directory, or any directory on PATH used by the application; removing untrusted PATH entries reduces exposure but can break tooling that relies on those paths, and tightening ACLs can interfere with application updates. If distributed transaction enlistment is not required, configure the application not to set SQL_ATTR_ENLIST_IN_DTC, which prevents pgenlist.dll from being loaded; this disables MSDTC enlistment functionality. Run affected applications under least-privileged accounts to limit the impact of code execution.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
psqlODBC uses pgenlist.dll for Microsoft Distributed Transaction Coordinator (MSDTC) enlistment. On affected Windows builds made with Visual C++ 14 or later, the driver loaded the DLL by name rather than by full path, so Windows searched the application’s directory, the current working directory, and directories on PATH before the driver’s own install location. This is CWE-427, an untrusted search path / DLL planting weakness: a local user with write access to any searched directory can place a malicious pgenlist.dll that is loaded the next time the application sets SQL_ATTR_ENLIST_IN_DTC and enlists in MSDTC, running attacker code in the application’s context and potentially under a more privileged account on a server. The provided data does not describe any additional trigger beyond this DTC enlistment path; applications that never enlist do not load pgenlist.dll, and Unix builds do not use it. The CVSS vector is local (AV:L), low complexity (AC:L), low privileges (PR:L), and user interaction (UI:R), consistent with a local DLL-planting scenario.
Know when Psqlodbc 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
AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Local DLL planting (AV:L) by an existing local user with write access to a search directory (PR:L), triggered when the app next enlists in MSDTC (UI:R); planted code runs fully under the app account (C/I/A:H).
Primary rating from Vendor (PostgreSQL).
CVSS VectorVendor: PostgreSQL
DescriptionCVE.org
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.
Technical POC Analysis
CWE-427, Uncontrolled Search Path Element.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity DLL planting flaw affects Windows builds of psqlODBC (up to and including 18.00.0007) that enlist in MSDTC, allowing a local attacker with directory write access to execute code under the account of the enlisting application. Leadership should care because any Windows workload using this database driver alongside distributed transactions may be exposed to local privilege escalation, potentially compromising service accounts and host integrity. Unix deployments and applications that do not use DTC enlistment are unaffected, which limits exposure to a narrower Windows-specific population.
No vendor-released patch identified at time of analysis; restrict local write access to application, current working, and PATH directories used by processes that enlist in MSDTC, enforce safe DLL search mode, and avoid SQL_ATTR_ENLIST_IN_DTC where DTC enlistment is not operationally required.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
psqlODBC through 18.00.0006 parses and rebuilds connection strings in several ways that let an attacker-influenced value
SQL injection in psqlODBC up to and including 18.00.0006 lets remote unauthenticated attackers run SQL with the applicat
SQL injection in psqlODBC through 18.00.0006 lets an attacker who controls a bound character parameter or a name passed
Heap corruption in psqlODBC through 18.00.0006 can crash an application or corrupt its memory when it processes attacker
Extreme sizes and counts handled without range checks in psqlODBC's driver core let 16-bit counters and 2 GiB-scale size
Heap corruption and driver crashes in psqlODBC (all versions up to and including 18.00.0006) stem from the driver not ve
SQL injection in psqlODBC through crafted database, schema, table, column, operator, cursor, or parameter identifiers ca
A client-side memory-corruption flaw in the PostgreSQL ODBC driver (psqlODBC) through 18.00.0006 causes the driver to wr
Memory-safety defects across several code paths in psqlODBC, the PostgreSQL ODBC driver, allow a hostile or compromised
Out-of-bounds reads and writes in psqlODBC before 18.00.0006 arise when a host application forwards untrusted column num
SQL injection in psqlODBC before 18.00.0006 allows an attacker who can influence a table or schema name passed by a host
A stack-based buffer overflow (CWE-121) in the psqlODBC driver, the official PostgreSQL ODBC driver, lets attacker-influ
EUVD-2026-137809
GHSA-78mc-2mv3-9r97
NVD
CVE.org
EPSS
VulDB
Exploit-DB