SQL Injection Vulnerability in psqlODBC from PostgreSQL
CVE-2026-120062
7.5HIGH
What is CVE-2026-120062?
The psqlODBC driver for PostgreSQL suffers from a SQL injection vulnerability due to the improper handling of table and schema names in its SQLSpecialColumns function. Unlike other catalog functions that properly escape these identifiers, SQLSpecialColumns directly splices the input into its queries. As a result, an application that supplies untrusted input could allow an attacker to execute arbitrary SQL commands with the privileges associated with the database connection. This vulnerability is present in versions prior to psqlODBC 18.00.0006.
Affected Version(s)
psqlODBC 0 < 18.00.0006