CVE-2026-120065

published 2 Nov 2026 · updated 2 Nov 2026

psqlODBC does not escape a server-supplied column name in its updatable-cursor queries

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 18.00.0006.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
postgresql<18.00.000618.00.0006

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-120065 severity on Zeptric[![CVE-2026-120065](https://zeptric.io/badge/cve/CVE-2026-120065.svg)](https://zeptric.io/cve/CVE-2026-120065)