CVE-2026-120065
Published:November 02, 2026
Updated:November 03, 2026
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 Packages
https://github.com/postgresql-interfaces/psqlodbc.git (GITHUB):
Affected version(s) >=REL-08_02_0300 <REL-18_00_0006 || >=REL-09_00_0100 <REL-18_00_0006 || >=REL-10_00_0000 <REL-18_00_0006 || >=REL-11_00_0000 <REL-18_00_0006 || >=REL-12_00_0000 <REL-18_00_0006 || >=REL-13_00_0000 <REL-18_00_0006 || =REL-15_00_0000 <REL-18_00_0006 || >=REL-16_00_0000 <REL-18_00_0006 || >=REL-17_00_0000 <REL-18_00_0006 || >=REL-18_00_0000 <REL-18_00_0006Fix Suggestion:
Update to version REL-18_00_0006Related Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an SQL Command