Skip to content
Prototype pollution Write-up Advanced

Critical n8n Vulnerability CVE-2026–33696: Prototype Pollution

A prototype pollution flaw in the XML and GSuiteAdmin nodes of n8n allows an authenticated user who can create or edit workflows to inject dangerous keys into object prototypes. This pollution can be chained into remote code execution on the server.

Lakshan Sameera Follow

Published on medium.com

n8n, the popular open-source workflow automation tool, just got hit with another critical security issue. This time, it’s CVE-2026–33696a prototype pollution vulnerability in two specific nodes that can let an authenticated user achieve Remote Code Execution (RCE) on the server.

Lakshan Sameera, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The nodes merge user-supplied configuration parameters without blocking dangerous keys such as __proto__ or constructor.prototype, allowing pollution of Object.prototype.

Impact

An authenticated workflow editor could achieve remote code execution on the n8n server, and the pollution persists until the process restarts; no public proof of concept exists yet.

What the attacker needed

Authenticated user; permission to create or edit workflows

The fix

Upgrade to version 2.14.1, 2.13.3, or 1.123.27 (or newer); if unable, restrict workflow editing to trusted users and disable the XML node via the NODES_EXCLUDE environment variable, though the GSuiteAdmin node may remain exposed.

How it was found

  1. Create or edit a workflow and add the XML node or GSuiteAdmin node.
  2. Fill in the node's parameters with a crafted payload that includes prototype keys.
  3. Save or run the workflow so n8n merges the parameters unsafely.
  4. The pollution affects the whole Node.js process and can be chained to execute arbitrary code.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Prototype pollution is a JavaScript bug where an attacker sneaks special property names into data that gets merged into objects, changing how every object in the program behaves. In n8n, a user who can build workflows could abuse this to run their own commands on the server, not just mess with the workflow.

What is Prototype pollution?

Input changes JavaScript's shared object prototype, altering behaviour across the application, sometimes to XSS or code execution.

More by Lakshan Sameera

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Prototype pollution

The lesson behind this report.

Input changes JavaScript's shared object prototype, altering behaviour across the application, sometimes to XSS or code execution.