{"affected":[{"defaultStatus":"unaffected","ecosystem":"https://odbc.postgresql.org/","packageName":"psqlodbc","product":"psqlODBC","source":"CNA: PostgreSQL","vendor":"PostgreSQL","versions":[{"lessThanOrEqual":"18.00.0006","status":"affected","version":"0","versionType":"custom"}]}],"cveId":"CVE-2026-136513","cwes":["CWE-59","CWE-22"],"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().\n\nThis completes the fix for CVE-2026-120066 in 18.00.0006.\n\nVersions up to and including psqlODBC 18.00.0006 are affected.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":3.6,"severity":"low","source":"CNA: PostgreSQL","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},{"score":3.6,"severity":"low","source":"NVD: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1"}],"modifiedAt":1795648644630,"publishedAt":1795645552869,"references":[{"source":"CNA: PostgreSQL","tags":["vendor-advisory"],"url":"https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-g5jq-mpgp-mq7q"},{"source":"CNA: PostgreSQL","tags":["release-notes"],"url":"https://odbc.postgresql.org/changelog/"},{"source":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","tags":[],"url":"https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-g5jq-mpgp-mq7q"},{"source":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","tags":[],"url":"https://odbc.postgresql.org/changelog/"}],"remediation":[],"revision":"9896ef1f1926bf49f38688ee85dd4dc80bc1f883d72ab142e33721bd26c34f70","sources":[{"modifiedAt":1795645552869,"name":"CNA: PostgreSQL","retrievedAt":1795648140431,"url":"https://www.cve.org/CVERecord?id=CVE-2026-136513"},{"modifiedAt":1795648644630,"name":"NVD","retrievedAt":1795652271834,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-136513"}],"ssvc":null,"status":"published","title":"Another local user can redirect log files (incomplete fix for CVE-2026-120066)","updatedAt":1795652271834}