5.3Medium

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

PostgreSQL psqlODBC Published: (17 days ago)

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.

Weakness (CWE): CWE-732CWE-59

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
PostgreSQL psqlODBC < 18.00.0006

References and patches