CVE-2026-138405: Sensitive Data in Logs
Published 2026-11-29 · Updated 2026-12-03 · Source f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Not known to be exploited · medium severity — update to 18.00.0007 or later on your normal schedule.
What to do
- Update the affected product to version 18.00.0007 or later. Versions before 18.00.0007 are affected.
- Until it is patched, limit who has a local account on systems running the affected product.
- Restrict access to the logs, purge affected entries and rotate the logged secrets.
- Exploitation needs a victim to act, so warn users of the affected system about unexpected links and files.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Affected product | < 18.00.0007 | 18.00.0007 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
Exploiting it requires local access to the system, or getting a user to open a crafted file; the attacker needs an ordinary low-privileged account, and a victim has to take an action such as opening a link or file. Attack complexity is low, so a working exploit is expected to be reliable. The impact on confidentiality is rated high.
| Attack vector | Local | Exploiting it requires local access to the system, or getting a user to open a crafted file. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | Low | The attacker needs an ordinary low-privileged account. |
| User interaction | Required | A victim has to take an action, such as opening a link or file. |
| Confidentiality | High | Total loss of confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
Weakness: Sensitive Data in Logs
Secrets are written to log files, where anyone with log access can read them.
Classified as CWE-532.
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.
Advisory text as published in the NVD record.