Bug 2565352 (CVE-2026-120065) - CVE-2026-120065 postgresql-odbc: postgresql-odbc: SQL injection via unescaped column names in updatable cursors
Summary: CVE-2026-120065 postgresql-odbc: postgresql-odbc: SQL injection via unescaped...
Keywords:
Status: NEW
Alias: CVE-2026-120065
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-02 19:31 UTC by OSIDB Bzimport
Modified: 2026-11-03 08:52 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-02 19:31:53 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.