CVE-2026-72765: Improper Control of Generation of Code ('Code Injection') in n8n-io n8n
n8n before 2.31.5 and before 2.32.1 contain a sandbox escape vulnerability in expression evaluation. An authenticated user with permission to create or modify workflows can craft expressions using arrow-function bodies to bypass the expression sandbox, triggering system command execution on the host running n8n. The issue is fixed in versions 2.31.5 and 2.32.1.
AI Analysis
Technical Summary
CVE-2026-72765 is a code injection vulnerability in n8n before versions 2.31.5 and 2.32.1. It arises from improper control over code generation during expression evaluation, allowing an authenticated user with permission to create or modify workflows to bypass the expression sandbox using arrow-function bodies. This bypass enables execution of arbitrary system commands on the host running n8n. The vulnerability is addressed in versions 2.31.5 and 2.32.1.
Potential Impact
Successful exploitation allows an authenticated user with workflow creation or modification permissions to execute arbitrary system commands on the host running n8n. This can lead to full system compromise depending on the privileges of the n8n process.
Mitigation Recommendations
Upgrade n8n to version 2.31.5 or later, or 2.32.1 or later, where this vulnerability is fixed. No other mitigation is indicated by the vendor advisory.
CVE-2026-72765: Improper Control of Generation of Code ('Code Injection') in n8n-io n8n
Description
n8n before 2.31.5 and before 2.32.1 contain a sandbox escape vulnerability in expression evaluation. An authenticated user with permission to create or modify workflows can craft expressions using arrow-function bodies to bypass the expression sandbox, triggering system command execution on the host running n8n. The issue is fixed in versions 2.31.5 and 2.32.1.
CVSS v4.0
Score 8.7high
Affected software
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
Technical Analysis
CVE-2026-72765 is a code injection vulnerability in n8n before versions 2.31.5 and 2.32.1. It arises from improper control over code generation during expression evaluation, allowing an authenticated user with permission to create or modify workflows to bypass the expression sandbox using arrow-function bodies. This bypass enables execution of arbitrary system commands on the host running n8n. The vulnerability is addressed in versions 2.31.5 and 2.32.1.
Potential Impact
Successful exploitation allows an authenticated user with workflow creation or modification permissions to execute arbitrary system commands on the host running n8n. This can lead to full system compromise depending on the privileges of the n8n process.
Mitigation Recommendations
Upgrade n8n to version 2.31.5 or later, or 2.32.1 or later, where this vulnerability is fixed. No other mitigation is indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-10T15:06:16.417Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7b1519bf8831d539b28a5d
Added to database: 08/11/2026, 12:27:05 UTC
Last enriched: 08/11/2026, 12:42:29 UTC
Last updated: 08/11/2026, 19:01:21 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.