CVE-2026-42229
JSON

5.3medium

n8n: SQL Injection in SeaTable Node

Severity
5.3medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.59% (higher than 42% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-mp4j-h6gh-f6mp

Description

n8n is an open source workflow automation platform. Prior to versions 1.123.32, 2.17.4, and 2.18.1, a flaw in the SeaTable node's row:search and row:get operations allowed user-controlled input to be concatenated directly into SQL query strings without escaping or parameterization. In workflows where external user input is passed via expressions into the SeaTable node's search or row retrieval parameters, an attacker could manipulate the constructed query to retrieve unintended rows from the connected SeaTable base, bypassing row-level filtering logic implemented in the workflow. This issue has been patched in versions 1.123.32, 2.17.4, and 2.18.1.

Affected

Product or packageVersionsReported by
n8n-io n8n< 1.123.32, >= 2.17.0, < 2.17.4, >= 2.18.0, < 2.18.1CVE List
n8n (npm)before 1.123.32, from 2.18.0 before 2.18.1, from 2.0.0 before 2.17.4GitHub Advisory Database
n8n n8nbefore 1.123.32, from 2.17.0 before 2.17.4, 2.18.0NVD

All scores

GitHub_M5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
GitHub6.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

n8n is an open source workflow automation platform. Prior to versions 1.123.32, 2.17.4, and 2.18.1, a flaw in the SeaTable node's row:search and row:get operations allowed user-controlled input to be concatenated directly into SQL query strings without escaping or parameterization. In workflows where external user input is passed via expressions into the SeaTable node's search or row retrieval parameters, an attacker could manipulate the constructed query to retrieve unintended rows from the connected SeaTable base, bypassing row-level filtering logic implemented in the workflow. This issue has been patched in versions 1.123.32, 2.17.4, and 2.18.1.

GitHub Advisory Database

Impact

A flaw in the SeaTable node's row:search and row:get operations allowed user-controlled input to be concatenated directly into SQL query strings without escaping or parameterization. In workflows where external user input is passed via expressions into the SeaTable node's search or row retrieval parameters, an attacker could manipulate the constructed query to retrieve unintended rows from the connected SeaTable base, bypassing row-level filtering logic implemented in the workflow.

Exploitation requires a specific workflow configuration:

  • The SeaTable node must be used with user-controlled input passed via expressions (e.g., from a form or webhook) into the searchTerm or rowId parameters.

Patches

The issue has been fixed in n8n versions 1.123.32, 2.17.4, and 2.18.1. Users should upgrade to one of these versions or later to remediate the vulnerability.

Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations:

  • Limit workflow creation and editing permissions to fully trusted users only.
  • Disable the SeaTable node by adding n8n-nodes-base.seaTable to the NODES_EXCLUDE environment variable.
  • Avoid passing unvalidated external user input into SeaTable node search or row retrieval parameters via expressions.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

NVD (es)

n8n es una plataforma de automatización de flujos de trabajo de código abierto. Antes de las versiones 1.123.32, 2.17.4 y 2.18.1, una falla en las operaciones fila:búsqueda y fila:obtener del nodo SeaTable permitió que la entrada controlada por el usuario se concatenara directamente en cadenas de consulta SQL sin escape ni parametrización. En flujos de trabajo donde la entrada de usuario externa se pasa a través de expresiones a los parámetros de búsqueda o recuperación de filas del nodo SeaTable, un atacante podría manipular la consulta construida para recuperar filas no deseadas de la base SeaTable conectada, eludiendo la lógica de filtrado a nivel de fila implementada en el flujo de trabajo. Este problema ha sido parcheado en las versiones 1.123.32, 2.17.4 y 2.18.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-42229 changed 2026-05-05CVE Terms of Use
GitHub Advisory DatabaseGHSA-mp4j-h6gh-f6mp changed 2026-05-08CC-BY-4.0
NVDCVE-2026-42229 changed 2026-10-26Public domain