Skip to content
RCE Write-up Advanced

Twin CVSS 10.0 bugs turn n8n workflows into an attacker’s playg

Two maximum-severity flaws in n8n allow an unauthenticated attacker to read configuration files and secrets, and an authenticated attacker to achieve remote code execution through malicious uploads. Together they could let an attacker take over the automation server and reach connected services.

Sudarshan Follow

Published on medium.com

Enterprises relying on n8n for mission-critical automation now face a nightmare scenario: two max-severity vulnerabilities that could let attackers silently hijack workflows, siphon enterprise secrets, and burrow deep into corporate networks with devastating speed.

Sudarshan, 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

Likely the application exposes internal configuration and file-upload functionality without sufficient access checks, allowing secrets to be read and uploaded files to be executed.

Impact

An attacker could harvest API keys, database credentials and tokens, then escalate to running arbitrary commands on the host, potentially reaching connected CRM, cloud and internal systems.

What the attacker needed

Internet-exposed n8n instance; for RCE, an authenticated account

The fix

The flaws were fixed in versions 1.121.0 and 1.121.3, and users should upgrade to at least 1.121.3.

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.

n8n is a tool that connects apps and automates tasks, and it often stores passwords and keys for those apps. The first bug lets someone who is not logged in read those stored secrets and configuration, and the second lets a logged-in user upload a file that the server then runs as code. If either happens, an attacker can control the automation server and possibly the services it talks to.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.