psqlODBC < 18.00.0006: SQLSpecialColumns SQL Injection via unescaped table/schema names
CVE-2026-120062 Published on November 2, 2026
psqlODBC SQL injection through SQLSpecialColumns table and schema names
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.
Vulnerability Analysis
CVE-2026-120062 is exploitable with network access, and requires small amount of user privileges. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Weakness Type
What is a SQL Injection Vulnerability?
The software constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component.
CVE-2026-120062 has been classified to as a SQL Injection vulnerability or weakness.
Affected Versions
PostgreSQL psqlODBC:- Before 18.00.0006 is affected.