Goal Reached Thanks to every supporter β€” we hit 100%!

Goal: 1000 CNY Β· Raised: 1000 CNY

100.0%

CVE-2026-21877 β€” AI Deep Analysis Summary

CVSS 10.0 Β· Critical

Q1What is this vulnerability? (Essence + Consequences)

🚨 **Essence**: n8n (workflow automation tool) has a critical code injection flaw. πŸ“‰ **Consequences**: Attackers can execute malicious code, leading to **full system compromise** (RCE).

Q2Root Cause? (CWE/Flaw)

πŸ›‘οΈ **Root Cause**: **CWE-94** (Code Injection). The flaw allows authenticated users to inject and execute arbitrary code via the Git node.

Q3Who is affected? (Versions/Components)

πŸ“¦ **Affected**: **n8n** by n8n-io. Versions **0.121.2 and earlier** are vulnerable. Both self-hosted and Cloud instances are at risk.

Q4What can hackers do? (Privileges/Data)

πŸ’€ **Attacker Capabilities**: With **Low Privileges** (authenticated user), hackers can overwrite critical files and execute untrusted code. Result: **High Impact** on Confidentiality, Integrity, and Availability.

Q5Is exploitation threshold high? (Auth/Config)

πŸ”“ **Threshold**: **Medium**. Requires **Authentication** (PR:L). No UI interaction needed (UI:N). Network accessible (AV:N).

Q6Is there a public Exp? (PoC/Wild Exploitation)

πŸ’£ **Public Exp**: **Yes**. PoCs exist on GitHub (e.g., Ashwesker, ProjectDiscovery Nuclei templates). Wild exploitation is possible.

Q7How to self-check? (Features/Scanning)

πŸ” **Self-Check**: Scan for n8n versions < 0.121.3. Use Nuclei templates (`CVE-2026-21877.yaml`) to detect the Git node vulnerability.

Q8Is it fixed officially? (Patch/Mitigation)

🩹 **Fix**: **Yes**. Patched in version **1.121.3** (and >= 0.123.0 per some reports, but advisory confirms fix). Check GitHub Security Advisories (GHSA-v364-rw7m-3263).

Q9What if no patch? (Workaround)

🚧 **No Patch?**: **Isolate** the instance. Restrict network access to authenticated users only. Disable the **Git node** if possible. Monitor logs for file write anomalies.

Q10Is it urgent? (Priority Suggestion)

⚑ **Urgency**: **CRITICAL**. CVSS Score is **High** (9.8+ implied by H/H/H). Immediate patching to v1.121.3+ is mandatory for all n8n deployments.