Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-86076: CWE-94: Improper Control of Generation of Code ('Code Injection') in n8n-io n8n

0
High
VulnerabilityCVE-2026-86076cvecve-2026-86076cwe-94
Published: 09/08/2026 (09/08/2026, 21:28:52 UTC)
Source: CVE Database V5
Vendor/Project: n8n-io
Product: n8n

Description

CVE-2026-86076 is a high-severity code injection vulnerability in the n8n workflow automation platform. Before versions 1.123.76, 2.37.7, and 2.38.2, the expression compiler sanitizer could be bypassed by rebinding the sanitizer through a class field named __sanitize. This allowed attackers to reach the Function constructor, enabling backend code execution and JavaScript execution in the editor preview. The vulnerability is fixed in the specified versions.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
High
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
n8n-io/n8n
pkg:github/n8n-io/n8n
Affected versions
<1.123.76<2.37.7<2.38.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/09/2026, 11:08:53 UTC

Technical Analysis

The vulnerability in n8n involves the expression compiler sanitizer that resolves through a dynamically scoped this and does not reject reserved class member names. Specifically, a class field named __sanitize can rebind the sanitizer and access the Function constructor, allowing an attacker to execute arbitrary code on the backend and within the editor preview. The affected code is in the PrototypeSanitizer AST hook located in packages/workflow/src/expression-sandboxing.ts. The issue is addressed in versions 1.123.76, 2.37.7, and 2.38.2.

Potential Impact

Successful exploitation allows an attacker with limited privileges to execute arbitrary backend code and JavaScript in the editor preview, potentially leading to full compromise of the affected system. The CVSS 4.0 score of 8.7 reflects high impact with network attack vector, low attack complexity, and partial privileges required.

Mitigation Recommendations

This vulnerability is fixed in n8n versions 1.123.76, 2.37.7, and 2.38.2. Users should upgrade to these or later versions to remediate the issue. No vendor advisory is provided to indicate alternative mitigations or temporary fixes. Patch status is not explicitly confirmed beyond the fixed versions; users should verify with official n8n release notes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-09-04T19:34:03.100Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6aa13d69acd9273b49346641

Added to database: 09/09/2026, 11:05:13 UTC

Last enriched: 09/09/2026, 11:08:53 UTC

Last updated: 09/09/2026, 11:12:18 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses