psqlODBC SQL injection through SQLSpecialColumns table and schema names
- State
- Published
- Severity
- 7.5 High
- Published
- Nov 2, 2026
- Updated
- Nov 2, 2026
- Reserved
- Oct 30, 2026
Description
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.
| Product | Versions |
|---|---|
| psqlODBC PostgreSQL | before 18.00.0006 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.5 High | PostgreSQL |
Weaknesses
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.