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

Published Updated

A local user controlling a directory on the log path can redirect psqlODBC log files or block the victim's process; psqlODBC users should care.

CVSS score

Low

3.6/10

CVSS 3.1 · Scored by PostgreSQL Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Local or same network
Any signed-in user, no user action

What is CVE-2026-136513?

CVE-2026-136513 is a low-severity path traversal vulnerability in PostgreSQL psqlODBC, published on 25 Nov 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-59, CWE-22

How severe is CVE-2026-136513?

CVE-2026-136513 scores 3.6 out of 10 under CVSS 3.1, which is low severity. It was scored by PostgreSQL.

Attack vector
Local
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

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

Which versions are affected by CVE-2026-136513?

An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.

How do I fix CVE-2026-136513?

No fix has been published for CVE-2026-136513 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-136513 being exploited?

There is no known exploitation of CVE-2026-136513 in the wild and no public exploit code.

Sources

Also known as GHSA-g5jq-mpgp-mq7q, UBUNTU-CVE-2026-136513.

Is CVE-2026-136513 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free