GHSA-6xcw-7xm6-48c6: n8n: Expression Sandbox Escape via Shared Builtin Tampering and Code-Printer Injection Leads to Code Execution
- Identifiers
- CVE-2026-86083GHSA-6xcw-7xm6-48c6
- Published
- Record updated
- Affected
- n8n >= 2.0.0, < 2.37.7, fixed in 2.37.7, released September 2, 2026, 8 days before disclosure
- n8n >= 2.38.0, < 2.38.2, fixed in 2.38.2, released September 2, 2026, 8 days before disclosure
- n8n < 1.123.76, fixed in 1.123.76, released September 2, 2026, 8 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.7%
Summary
Two code-generation stages in n8n's legacy expression engine called the global JSON.stringify at generation time. An expression that replaced that global could change the source that was generated and then executed, turning literal data into executable code. The vm expression engine, the default on patched releases, is not affected.
Mitigation
Fixed in n8n 1.123.76, 2.37.7, and 2.38.2. If upgrading is not immediately possible, set N8N_EXPRESSION_ENGINE=vm, restrict instance access to fully trusted users, and run the n8n process under a dedicated low-privilege OS user account. 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.
- n8nnpmDeclares an LLM dependency
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database
- InfoWhen trust becomes the payload: Inside the threats, etc quarterly reportSimilar attack · Elastic Security Labs
- MediumCritical Langflow flaws enable authentication bypass and RCESimilar attack · CSO Online