CVE-2026-136513: PostgreSQL psqlODBC Path Traversal

CVE-2026-136513

NVDCVSS scored by f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Vulnerability Summary

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.
Severity Level
LOW(3.6)
Published Date
Nov 25, 2026
Last Modified
Nov 25, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.18%Probability
Root Weakness (CWE)
The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
CVSS v3.1 Base Metrics — Score 3.6 (LOW)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityLow
IntegrityLow
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • PostgreSQL psqlODBC <= 18.00.0006
Patched Versions
  • PostgreSQL psqlODBC 18.00.0006

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run PostgreSQL psqlODBC and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 25, 2026Published
  • Nov 25, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new PostgreSQL psqlODBC CVEsYou are reading CVE-2026-136513. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 30, 2026 04:06 UTC