Skip to content
HighVulnerability

GHSA-pm35-fqvh-cq5g: n8n: Legacy Expression Evaluator Sanitizer Bypass Leads to Authenticated Code Execution

Published
Record updated
View JSON
Affected
  • n8n < 1.123.64, fixed in 1.123.64, released July 8, 2026, 14 days before disclosure
  • n8n >= 2.30.0, < 2.30.1, fixed in 2.30.1, released July 8, 2026, 14 days before disclosure
  • n8n >= 2.0.0-rc.0, < 2.29.8, fixed in 2.29.8, released July 8, 2026, 14 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.6%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

The legacy expression evaluator in n8n contains a sanitizer bypass in its computed-member handling. An authenticated user with workflow create or modify permissions can exploit it to gain host-level code execution as the n8n process. The legacy engine is the default in affected versions.

Mitigation

Fixed in n8n versions 1.123.64, 2.29.8, and 2.30.1; upgrade to one of these or later. If upgrading is not immediately possible, restrict instance access to fully trusted users only, or switch to the non-legacy engine by setting N8N_EXPRESSION_ENGINE=vm. The source states these workarounds do not fully remediate the risk and are short-term measures only.