Arbitrary Code Injection Affecting n8n-workflow package, versions <2.31.3>=2.32.0 <2.32.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-N8NWORKFLOW-18323974
  • published27 Jul 2026
  • disclosed22 Jul 2026
  • creditUnknown

Introduced: 22 Jul 2026

New CVE NOT AVAILABLE CWE-94  (opens in a new tab)

How to fix?

Upgrade n8n-workflow to version 2.31.3, 2.32.1 or higher.

Overview

n8n-workflow is a Workflow base code of n8n

Affected versions of this package are vulnerable to Arbitrary Code Injection via crafted expressions using arrow functions in the expression. An attacker can execute arbitrary system commands by bypassing the intended sandbox restrictions.

Note: This is only exploitable if the attacker is an authenticated user with permission to create or modify workflows.

Workaround

This vulnerability can be mitigated by restricting instance access and workflow creation/editing permissions to fully trusted users only.

CVSS Base Scores

version 4.0
version 3.1