{"id":"CVE-2026-120066","published":"2026-11-02T19:09:14Z","modified":"2026-11-02T19:37:32Z","title":"psqlODBC log files are created with default permissions at a predictable path and follow symbolic links","vendor":"PostgreSQL","product":"psqlODBC","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00114,"percentile":0.01508,"provenance":"source"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"},{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-wj7r-6pj3-62g8","tags":["vendor-advisory"]}],"priority":{"score":4.0,"factors":[{"name":"EPSS percentile","points":0.3},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"postgresql","affectedVersions":[{"vendor":"PostgreSQL","product":"psqlODBC","versions":["< 18.00.0006"]}],"solutions":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-02T19:37:21.337272Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-115379","exploited":false,"provenance":"source"}}