Description
n8n contains a sanitizer bypass vulnerability in the legacy expression evaluator's computed-member handler. An authenticated user with workflow create or modify permissions can craft a malicious expression to bypass the sanitizer and achieve host-level code execution as the n8n process. The legacy expression engine is the default in affected versions. Fixed in n8n 1.123.64, 2.29.8, and 2.30.1.
Published: 2026-07-22
Score: 8.9 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a sanitizer bypass in the legacy expression evaluator's computed‑member handler within n8n. An attacker who is authenticated and possesses workflow create or modify permissions can inject a crafted expression that bypasses the sanitizer and is evaluated as code. This results in host‑level code execution as the user under which the n8n process runs, giving the attacker complete control. The weakness is classified as CWE‑917.

Affected Systems

All n8n releases prior to 1.123.64, 2.29.8, and 2.30.1 are vulnerable. The legacy expression engine is the default in these versions. Deployments of n8n running on a server where users have the ability to create or edit workflows are susceptible.

Risk and Exploitability

The CVSS score of 8.9 indicates a high‑severity impact. The EPSS score of < 1% suggests a low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. An attacker must be an authenticated user with workflow create or modify permissions; based on the required permissions, it is inferred that an attacker would likely be an insider or a compromised account. Exploitation would therefore require privileged access within the environment.

Generated by OpenCVE AI on August 4, 2026 at 00:00 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade n8n to 1.123.64 or newer 2.29.8 or 2.30.1 where the sanitizer bypass is fixed.
  • For systems unable to upgrade immediately, disable the legacy expression engine or restrict the expression evaluator.
  • Re‑evaluate workflow permissions and limit create/modify rights to trusted users only.

Generated by OpenCVE AI on August 4, 2026 at 00:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-pm35-fqvh-cq5g n8n: Legacy Expression Evaluator Sanitizer Bypass Leads to Authenticated Code Execution
History

Wed, 22 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 22 Jul 2026 11:45:00 +0000

Type Values Removed Values Added
Description n8n contains a sanitizer bypass vulnerability in the legacy expression evaluator's computed-member handler. An authenticated user with workflow create or modify permissions can craft a malicious expression to bypass the sanitizer and achieve host-level code execution as the n8n process. The legacy expression engine is the default in affected versions. Fixed in n8n 1.123.64, 2.29.8, and 2.30.1.
Title n8n before 1.123.64 Sanitizer Bypass Remote Code Execution
First Time appeared N8n
N8n n8n
Weaknesses CWE-917
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV4_0

{'score': 8.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-22T15:51:37.174Z

Reserved: 2026-07-22T10:45:44.832Z

Link: CVE-2026-65591

cve-icon Vulnrichment

Updated: 2026-07-22T15:51:30.656Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-22T12:18:19.117

Modified: 2026-07-27T19:11:06.293

Link: CVE-2026-65591

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T00:15:04Z

Weaknesses
  • CWE-917

    Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')