AgentbeamBeta
AI agent vulnerability · n8n

CVE-2026-33696: n8n: Prototype Pollution in XML and GSuiteAdmin node parameters lead to RCE

criticalCVSS 4.0 9.4 · 3.1 9.9GHSA-mxrg-77hm-89hv

n8n has a prototype pollution flaw in node parameter handling, reached through the GSuiteAdmin node and the XML node. A user who can create or edit workflows can write attacker-chosen values onto `Object.prototype` and gain remote code execution on the n8n host. Fixed in 2.14.1, 2.13.3 and 1.123.27.

Published Mar 26, 2026 · Analysis Nov 21, 2026

What an attacker can do

A crafted parameter in a GSuiteAdmin node's configuration lets an attacker write their own values onto Object.prototype in the n8n process (CWE-1321). Because every JavaScript object inherits from it, the polluted properties change how later code behaves, and the advisory says this can be turned into remote code execution on the instance. The advisory does not name the parameter or the exploit chain.

The attacker needs a logged-in account with permission to create or modify workflows. No victim interaction is needed. Code runs as the n8n process, so it exposes every credential stored in n8n (API keys, OAuth tokens, database passwords), the workflow data, and whatever the host can reach on the network. The scope is changed in the CVSS 3.1 vector (S:C, score 9.9), because the host and connected systems fall outside the app itself.

On shared instances where many staff can edit workflows, any one such account is enough.

Who is affected

Three ranges: exactly 2.14.0, >= 2.0.0-rc.0, < 2.13.3, and < 1.123.27. Instances where only fully trusted people can edit workflows face lower practical risk.

Check your version:

npm ls n8n

For Docker, read the image tag, or see Help, About n8n in the UI.

n8n

Ecosystem
npm
Affected
= 2.14.0
Fixed in
2.14.1
Check
npm ls n8n

n8n

Ecosystem
npm
Affected
>= 2.0.0-rc.0, < 2.13.3
Fixed in
2.13.3
Check
npm ls n8n

n8n

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

How to fix it

Upgrade to 2.14.1, 2.13.3 or 1.123.27, or any later release on your line.

npm install [email protected]

Temporary mitigations, which the advisory says do not fully remediate the risk: limit workflow creation and editing to fully trusted users, and add n8n-nodes-base.xml to the NODES_EXCLUDE environment variable to disable the XML node. The advisory does not explain why the XML node matters for a GSuiteAdmin flaw.

How to tell if you were hit

Review recently created or changed workflows that use the GSuiteAdmin or XML nodes, and check who edited them. On the host, look for unexpected child processes of the n8n process, new files outside the data directory, and outbound connections you do not recognise. If you suspect abuse, rotate every credential stored in n8n. The advisory names no log line.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Impact

An authenticated user with permission to create or modify workflows could exploit a prototype pollution vulnerability in the GSuiteAdmin node. By supplying a crafted parameter as part of node configuration, an attacker could write attacker-controlled values onto Object.prototype. An attacker could use this prototype pollution to achieve remote code execution on the n8n instance.

Patches

The issue has been fixed in n8n versions 2.14.1, 2.13.3, and 1.123.27. 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 XML node by adding n8n-nodes-base.xml to the NODES_EXCLUDE environment variable.

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

Credited to simonkoeck.

Questions

Is CVE-2026-33696 exploitable without an account?

No. The attacker needs authenticated access with permission to create or modify workflows. The CVSS vector shows low privileges, no user interaction.

Which n8n versions are patched?

2.14.1, 2.13.3 and 1.123.27, depending on your release line. Anything lower in each line is affected.

Does disabling the XML node remove the risk?

No. The advisory lists it as a short-term measure that does not fully remediate the risk. Upgrade.

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