CVE-2026-138404

MediumCVSS 6.3/10Last modified Dec 3, 2026

Description

With Debug or CommLog on, psqlODBC writes its log files to a shared directory under predictable names. By default that is /tmp on Unix-like systems and C:\ on Windows, and each file name holds the process ID. The logs hold SQL text, data and connection details.

On Unix-like systems, the fix for CVE-2026-120066 in 18.00.0006 made the driver refuse a symbolic link at the log path. It used an existing file only if it was a regular file owned by the user running the application. It did not check whether the file had other hard links. So another local user could create a hard link at the log path to a file the victim owns. The link passed every check, and the driver appended its log to the victim's file. A FIFO at the log path is a second case, which CVE-2026-120066 did not cover: opening it blocked the application until another process read from it.

On Windows, the fix for CVE-2026-120066 did not apply, and the driver opened the log file without any of these checks. A log file created in C:\ by a service or an elevated process got that directory's permissions, which let other local users read it. In a log directory created under C:\ with default permissions, they could also modify it. A file that another user had already created at the log path was used as it was. The MSDTC log in C:\ or C:\pgdtclog was opened the same way.

Debug and CommLog are off by default, and only an administrator turns them on.

Versions up to and including psqlODBC 18.00.0007 are affected.

Metrics

CVSS 3.1 6.3/10CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L

Weakness enumeration

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 29, 2026
Last modified
Dec 3, 2026
NVD status
Awaiting Analysis

Related CVEs from 2026

CVE-2026-1384055.0Before psqlODBC writes a connection string to its debug log, it masks the password. It masked only a keyword written exactly as PWD or PasswCVE-2026-1384067.3psqlODBC uses pgenlist.dll, which is installed with the driver, for MSDTC enlistment. It loads the DLL the first time an application enlistsCVE-2026-13840710.0A vulnerability has been found in Beetel 777VR1 Broadband Router 01.00.09/01.00.09_55. This issue affects some unknown processing of the comCVE-2026-1384087.7In Forgejo before 15.0.12 and 16.x and 17.x before 17.0.2, email_verified can be spoofed, sometimes leading to account takeover in external CVE-2026-138418.3Integer overflow in Skia in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who had compromised the renderer process to potenCVE-2026-1384104.3A weakness has been identified in BookStackApp BookStack up to 26.09.1. This impacts the function restrictEntityRelationQuery of the file apCVE-2026-1384127.3A security vulnerability has been detected in 0957822 reserve-system ad5e485ad450fdf51485ff4753fbd63e40699152. Affected is an unknown functiCVE-2026-1384132.4A vulnerability was detected in DarkMatter-999 college-management-system up to ad939821801b51a27cbcf7cf105c1346b62bbd2e. Affected by this vuCVE-2026-1384145.3A flaw has been found in anshikasharma09 Blood-Bank-Management-System up to 39e2aab0cd81a811e520cb63caab68d9dc28583f. Affected by this issueCVE-2026-1384153.5A vulnerability has been found in youseries UReport up to 2.2.9. This affects the function toHtml of the file ureport2-core/src/main/java/coCVE-2026-1384169.9A vulnerability was found in D-Link R15 1.22.01. This vulnerability affects the function save_CSID_SetDeviceSettings of the file /bin/httpd CVE-2026-13841710.0A vulnerability was determined in Tenda AX9 22.03.01.46. This issue affects the function system of the file /goform/setMacFilterCfg of the c
CVE-2026-138404: Medium severity, CVSS 6.3 | Vulnix