
Technical analysis and proof-of-concept for CVE-2026-21858, an authentication bypass and RCE in n8n, demonstrating LFI, session forgery, and full system compromise.
Vulnerability Description This critical vulnerability allows remote, unauthenticated attackers to gain unauthorized access to server files via form-based workflows. This local file inclusion (LFI) exposes sensitive data and provides a foothold for deeper system penetration.
Technical AnalysisThe Root cause of CVE-2026-21858 lies in the mechanism n8n uses to process webhooks and uploaded data. Mechanism of Failure
Exploit Chain Researchers have demonstrated a practical exploit chain leading to full system takeover:
PoC
Target Endpoint: The exploitation typically targets endpoints such as /form/vulnerable-form.

Results: Successful execution demonstrates the ability to read system files like /etc/passwd, confirming the vulnerability.
