CVE-2026-65591
Received Received - Intake

Legacy Expression Engine Code Execution in n8n

Vulnerability report for CVE-2026-65591, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-22

Last updated on: 2026-07-22

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-22
Last Modified
2026-07-22
Generated
2026-07-22
AI Q&A
2026-07-22
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 6 associated CPEs
Vendor Product Version / Range
n8n n8n to 1.123.64 (exc)
n8n n8n to 2.29.8 (exc)
n8n n8n to 2.30.1 (exc)
n8n n8n 1.123.64
n8n n8n 2.29.8
n8n n8n 2.30.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-917 The product constructs all or part of an expression language (EL) statement in a framework such as a Java Server Page (JSP) using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended EL statement before it is executed.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

n8n has a sanitizer bypass vulnerability in its legacy expression evaluator. An authenticated user with workflow permissions can craft a malicious expression to bypass the sanitizer and execute code on the host system as the n8n process. The legacy expression engine is default in affected versions.

Detection Guidance

Check n8n version with 'n8n --version' or inspect package.json. If running versions before 1.123.64, 2.29.8, or 2.30.1, the system is vulnerable. Review workflows for suspicious expressions or unauthorized modifications.

Impact Analysis

An attacker with workflow permissions could execute arbitrary code on the host system, potentially leading to data breaches, system compromise, or unauthorized access to connected services. The impact includes high confidentiality, integrity, and availability risks for the vulnerable system.

Compliance Impact

This vulnerability could lead to unauthorized data access or exfiltration, violating GDPR's data protection requirements and HIPAA's safeguards for protected health information. Compliance failures may result in legal penalties, fines, or reputational damage.

Mitigation Strategies

Upgrade n8n to versions 1.123.64, 2.29.8, or 2.30.1 immediately. Restrict workflow creation/modification permissions to trusted users only. Temporarily disable the legacy expression engine if possible.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-65591. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart