CVE-2026-120062: SQL Injection

Published Nov 2, 2026
·
Updated

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

11 affected componentsFixes available
debian/psqlodbc*
debian/psqlodbc*
debian/psqlodbc*
debian/psqlodbc<=1:13.02.0000-2, <=1:17.00.0004-2, <=1:18.00.0005-1
1:18.00.0006-1
ubuntu/psqlodbc*
ubuntu/psqlodbc*
ubuntu/psqlodbc*
ubuntu/psqlodbc*
ubuntu/psqlodbc*
ubuntu/psqlodbc*
ubuntu/psqlodbc*

Event History

Nov 2, 2026
CVE Published
via NVD·07:18 PM
Data Sourced
via NVD·07:18 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·07:18 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203