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

High 7.1 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-120065?

CVE-2026-120065 is a high-severity vulnerability in PostgreSQL psqlODBC, published on 2 Nov 2026.

Official 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.

Weakness: CWE-89

Which versions are affected by CVE-2026-120065?

How do I fix CVE-2026-120065?

Upgrade to a fixed version.

Is CVE-2026-120065 being exploited?

There is no known exploitation of CVE-2026-120065 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-120065, GHSA-9cg8-r57h-h6jj, GHSA-gv3c-v55x-3f23, UBUNTU-CVE-2026-120065.

Is CVE-2026-120065 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free