CVE-2026-120066

psqlODBC log files are created with default permissions at a predictable path and follow symbolic links

Medium published · updated

5.3
CVSS score out of 10 · NVD (f86ef6dc-4d3a-42ad-8f28-e6d5547a5007)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
psqlodbc postgresql 0 → <18.00.000618.00.0006 CVE.org

References