CriticalVulnerability
GHSA-v364-rw7m-3263: n8n Vulnerable to RCE via Arbitrary File Write
- Identifiers
- CVE-2026-21877GHSA-v364-rw7m-3263
- Published
- Record updated
- Affected
- n8n >= 0.123.0, < 1.121.3
- Fixed in
- 1.121.3
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 6.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
An authenticated user can cause untrusted code to run inside the n8n service, which can fully compromise the affected instance. Both self-hosted and n8n Cloud instances are impacted.
Mitigation
The issue has been resolved in n8n version 1.121.3. Users are advised to upgrade to this version or later. If upgrading is not immediately possible, administrators can reduce exposure by disabling the Git node and limiting access for untrusted users.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- n8nnpmLLM dependency since 2026-02-11
Related items
- MediumCVE-2026-143864: InfiniFlow RAGFlow template injection in Canvas StringTransform HandlerSimilar attack, NVD/CVE Database
- MediumCVE-2026-85259: Gemini CLI Triage Flaw Lets Issue Authors Run Code in GitHub ActionsSimilar attack, StepSecurity Blog
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database