CVE-2026-136513: Another local user can redirect log files (incomplete fix for CVE-2026-120066)

Published Nov 25, 2026
·
Updated

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

1 affected component
PostgreSQL psqlODBC<=18.00.0006

Event History

Nov 25, 2026
CVE Published
via MITRE·10:25 PM
Data Sourced
via MITRE·10:25 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

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.

2

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.

3

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().

4

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203