High severity · published Sep 8, 2026
CVE-2026-86076
n8n: Expression Sandbox Escape in Editor-UI Enables Stored Cross-User JavaScript Execution
8.8
CVSS
0.8%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 56% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
N8
n8n · n8n-io
>= 2.38.0, < 2.38.2; >= 2.0.0, < 2.37.7; < 1.123.76 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-86076
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-86076
Release Notes
https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.76
Release Notes
https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7
Release Notes
https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2
Mitigation
https://github.com/n8n-io/n8n/security/advisories/GHSA-hw8v-xxg5-vvvx
More from n8n
8.8
CVE-2025-68613
n8n Vulnerable to Remote Code Execution via Expression Injection
10.0
CVE-2026-54309
n8n: n8n MCP Browser HTTP Transport Exposes Unauthenticated Browser-Control Sessions
9.9
CVE-2026-85165
n8n before 2.36.2 Expression Sandbox Bypass via SpreadElement
9.9
CVE-2026-72765
n8n before 2.32.1 Remote Code Execution via Expression Sandbox Escape
9.9
CVE-2026-44791
n8n: XML Node Prototype Pollution Patch Bypass
