{"api_version":"1","generated_at":"2026-11-26T13:33:12+00:00","cve":"CVE-2026-136513","urls":{"html":"https://cve.report/CVE-2026-136513","api":"https://cve.report/api/cve/CVE-2026-136513.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-136513","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-136513"},"summary":{"title":"Another local user can redirect log files (incomplete fix for CVE-2026-120066)","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.","state":"PUBLISHED","assigner":"PostgreSQL","published_at":"2026-11-25 23:17:24","updated_at":"2026-11-25 23:17:24"},"problem_types":["CWE-22","CWE-59","CWE-59 CWE-59 Improper Link Resolution Before File Access ('Link Following')","CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"],"metrics":[{"version":"3.1","source":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","type":"Secondary","score":"3.6","severity":"LOW","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","baseScore":3.6,"baseSeverity":"LOW","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"CVSS","score":"3.6","severity":"LOW","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","data":{"baseScore":3.6,"baseSeverity":"LOW","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1"}}],"references":[{"url":"https://odbc.postgresql.org/changelog/","name":"https://odbc.postgresql.org/changelog/","refsource":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-g5jq-mpgp-mq7q","name":"https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-g5jq-mpgp-mq7q","refsource":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-136513","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-136513","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"PostgreSQL","product":"psqlODBC","version":"affected 18.00.0006 custom","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://odbc.postgresql.org/","defaultStatus":"unaffected","packageName":"psqlodbc","product":"psqlODBC","vendor":"PostgreSQL","versions":[{"lessThanOrEqual":"18.00.0006","status":"affected","version":"0","versionType":"custom"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"baseScore":3.6,"baseSeverity":"LOW","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-59","description":"CWE-59 Improper Link Resolution Before File Access ('Link Following')","lang":"en","type":"CWE"},{"cweId":"CWE-22","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-25T22:25:52.869Z","orgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","shortName":"PostgreSQL"},"references":[{"name":"GHSA-g5jq-mpgp-mq7q","tags":["vendor-advisory"],"url":"https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-g5jq-mpgp-mq7q"},{"name":"psqlODBC changelog","tags":["release-notes"],"url":"https://odbc.postgresql.org/changelog/"}],"title":"Another local user can redirect log files (incomplete fix for CVE-2026-120066)"}},"cveMetadata":{"assignerOrgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","assignerShortName":"PostgreSQL","cveId":"CVE-2026-136513","datePublished":"2026-11-25T22:25:52.869Z","dateReserved":"2026-11-24T20:17:10.904Z","dateUpdated":"2026-11-25T22:25:52.869Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-25 23:17:24","lastModifiedDate":"2026-11-25 23:17:24","problem_types":["CWE-22","CWE-59","CWE-59 CWE-59 Improper Link Resolution Before File Access ('Link Following')","CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"],"metrics":{"cvssMetricV31":[{"source":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","baseScore":3.6,"baseSeverity":"LOW","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":1,"impactScore":2.5}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"136513","Ordinal":"1","Title":"Another local user can redirect log files (incomplete fix for CV","CVE":"CVE-2026-136513","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"136513","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Another local user can redirect log files (incomplete fix for CV"}]}}}