cve.bz

CVE-2026-120065 SQL Injection

7.1 highEPSS 0.3%

High (7.1). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago) estimated probability of exploitation activity in the next 30 days; 18th percentile. Scored 2026-11-25. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-89 Improper Neutralization of Special Elements used in an SQL Command (SQL Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-120065 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-120065?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-120065?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-120065 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13psqlodbcno fix listedDEBIAN-CVE-2026-120065
Debian14psqlodbc1:18.00.0006-1DEBIAN-CVE-2026-120065
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 4 morepsqlodbcno fix listedUBUNTU-CVE-2026-120065
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morepsqlODBC18.00.0006-150000.3.14.1SUSE-SU-2026:5253-1
SUSELinux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6psqlODBC18.00.0006-150600.3.5.1SUSE-SU-2026:5191-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5psqlODBC18.00.0006-1.8.1SUSE-SU-2026:5192-1
openSUSELeap 16.0psqlODBC18.00.0006-bp160.1.1openSUSE-SU-2026:22261-1
openSUSETumbleweedpsqlODBC18.00.0006-1.1openSUSE-SU-2026:12472-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as Important rather than Moderate due to its potential to allow arbitrary SQL injection within the execution context of the client application, compromising backend data integrity and confidentiality. Exploitation requires specific preconditions: the connecting client must query tables using updatable cursors, and an attacker must have privileges to define table schemas or control an untrusted database endpoint. In standard Red Hat Enterprise Linux deployments, applications typically connect to trusted database services using managed, static schemas, which significantly restricts real-world exposure.

Red Hat's mitigation

To mitigate this set UpdatableCursors=0 in connection strings or DSNs, enforce SQL_CONCUR_READ_ONLY, and restrict table creation privileges and untrusted database server endpoints. As a compensating measure, restrict database account privileges so injected statements cannot access, modify, or drop unauthorized tables. These controls limit blast radius and contain exploitation, but they do not fix the underlying SQL injection defect — apply the upstream patch to fully remediate.

Highest-impact CME: CME-1305 SQL Injection Prevention (Parameterized Queries) (high)

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10postgresql-odbcAffected
Red Hat Enterprise Linux 6postgresql-odbcAffected
Red Hat Enterprise Linux 7postgresql-odbcAffected
Red Hat Enterprise Linux 8postgresql-odbcAffected
Red Hat Enterprise Linux 9postgresql-odbcAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-120065.

Attack patterns (CAPEC)

  • CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
  • CAPEC-66 SQL Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
  • CAPEC-109 Object Relational Mapping Injection Likelihood: Low · Severity: High
  • CAPEC-110 SQL Injection through SOAP Parameter Tampering Likelihood: High · Severity: Very High
  • CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON