GHSA-pm35-fqvh-cq5g: n8n: Legacy Expression Evaluator Sanitizer Bypass Leads to Authenticated Code Execution
- Identifiers
- CVE-2026-65591GHSA-pm35-fqvh-cq5g
- Published
- Record updated
- Affected
- n8n < 1.123.64, fixed in 1.123.64, released July 8, 2026, 14 days before disclosure
- n8n >= 2.30.0, < 2.30.1, fixed in 2.30.1, released July 8, 2026, 14 days before disclosure
- n8n >= 2.0.0-rc.0, < 2.29.8, fixed in 2.29.8, released July 8, 2026, 14 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.6%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
The legacy expression evaluator in n8n contains a sanitizer bypass in its computed-member handling. An authenticated user with workflow create or modify permissions can exploit it to gain host-level code execution as the n8n process. The legacy engine is the default in affected versions.
Mitigation
Fixed in n8n versions 1.123.64, 2.29.8, and 2.30.1; upgrade to one of these or later. If upgrading is not immediately possible, restrict instance access to fully trusted users only, or switch to the non-legacy engine by setting N8N_EXPRESSION_ENGINE=vm. The source states these workarounds do not fully remediate the risk and are short-term measures only.
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-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
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online