Critical n8n Security Vulnerability (CVE-2026–21858) Demands Im
A content-type confusion flaw in n8n's file handling lets unauthenticated attackers bypass upload restrictions, read internal files including API keys and tokens, forge admin sessions, and achieve remote code execution. The article states this chain can give complete control over the server.
A severe security vulnerability has been discovered in n8n, the popular workflow automation platform, that poses an urgent threat to organizations worldwide. Identified as CVE-2026–21858, this critical flaw has received the maximum CVSS severity score of 10.0, signaling the highest possible risk level for affected…
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 server trusted the Content-Type header supplied by the client instead of validating the actual file content, leading to content-type confusion.
Impact
An unauthenticated attacker could read internal files, forge admin sessions, and execute arbitrary code, potentially compromising connected systems and stored credentials.
What the attacker needed
No authentication required; network access to n8n instance
The fix
The vulnerability was fixed by upgrading to n8n version 1.121.0 or later.
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.
This is a flaw in how n8n, a workflow automation tool, checks the type of files people upload. By lying about the file type in the request, an attacker can make the system read sensitive files and eventually run their own commands on the server. No login is needed, so anyone who can reach the service could try it.
What is File upload?
An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.