CVE-2026-65591: n8n: Legacy Expression Evaluator Sanitizer Bypass Leads to Authenticated Code Execution
The legacy expression evaluator’s computed-member sanitizer can be bypassed by an authenticated user with workflow create or modify permissions. Successful exploitation grants the attacker host-level code execution as the n8n process.
The legacy expression engine is the default engine in affected versions.
References
- github.com/advisories/GHSA-pm35-fqvh-cq5g
- github.com/n8n-io/n8n/releases/tag/n8n@1.123.64
- github.com/n8n-io/n8n/releases/tag/n8n@2.29.8
- github.com/n8n-io/n8n/releases/tag/n8n@2.30.1
- github.com/n8n-io/n8n/security/advisories/GHSA-pm35-fqvh-cq5g
- nvd.nist.gov/vuln/detail/CVE-2026-65591
- www.vulncheck.com/advisories/n8n-before-sanitizer-bypass-remote-code-execution
Code Behaviors & Features
Detect and mitigate CVE-2026-65591 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →