CVE-2026-86076
published high CVSS 4.0 · 8.7n8n: Expression Sandbox Escape in Editor-UI Enables Stored Cross-User JavaScript Execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n8n-io | — | n8n>= 2.38.0, < 2.38.2 · >= 2.0.0, < 2.37.7 · < 1.123.76 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n8n-io | n8n | >= 2.38.0, < 2.38.2 (affected)>= 2.0.0, < 2.37.7 (affected)< 1.123.76 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
References
4Provider assertions
2GitHub_M · cna
n8n: Expression Sandbox Escape in Editor-UI Enables Stored Cross-User JavaScript Execution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9c04ff1eaadc23e191ac1268ecf02af4cecaa1df971fff74ee8dc20c9b31ec2b
- Ingested
- 23 Sep 2026, 09:37:04 UTC
- Source record
- Official CVE record