CVE-2026-86076n8n: Expression Sandbox Escape in Editor-UI Enables Stored Cross-User JavaScript Execution
Updated under an hour ago ()
Does this affect you?
It affects n8n-io n8n and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 8.7 HIGH (v4.0, CNA)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
- Weakness (CWE)
- CWE-94
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Analyzed
- Record last updated
- Sep 9, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
n8n-io n8n n8n_io:n8n (from the name) | from 2.38.0, < 2.38.2; from 2.0.0, < 2.37.7; before 1.123.76 | CNA record |
n8n n8n n8n:n8n | before 1.123.76; from 2.0.0 before 2.37.7; from 2.38.0 before 2.38.2 | NVD |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-hw8v-xxg5-vvvxx-refsource-confirm, mitigation, vendor-advisory
- https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.76x-refsource-misc, release-notes
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7x-refsource-misc, release-notes
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2x-refsource-misc, release-notes
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.