CVE-2026-138405

MediumCVSS 5.0/10Last modified Dec 3, 2026

Description

Before psqlODBC writes a connection string to its debug log, it masks the password. It masked only a keyword written exactly as PWD or Password. A password given under " PWD", "PWD ", "Passwd" or "sslpassword" went into the log unmasked. The log line for each keyword also showed the value of any keyword the driver does not recognise, so a password under a misspelled keyword was logged as well.

A masked secret was replaced one character at a time, so the log showed the length of the password, and of each secret in pqopt.

CVE-2026-136504 covers two other ways the password reached the log: the setup dialog's Test button and the Unicode connect functions logged the connection string before it was masked. That is fixed in 18.00.0007. The faults described here are in the masking itself, and they remain in 18.00.0007.

The debug log is off by default, and only an administrator turns it on with the Debug setting. Only someone who later reads the log sees the password, which in practice means a log attached to a bug report or sent to support.

Versions up to and including psqlODBC 18.00.0007 are affected.

Metrics

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

Weakness enumeration

Affected software

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

VendorProductVersions
PostgreSQLpsqlODBC<= 18.00.0007

References

Timeline

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

Related CVEs from 2026

CVE-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 cCVE-2026-1384184.3A vulnerability was identified in youseries UReport up to 2.2.9. Impacted is the function service of the file ureport2-console/src/main/java
CVE-2026-138405: Medium severity, CVSS 5.0 | Vulnix