1. Accueil
  2. Vulnérabilités
  3. CVE-2026-120065

CVE-2026-120065

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

Publiée le 2 nov. 2026 · modifiée le 2 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 34/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Postgresql (1 ligne(s))
Postgresql
ProduitVersionsCorrigé dansSource
psqlODBC avant 18.00.0006 (exclu) — CNA (éditeur ou attributeur)

Correctif

Correctifsource officielle

Upgrade to psqlODBC 18.00.0006 or later. The driver doubles each double quote in the stored column name, and does not use a name that does not fit its buffers to identify rows.

Source : CNA (éditeur ou attributeur)

Contournement

Contournementsource officielle

Set UpdatableCursors=0 in the connection string or DSN, or use read-only cursors (SQL_CONCUR_READ_ONLY).

Source : CNA (éditeur ou attributeur)

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1445)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1, CNA:PostgreSQL)
Faiblesse
CWE-89 · Injection SQL

Comment sont obtenues et calculées ces données