CVE-2026-136513: Another local user can redirect log files (incomplete fix for CVE-2026-120066)
When Debug or CommLog is enabled and the log directory cannot be used, psqlODBC falls back to a directory under the user's home directory. It wrote that path with an unexpanded ~, which is resolved relative to the process's current directory. Another local user who controls a directory on that path can make the driver create the victim's mylog.log and psqlodbc.log files in any directory the victim can write to, or leave the victim's process blocked in open().
This completes the fix for CVE-2026-120066 in 18.00.0006.
Versions up to and including psqlODBC 18.00.0006 are affected.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Affected deployments are those running psqlODBC 18.00.0006 or earlier where Debug or CommLog is enabled and the configured log directory cannot be used. Under those conditions, the driver falls back to a path below the user's home directory.
What access does an attacker need?
The attacker must be another local user who can control a directory in the path used when the unexpanded ~ fallback is resolved relative to the process's current directory. No remote attack path is described.
What could exploitation do?
An attacker can cause the driver to create the victim's mylog_*.log and psqlodbc_*.log files in a directory writable by the victim. They may also leave the victim's process blocked in open().
How can I determine whether my installation is affected?
Check whether the installed psqlODBC version is 18.00.0006 or earlier. Also determine whether Debug or CommLog is enabled and whether the normal log directory can become unusable, since those conditions trigger the fallback behavior.