Agent Incident RegistryAIR
v1 · updated 19 Oct 2026
Disclosed vulnerability

Ni8mare and N8scape: Rapid7 discloses a CVSS 10.0 arbitrary file read and a Pyodide sandbox bypass in n8n

AIR-2026-0004 AIR record · 2026-01-n8n-ni8mare-n8scape-cluster
From the supporting source
Certain form-based workflows are vulnerable to improper file handling that can result in arbitrary file read.rapid7.com
The record
Disclosed
2026-01-07
Vendor
n8n GmbH
Product
n8n
Risk domain
Access control and permissions › Privilege escalation
System type
Generative model
Who acted
AI was the target — CVSS 10.0 arbitrary file read and Pyodide sandbox bypass in n8n
Attack surface
Agent framework
Autonomy level
Semi-autonomous
Initial vector
Crafted form upload and python code node
Impact type
Arbitrary file read, Privilege escalation, Remote code execution, Sandbox escape
Confidence
High
Submitted by
EAI Internal
Crosswalk
OWASP Agentic Top 10 (2026)
ASI03 – Identity and Privilege Abuse
MITRE ATLAS
AML.T0055 – Unsecured Credentials
NIST AI RMF
GOVERN 6.1
EU AI Act
Article 13
ISO/IEC
TR 24028; 42001; 23894
AIUC-1
B. Security
Scope
tool misuse
Mitigation
Apply least-privilege principle; Regular policy audits.
Taxonomy
Enkrypt AI agent risk taxonomy · Black-Box Red Teaming of Agentic AI: A Taxonomy-Driven Framework for Automated Risk Discovery
Blast radius
n8n 1.65.0 to < 1.121.0 (Ni8mare); the platform had 100,000+ internet-exposed instances counted by Censys in the same window
Capability abused
form_trigger_file_uploadpython_code_node_execution
Defense & remediation
Recorded defense
Pyodide-based Python code node sandbox; content-type validation on form uploads
Guardrail kinds
Sandbox isolation
Guardrail outcome
Silent
Fix shipped
n8n 1.121.0 (CVE-2026-21858), 1.121.3 (CVE-2026-21877), 2.0.0 (CVE-2025-68668, CVE-2025-68697)
Taxonomy & references
OWASP ASI05 Unexpected Code Execution (RCE)OWASP ASI03 Identity and Privilege AbuseCVE-2026-21858CVE-2026-21877CVE-2025-68668CVE-2025-68697arbitrary_file_readprototype_pollution_style_object_overwritesandbox_escapepyodideadmin_takeover
Curator notes
Rapid7 disclosure. CVE-2026-21858 'Ni8mare' CVSS 10.0 (arbitrary file read escalating to n8n administrator access), CVE-2026-21877 CVSS 9.9 (authenticated untrusted code execution), CVE-2025-68668 'N8scape' CVSS 9.9 (sandbox bypass in the Pyodide Python Code node), CVE-2025-68697 CVSS 5.4 (internal helper functions reachable from the Code node). Grouped as one Rapid7 disclosure cluster. Separate from CVE-2025-68613, which is its own record because it was independently exploited and reached CISA KEV. Rapid7's table lists CVE-2025-68613 fixed in 1.20.4 where n8n's own advisory says 1.120.4 - the n8n advisory is authoritative.
Cite as
Enkrypt AI. "Ni8mare and N8scape: Rapid7 discloses a CVSS 10.0 arbitrary file read and a Pyodide sandbox bypass in n8n". AIR, AIR-2026-0004. https://agentincident.vercel.app/i/AIR-2026-0004/ (accessed 2026-10-19).