CVE-2026-120065

High

Description

For an updatable cursor over a table without OIDs that has an auto-increment int4 column, psqlODBC uses that column to identify rows. It places the column's name, as reported by the server, between double quotes in its keyset queries and in the WHERE clause of its positioned SELECT, UPDATE, and DELETE statements, without doubling any double quote in the name. A column name that contains a double quote therefore changes the SQL that the driver runs with the application's privileges, including which rows a positioned UPDATE or DELETE affects. Any database user who can create a table that the application reads with an updatable cursor can choose such a name, and so can a server not trusted under current SSL settings. Versions before psqlODBC 18.00.0006 are affected.

SeverityHigh
CVSS7.1
Exploit probability—
ProductpsqlODBC
PublishedNov 2, 2026
First seenNov 4, 2026
Weakness typeCWE-89SQL injection

How to fix

Update
  • PostgreSQL psqlODBC18.00.0006 or later

Affected products

ProductAffected versionsFixed in
PostgreSQL psqlODBCv < 18.00.000618.00.0006

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.