Skip to content
Fencer Vulns
high 7.1

CVE-2026-120065 json

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

published 2026-11-02 6 d ago modified 2026-11-02 6 d ago also EUVD-2026-115378

cvss
7.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 22%
public exploits
0
none known

Summary

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.

Patch / fix

  • PostgreSQL psqlODBC 18.00.0006
  • psqlodbc Debian 14 1:18.00.0006-1

debian advisories DEBIAN-CVE-2026-120065

  • psqlODBC openSUSE Tumbleweed 18.00.0006-1.1

opensuse advisories openSUSE-SU-2026:12472-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-120065 updated cvss 7.1

postgresql-odbc: postgresql-odbc: SQL injection via unescaped column names in updatable cursors

  • Red Hat Enterprise Linux 6 postgresql-odbc 16.00.0000-5.el10 Red Hat Enterprise Linux 7 postgresql-odbc 16.00.0000-5.el10 Red Hat Enterprise Linux 8 postgresql-odbc-tests, postgresql-odbc 16.00.0000-5.el10 Red Hat Enterprise Linux 9 postgresql-odbc 16.00.0000-5.el10 Red Hat Enterprise Linux 10 postgresql-odbc 16.00.0000-5.el10
    affected: workaround, no fix available

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
6 d ago

Exploit prediction

0.29% chance of exploitation in the next 30 days, higher than 22% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected products

  • PostgreSQL psqlODBC

Classification

Weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.