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

- Severity: Low 3.6 (CVSS:3.1, scored by PostgreSQL) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-11-25T22:25:52.869Z
- Modified: 2026-11-30T15:28:09.390Z
- Weaknesses: CWE-22, CWE-59
- Assigned by: PostgreSQL

## 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.

(As written by CVE List.)

## Affected

- psqlodbc: up to 18.00.0006

## References

- <https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-g5jq-mpgp-mq7q> (vendor-advisory)
- <https://odbc.postgresql.org/changelog/> (release-notes)

## Sources

- CVE List: [CVE-2026-136513](https://www.cve.org/CVERecord?id=CVE-2026-136513), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-136513](https://nvd.nist.gov/vuln/detail/CVE-2026-136513), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-136513 · Whole record: https://cve.day/CVE-2026-136513.json · Rebuilt by cve.day 2026-11-30T15:32:25.838Z
