Sandbox escape in n8n workflow expressions allows code execution
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
n8n before 1.123.89, from 2.0.0 before 2.45.5, from 2.46.0 before 2.46.1 and from 3.0.0 before 3.0.1 contains an insufficient isolation flaw in workflow expression evaluation (CWE-94). An authenticated user with permission to create or modify workflows can craft expressions that reference unexpected JavaScript properties to escape the sandbox and run arbitrary code on the n8n host.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Description from the CNA
n8n before 1.123.89 contains an insufficient isolation vulnerability in workflow expression evaluation that allows authenticated users to escape the sandbox. Attackers with permission to create or modify workflows can craft expressions referencing unexpected JavaScript properties to execute arbitrary code on the n8n host.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| n8n | n8n | before 1.123.89 | 1.123.89 | Patch available | CNA |
| n8n | n8n | 2.46.0 to before 2.46.1 | 2.46.1 | Patch available | CNA |
| n8n | n8n | 2.0.0 to before 2.45.5 | 2.45.5 | Patch available | CNA |
| n8n | n8n | 3.0.0 to before 3.0.1 | 3.0.1 | Patch available | CNA |
- n8n Vendorn8n Affected before 1.123.89 Fixed in 1.123.89 Patch available CNA
- n8n Vendorn8n Affected 2.46.0 to before 2.46.1 Fixed in 2.46.1 Patch available CNA
- n8n Vendorn8n Affected 2.0.0 to before 2.45.5 Fixed in 2.45.5 Patch available CNA
- n8n Vendorn8n Affected 3.0.0 to before 3.0.1 Fixed in 3.0.1 Patch available CNA
Remediation
Upgrade n8n to 1.123.89, 2.45.5, 2.46.1 or 3.0.1, depending on the release line in use.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
- Fix · CNA n8n (n8n-io) Fixed in 1.123.89
- Fix · CNA n8n (n8n-io) Fixed in 2.46.1
- Fix · CNA n8n (n8n-io) Fixed in 2.45.5
- Fix · CNA n8n (n8n-io) Fixed in 3.0.1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
n8n-io n8n 3.0.1
11 records Highest priority Priority LOW 11 LOW
Other records, highest priority first
- TI-2026-91277 Bundled GraphicsMagick in n8n allows code execution via Edit Image nodePriority LOW 36
- TI-2026-91282 Authentication bypass in n8n Chat Trigger embedded chatPriority LOW 28
- TI-2026-91281 Credential leak via cross-origin redirects in n8n nodesPriority LOW 28
- Release ·
n8n-io n8n 2.45.5, 2.46.1
9 records Highest priority Priority LOW 9 LOW
Other records, highest priority first
- TI-2026-91277 Bundled GraphicsMagick in n8n allows code execution via Edit Image nodePriority LOW 36
- TI-2026-91282 Authentication bypass in n8n Chat Trigger embedded chatPriority LOW 28
- TI-2026-91281 Credential leak via cross-origin redirects in n8n nodesPriority LOW 28
Show 1 more group
- Release ·
n8n-io n8n 1.123.89
6 records Highest priority Priority LOW 6 LOW
Other records, highest priority first
- TI-2026-91277 Bundled GraphicsMagick in n8n allows code execution via Edit Image nodePriority LOW 36
- TI-2026-91282 Authentication bypass in n8n Chat Trigger embedded chatPriority LOW 28
- TI-2026-91283 Insufficiently protected credentials in n8n NocoDB node leak API tokenPriority LOW 27
Timeline
- 2026-11-13 Threatist record created from CVE-2026-126391
- 2026-11-13 Alias added: GHSA-gpgp-vq3x-97rh
- 2026-11-13 CISA SSVC decision points changed
References
More n8n vulnerabilities
- TI-2025-42131 Remote code execution in n8n via workflow expression evaluation KEVCVSS 3.1CRITICAL 10.0
- TI-2026-17560 n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling CVSS 3.1CRITICAL 10.0
- TI-2026-01167 Authenticated users can bypass the Expression sandbox mechanism to achieve full remote… CVSS 3.1CRITICAL 9.9
- TI-2026-00644 Sandbox escape in n8n Python task runner allows for arbitrary code execution on the underlying host. CVSS 3.1CRITICAL 9.9
- TI-2026-82991 Code execution in n8n via deprecated Function nodes CVSS 4.0HIGH 8.7
- TI-2025-35293 An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3… CVSS 3.1HIGH 8.8
Sources
- CVE-2026-126391 · CVE Program
- CVE-2026-126391 · NVD
- FIRST EPSS
- GHSA-gpgp-vq3x-97rh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences