Home › CVE › JavaScript
CVE-2026-86076 — n8n-io n8n
Summary
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.
Severity breakdown
High · 8.7
An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- yes, a normal user account
- User action needed
- no
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- high on confidentiality, none on integrity and availability
Weakness
- CWE-94: Improper Control of Generation of Code ('Code Injection')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| n8n-io n8n | >= 2.38.0, < 2.38.2, >= 2.0.0, < 2.37.7, < 1.123.76 | — |
References by type
Vendor advisories
Patches and fixed releases
Affected
- n8n-io n8n
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-86076?
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. Weakness type: Improper Control of Generation of Code ('Code Injection') (CWE-94).
How severe is CVE-2026-86076?
CVE-2026-86076 has a CVSS 4.0 base score of 8.7 (high), from the CNA (github.com). An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-86076 being exploited?
Not as far as is known: CVE-2026-86076 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.8% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-86076?
n8n-io n8n >= 2.38.0, < 2.38.2, >= 2.0.0, < 2.37.7, < 1.123.76.
How do I fix CVE-2026-86076?
Apply the update or mitigation in the vendor's advisory, linked on this page under Vendor advisories.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-135203 — Eclipse Foundation Eclipse Ditto
- AI Engine – MCP Server & AI Chatbot for WordPress Vulnerable to Limited Arbitrary File Upload
- Joomla Extension ChronoForms Suffers Unauthenticated Stored XSS
- CVE-2026-137090 — emanuelmoraes-dev build-git-clone
- EverOS Cross-Origin Local File Disclosure Vulnerability