{"id":"CVE-2026-120066","aliases":[],"cve":{"records":[{"id":"CVE-2026-120066","source":"PostgreSQL","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-10-30T19:25:18.920Z","published":"2026-11-02T19:09:14.964Z","modified":"2026-11-02T19:37:32.927Z"}],"publishers":[{"name":"PostgreSQL","role":"CNA","organizationId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","modified":"2026-11-02T19:09:14.964Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-11-02T19:37:32.927Z"}],"references":[{"url":"https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-wj7r-6pj3-62g8","tags":["vendor-advisory"],"source":"PostgreSQL"}],"weaknesses":[{"id":"CWE-732","description":"CWE-732 Incorrect Permission Assignment for Critical Resource","source":"PostgreSQL"},{"id":"CWE-59","description":"CWE-59 Improper Link Resolution Before File Access ('Link Following')","source":"PostgreSQL"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-11-02T19:37:21.337272Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"title":"psqlODBC log files are created with default permissions at a predictable path and follow symbolic links","titleSource":"PostgreSQL","descriptionSource":"PostgreSQL","description":"On Unix-like systems, when logging is enabled, psqlODBC creates its log files in /tmp by default, named from the program name, user name, and process ID, with the default permissions, typically world-readable, and follows symbolic links when opening them. A local user can read query text and data from another user's logs, and can place a symbolic link at the predictable path so that the driver appends log data to a file of the attacker's choosing with the victim's privileges. Versions before psqlODBC 18.00.0006 are affected.","score":5.3,"severity":"medium","published":"2026-11-02T19:09:14.964Z","modified":"2026-11-02T19:37:32.927Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"PostgreSQL","name":"psqlODBC","platforms":[],"versions":[{"version":"0","status":"affected","lessThan":"18.00.0006","versionType":"custom"}],"defaultStatus":"unaffected","cpes":[],"source":"PostgreSQL","url":"https://www.cve.org/CVERecord?id=CVE-2026-120066"}],"remediation":[{"text":"Upgrade to psqlODBC 18.00.0006 or later. On Unix-like systems, log files are opened with mode 0600 and O_NOFOLLOW, and an existing log file is used only if it is a regular file owned by the user running the application.","source":"PostgreSQL","url":"https://www.cve.org/CVERecord?id=CVE-2026-120066"},{"text":"Leave Debug and CommLog disabled in production. If logging is needed, set Logdir in the driver's section of odbcinst.ini (PostgreSQL Unicode or PostgreSQL ANSI) to a directory writable only by the user running the application.","source":"PostgreSQL","url":"https://www.cve.org/CVERecord?id=CVE-2026-120066"}],"references":["https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-wj7r-6pj3-62g8"],"sources":[{"name":"CVE","id":"CVE-2026-120066","modified":"2026-11-02T19:37:32.927Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-120066"}],"assessments":[{"source":"PostgreSQL","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","score":5.3}],"sourceAffected":[],"observedAt":"2026-11-02T19:46:08.301Z","kev":{"status":"not-listed","checkedAt":"2026-11-15T00:55:33.128Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-03T03:30:37.984Z","attemptedAt":"2026-11-03T03:30:37.984Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-03T03:30:38.142Z","attemptedAt":"2026-11-03T03:30:38.142Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-03T03:30:39.715Z","attemptedAt":"2026-11-03T03:30:39.715Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-03T03:30:39.516Z","attemptedAt":"2026-11-03T03:30:39.516Z"}],"evidence":[{"source":"NVD","id":"CVE-2026-120066","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120066","modified":"2026-11-02T20:17:39.920","score":5.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","checkedAt":"2026-11-03T03:30:37.984Z"},{"source":"GitHub Advisory Database","id":"GHSA-rvv3-vcvv-5fqj","url":"https://github.com/advisories/GHSA-rvv3-vcvv-5fqj","modified":"2026-11-02T21:32:01Z","score":5.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","checkedAt":"2026-11-03T03:30:38.142Z"},{"source":"ENISA EUVD","id":"EUVD-2026-115379","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-115379","modified":"Nov 2, 2026, 7:37:32 PM","score":5.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","checkedAt":"2026-11-03T03:30:39.715Z"}],"aiSummary":{"text":"psqlODBC versions before 18.00.0006 create log files with default permissions at a predictable path and follow symbolic links, allowing a local user to read or append log data. A local attacker can access query text and data from another user's logs. The weakness is due to incorrect permission assignment and improper link resolution.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-02T19:31:09.973Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-120066"}]}}