Skip to main content
EPSS 0.6%top 55%

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

0
High
Published: 08/20/2026 (08/20/2026, 12:31:25 UTC)
Source: CVE Database V5
Vendor/Project: n8n-io
Product: n8n

Description

CVE-2026-77077 is a high-severity vulnerability in n8n before versions 1.123.69, 2.33.4, and 2.34.1. It involves a JavaScript task runner VM sandbox escape due to incomplete prototype freezing, allowing authenticated users with Code node access to execute arbitrary commands within the runner container. The vulnerability enables prototype pollution that persists across tenants sharing the same runner. On older v1.x instances without task runners, the impact could be more severe as code runs in the main process.

CVSS v4.0

Score 7.2high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N

Affected software

n8n-io

n8n

Affected versions
>=0 <1.123.69

n8n-io

n8n

Affected versions
>=2.34.0 <2.34.1

n8n-io

n8n

Affected versions
>=2.0.0 <2.33.4
GitHub Actionsmore threats →ai
n8n-io/n8n
pkg:github/n8n-io/n8n
Affected versions
<1.123.69<2.33.4<2.34.1

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/11/2026, 01:47:13 UTC

Technical Analysis

This vulnerability arises from the n8n JavaScript task runner's prototype-freezing routine, which protects globalThis functions but not internal module constructors like EventEmitter. An authenticated user with access to the Code node can exploit prototype pollution to execute arbitrary commands inside the runner container. The polluted prototype is process-wide, causing the corruption to persist across executions by other tenants on the same shared runner. In v1.x instances without task runners, the Code node executes JavaScript directly in the main n8n process, increasing potential impact.

Potential Impact

An authenticated user with Code node access can achieve arbitrary command execution within the runner container. Because the prototype pollution affects a process-wide object, it can impact multiple tenants sharing the same runner, leading to cross-tenant code execution. On older v1.x instances without task runners, the vulnerability could allow code execution in the main n8n process, potentially increasing the severity of impact.

Mitigation Recommendations

No explicit patch or remediation details are provided in the input data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is applied, restrict Code node access to trusted users only to mitigate exploitation risk.

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
VulnCheck
Date Reserved
2026-08-20T10:51:39.784Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a86e706acd9273b498befb8

Added to database: 08/20/2026, 11:37:42 UTC

Last enriched: 09/11/2026, 01:47:13 UTC

Last updated: 10/05/2026, 06:48:18 UTC

Views: 61

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