NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · n8n

CVE-2026-42229: n8n has SQL Injection in SeaTable Node

mediumCVSS 4.0 5.3 · 3.1 6.8GHSA-mp4j-h6gh-f6mp

The n8n SeaTable node builds SQL for its row:search and row:get operations by concatenating user input into the query string. If a workflow passes outside input into searchTerm or rowId, an attacker can alter the query and read rows they should not see. Fixed in n8n 1.123.32, 2.17.4 and 2.18.1.

Published Apr 29, 2026 · Updated May 8, 2026 · Analysis Nov 5, 2026

What an attacker can do

The searchTerm parameter of row:search and the rowId parameter of row:get go straight into a SQL string with no escaping or parameterization (CWE-89). An attacker who controls those values can change the query and pull rows from the connected SeaTable base. This bypasses any row-level filtering the workflow applies on top of the query.

The flaw is not reachable in every workflow. It needs a configuration where outside input, for example from a form or webhook, flows through an expression into searchTerm or rowId. A workflow with fixed values is not exposed. The attacker needs only to reach that form or webhook. The reach of the data is whatever the SeaTable credential on the node can read, which can be a whole base.

The CVSS 3.1 vector marks attack complexity high and confidentiality impact high, with no integrity or availability effect.

Who is affected

n8n on npm below 1.123.32, from 2.0.0 below 2.17.4, and 2.18.0 below 2.18.1. Only workflows that use the SeaTable node with row:search or row:get and feed external input into searchTerm or rowId are exposed.

npm ls n8n

Search your workflows for the SeaTable node and read the expressions in those two parameters.

n8n

Ecosystem
npm
Affected
< 1.123.32
Fixed in
1.123.32
Check
npm ls n8n

n8n

Ecosystem
npm
Affected
>= 2.18.0, < 2.18.1
Fixed in
2.18.1
Check
npm ls n8n

n8n

Ecosystem
npm
Affected
>= 2.0.0, < 2.17.4
Fixed in
2.17.4
Check
npm ls n8n

How to fix it

Upgrade to n8n 1.123.32, 2.17.4 or 2.18.1 (or later) for your release line:

npm install -g [email protected]

Temporary steps from the advisory, which do not fully remove the risk:

  • Limit workflow creation and editing to fully trusted users.
  • Disable the node by adding n8n-nodes-base.seaTable to the NODES_EXCLUDE environment variable.
  • Do not pass unvalidated external input into searchTerm or rowId.

How to tell if you were hit

The advisory gives no indicators. Look in execution data for SeaTable node runs where searchTerm or rowId held SQL syntax such as quotes, OR clauses or comment markers. Check SeaTable access logs for queries returning far more rows than normal. Review webhook and form logs for odd input aimed at those workflows.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to sm1ee.

Questions

Is every n8n instance with SeaTable exposed to CVE-2026-42229?

No. A workflow must pass user-controlled input into searchTerm or rowId via expressions. Fixed values are not exposed.

Can the attacker change data?

The advisory describes reading unintended rows. The CVSS 3.1 vector shows confidentiality impact only.

How do I disable the node?

Add n8n-nodes-base.seaTable to the NODES_EXCLUDE environment variable. The advisory calls this a short-term measure only.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More n8n vulnerabilities

All n8n entries