PoC Monitor
← All CVEs
CVE-2026-120062published 2 Nov 2026 19:09 UTCData: JSON · API

PostgreSQL psqlODBC

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-89
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

PostgreSQL psqlODBC
  • < 18.00.0006

Fixed in 18.00.0006

Mitigation

Upgrade to psqlODBC 18.00.0006 or later. SQLSpecialColumns passes the escaped names to its catalog queries, as the other catalog functions do.

Workaround

Validate table and schema names against the catalog, or reject names containing quote characters or backslashes, before calling SQLSpecialColumns.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published2 Nov 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.