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

CVE-2026-62154

mysql_fdw runs SQL supplied by a malicious MySQL server during IMPORT FOREIGN SCHEMA

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

Moyen 44/100

Résumé

During IMPORT FOREIGN SCHEMA, mysql_fdw copies column metadata returned by the remote MySQL server into the CREATE FOREIGN TABLE statements it runs locally without quoting it. The COLUMN_DEFAULT value is placed directly in the DEFAULT clause, and the name of the generated ENUM type is inserted unquoted. A malicious or compromised MySQL server, or an attacker who can tamper with the connection, can return crafted information_schema metadata and run arbitrary SQL in the local PostgreSQL session of the user who runs IMPORT FOREIGN SCHEMA. The issue is fixed in mysql_fdw 2.10.0. From mysql_fdw 2.10.0, mysql_fdw quotes these values before building the statements.

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

Produits et versions affectés

Enterprisedb (1 ligne(s))
Enterprisedb
ProduitVersionsCorrigé dansSource
MySQL Foreign Data Wrapper (mysql_fdw) avant 2.10.0 (exclu) — CNA (éditeur ou attributeur)

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

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

Chronologie

  1. — Publication de la CVE (cve)

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:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N (CVSS 4.0, CNA:EDB)
Faiblesse
CWE-89 · Injection SQL

Comment sont obtenues et calculées ces données