N8n-io n8n
n8n: Expression Sandbox Escape in Editor-UI Enables Stored Cross-User JavaScript Execution
n8n is an open source workflow automation platform. Prior to 1.123.76, 2.37.7, and 2.38.2, the expression compiler sanitizer resolved through dynamically scoped this and did not reject reserved class member names. A class field named __sanitize could rebind the sanitizer and reach the Function constructor, enabling backend code execution and editor-preview JavaScript execution. The affected AST hook is PrototypeSanitizer in packages/workflow/src/expression-sandboxing.ts. This issue is fixed in versions 1.123.76, 2.37.7 and 2.38.2.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.38.0, < 2.38.2
- >= 2.0.0, < 2.37.7
- < 1.123.76
Fixed in 2.38.2, 2.37.7, 1.123.76
Mitigation
Upgrade n8n to 2.38.2 or 2.37.7 or 1.123.76 or later.
References
- Vendor advisory github.com/n8n-io/n8n/security/advisories/GHSA…
- Release notes github.com/n8n-io/n8n/releases/tag/n8n@1.123.7…
- Release notes github.com/n8n-io/n8n/releases/tag/n8n@2.37.7
1 more
- Release notes github.com/n8n-io/n8n/releases/tag/n8n@2.38.2
Timeline
Days relative to CVE publicationFirst public PoC 46 days after publication; not in CISA KEV. First PoC: Boreas37/CVE-2026-86076-PoC (created 24 Oct 2026, found by us: 14 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| Boreas37/CVE-2026-86076-PoC | 24 Oct 2026 +46 d | 14 Nov 2026 | 1 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.