{"schemaVersion":4,"id":"CVE-2026-136513","aliases":["UBUNTU-CVE-2026-136513","DEBIAN-CVE-2026-136513"],"status":"published","duplicateOf":null,"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.","dates":{"published":"2026-11-25T22:25:52.869Z","modified":"2026-12-02T15:09:55.565Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":3.6,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","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","exploitability":2.6,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","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","exploitability":2.6,"impact":4.2,"computed":true}]},"epss":{"probability":0.00177,"percentile":0.07534,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-26T00:00:00.000Z","score":0.00177,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00177,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00177,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00177,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00177,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00177,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00177,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00177,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00177,"percentile":0.07534}],"last30":[{"date":"2026-11-26T00:00:00.000Z","score":0.00177,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00177,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00177,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00177,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00177,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00177,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00177,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00177,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00177,"percentile":0.07534}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-59","name":"Improper Link Resolution Before File Access","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.html"}],"affected":[{"vendor":"debian","product":"psqlodbc","name":"psqlodbc","label":"psqlodbc","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/psqlodbc","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 1:18.00.0007-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:18.00.0007-1","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 1:18.00.0007-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"psqlodbc","name":"psqlodbc","label":"psqlodbc","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/psqlodbc","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"postgresql","product":"psqlodbc","name":"psqlODBC","label":"psqlodbc","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 18.00.0006","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"18.00.0006","endInclusive":true}}],"versionsText":"≤ 18.00.0006","eol":null,"hubHref":"/vendor/postgresql/psqlodbc"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-g5jq-mpgp-mq7q","label":"github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-g5jq-mpgp-mq7q","hostname":"github.com","tags":["Vendor Advisory"]},{"url":"https://odbc.postgresql.org/changelog/","label":"odbc.postgresql.org/changelog/","hostname":"odbc.postgresql.org","tags":["Release Notes"]},{"url":"https://ubuntu.com/security/CVE-2026-136513","label":"ubuntu.com/security/CVE-2026-136513","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-136513","label":"www.cve.org/CVERecord?id=CVE-2026-136513","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-136513","label":"security-tracker.debian.org/tracker/CVE-2026-136513","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:12716-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:12716-1"]},"timeline":[{"kind":"published","date":"2026-11-25T22:25:52.869Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-02T15:09:55.565Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 3.6, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,36],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00177,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-02T15:09:55.565Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-02T15:09:55.565Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-12-02T15:09:55.565Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2026-12-02T15:09:55.565Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-12-02T15:09:37.866Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00177,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T04:02:19.840Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T04:02:20.356Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T04:02:20.556Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T04:00:57.992Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T04:02:18.199Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T04:02:17.270Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T04:49:56.675Z","stale":false,"partial":false}}