CVE-2026-120062: SQL Injection
SQLSpecialColumns in psqlODBC splices the table and schema names it receives into its catalog query without escaping them, while the other catalog functions escape them. An application that passes an untrusted table or schema name to SQLSpecialColumns lets the caller execute arbitrary SQL with the privileges of the connection. Versions before psqlODBC 18.00.0006 are affected.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Applications using psqlODBC versions before 18.00.0006 are exposed if they call SQLSpecialColumns with table or schema names influenced by untrusted input. The listed affected package ecosystems are Ubuntu and Debian.
What does an attacker need to exploit the vulnerability?
An attacker needs the ability to control a table or schema name that an application passes to SQLSpecialColumns. Exploitation does not require user interaction, but it requires a database connection through the vulnerable application.
What is the impact of successful exploitation?
The attacker can execute arbitrary SQL using the privileges of the database connection used by the application. This can affect confidentiality, integrity, and availability of data accessible to that connection.
What should be done if an immediate upgrade is not possible?
Do not pass untrusted table or schema names to SQLSpecialColumns. Restrict accepted identifiers to known-safe values and ensure the database connection used by the application has only the minimum required privileges.