RCE in N8n

CVE-2026-65591

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.

Vulnerability class: Log4Shell (CVE-2021-44228)

EPSS: 0.005 (39.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • N8n — versions 2.30.0
  • N8n-io N8n — versions 0, 1.123.64, 2.30.1

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2026-65591?
CVE-2026-65591 is a high-severity vulnerability in N8n, classified under Improper Neutralization of Special Elements used in an Expression Language Statement (Expression Language Injection). CVSS score: 8.8/10. Published 2026-07-22.
How severe is CVE-2026-65591?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2026-65591 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.