CVE-2026-136513 — PostgreSQL psqlODBC
One of 17 PostgreSQL psqlODBC vulnerabilities published together by NVD: our article covers all of them.
DatabasesVulnerabilitiesSummary
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 breakdown
Low · 3.6
An attacker with a normal user account can exploit this with local access, without any user action, but only under specific conditions.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- yes, a normal user account
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- low on confidentiality and integrity, none on availability
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-59: Improper Link Resolution Before File Access ('Link Following')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| PostgreSQL psqlODBC | ≤ 18.00.0006 | — |
References by type
Vendor advisories
Other references
Affected
- PostgreSQL psqlODBC
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-136513?
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. Weakness type: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22).
How severe is CVE-2026-136513?
CVE-2026-136513 has a CVSS 3.1 base score of 3.6 (low), from the CNA. An attacker with a normal user account can exploit this with local access, without any user action, but only under specific conditions.
Is CVE-2026-136513 being exploited?
Not as far as is known: CVE-2026-136513 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-136513?
PostgreSQL psqlODBC ≤ 18.00.0006.
How do I fix CVE-2026-136513?
Apply the update or mitigation in the vendor's advisory, linked on this page under Vendor advisories.