Elevated
psqlODBC driver on Windows lets a planted DLL run code
CVE-2026-138406 and 2 more
The PostgreSQL database connection part can be hacked.
- CVE
- CVE-2026-138406 and 2 more
- Score
- CVSS 7.3 · CVE-2026-138406
- First seen
Mitigation
Update to psqlODBC 18.00.0008.
Summary
The psqlODBC driver on Windows loads pgenlist.dll by name, so another local user who plants a DLL can run code under the application's account. The same update also fixes log file tampering and passwords leaking into debug logs.
Affected when
- CVE-2026-138406 Windows build in use
- CVE-2026-138406 application uses MSDTC enlistment (SQL_ATTR_ENLIST_IN_DTC set)
- CVE-2026-138406 other local users can write to the application folder, the current folder or a PATH folder
- CVE-2026-138404 Debug or CommLog setting on
- CVE-2026-138405 Debug setting on
1 other Incident of this product in the last 30 days
Incidents by product: psqlODBC
Other recent Incidents of psqlODBC
Distribution packages (2) (every link below opens in a new tab)
- Debian 13 (trixie)psqlodbc · not fixed yet
- Debian 12 (bookworm)psqlodbc · not fixed yet
Sources: Debian Security Tracker
3 CVEs (every link below opens in a new tab)
Read the advisory · github.com (opens in a new tab)
Each of the 3 CVEs (every link below opens in a new tab)
- CVE-2026-138406A DLL planted by another local user can run under the application's account. CVSS 7.3 CVE-2026-138406 advisory 1 · CVE-2026-138406 advisory 2
- CVE-2026-138404Another local user can read the driver's log files or make it write into the victim's files. CVSS 6.3 CVE-2026-138404 advisory 1 · CVE-2026-138404 advisory 2
- CVE-2026-138405Passwords under several keyword spellings reach the debug log unmasked, and masked password lengths show. CVSS 5.0 CVE-2026-138405 advisory 1 · CVE-2026-138405 advisory 2