Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
3.6
CVE-2026-136513: psqlODBC can let local user write or block log files
CVE-2026-136513 · published 7 days ago
Summary
When debugging or communication logging is turned on and the normal log folder is unavailable, the psqlODBC driver falls back to a path in the user's home directory but does not expand the tilde symbol correctly. A user who controls a directory in that path can cause the driver to create the victim's log files in any writable location or freeze the victim's process. Update psqlODBC to a version newer than 18.00.0006 to stop this behavior.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| – | postgresql | psqlodbc | <= 18.00.0006 |
| Ubuntu:16.04:LTS | canonical | psqlodbc | All versions |
| Debian:12 | debian | psqlodbc | All versions |
Original advisory text
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.
References
- https://ubuntu.com/security/CVE-2026-136513 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-136513 Third Party Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-1365... Vendor Advisory
- https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-g5jq-... vendor-advisory
- https://security-tracker.debian.org/tracker/CVE-2026-136513 Vendor Advisory
- https://odbc.postgresql.org/ URL
- https://nvd.nist.gov/vuln/detail/CVE-2026-136513 Vendor Advisory
- https://odbc.postgresql.org/changelog/ release-notes
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker partial control (estimated)
Type
CWE-59Link Following
CWE-22Path Traversal
Timeline
Published25 Nov 2026
Updated2 Dec 2026
First seen25 Nov 2026
Sources
CVE-2026-136513 · NVD
CVE-2026-136513 · MITRE
CVE-2026-136513 · OSV
GHSA-g5jq-mpgp-mq7q · GHSA
UBUNTU-CVE-2026-136513 · OSV
DEBIAN-CVE-2026-136513 · OSV
Track software like this
Free during beta