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

CVE-2026-59257

n8n - SQL Injection in MySQL v1 executeQuery Operation via Expression Interpolation

Publiée le 8 juil. 2026 · modifiée le 29 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Moyen 44/100

Résumé

n8n before 1.123.61, 2.x before 2.27.4, and 2.28.x before 2.28.1 contains a SQL injection vulnerability in the legacy MySQL v1 node's executeQuery operation. The operation substitutes evaluated {{ ... }} expression values directly into the raw SQL string without parameterization. When a workflow uses this operation with expression-sourced values and is connected to an externally-reachable trigger (such as a Webhook node), attacker-controlled input reaching those expressions results in SQL injection, allowing execution of arbitrary SQL with the configured MySQL credentials' privileges. The MySQL v2 node, which uses parameterized queries, is not affected.

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

Produits et versions affectés

N8n (6 ligne(s))
N8n
ProduitVersionsCorrigé dansSource
N8n avant 1.123.61 (exclu) — CNA (éditeur ou attributeur)
N8n de 2.28.0 (inclus) à 2.28.1 (exclu) — CNA (éditeur ou attributeur)
N8n de 2.0.0-rc.0 (inclus) à 2.27.4 (exclu) — CNA (éditeur ou attributeur)
N8n avant 1.123.61 (exclu) — NVD
N8n de 2.0.0 (inclus) à 2.27.4 (exclu) — NVD
N8n 2.28.0 — NVD

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
NVD
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-89 · Injection SQL

Comment sont obtenues et calculées ces données