Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection') Affecting n8n package, versions <1.123.64>=2.0.0-rc.0 <2.29.8>=2.30.0 <2.30.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.47% (39th percentile)

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 IDSNYK-JS-N8N-18322066
  • published27 Jul 2026
  • disclosed22 Jul 2026
  • creditJunming Wu

Introduced: 22 Jul 2026

NewCVE-2026-65591  (opens in a new tab)
CWE-917  (opens in a new tab)

How to fix?

Upgrade n8n to version 1.123.64, 2.29.8, 2.30.1 or higher.

Overview

n8n is a n8n Workflow Automation Tool

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection') via the legacy expression evaluator's computed-member sanitizer. An attacker can achieve host-level code execution by bypassing input sanitization as an authenticated user with workflow create or modify permissions.

Note: This is only exploitable if the legacy expression engine is enabled as the default engine.

Workaround

This vulnerability can be mitigated by restricting instance access to fully trusted users only or switching to the non-legacy expression engine by setting N8N_EXPRESSION_ENGINE=vm.

References

CVSS Base Scores

version 4.0
version 3.1