PT-2026-88507
CVE-2026-86076
·
Published
2026-09-08
·
Updated
2026-10-27
Description by
CVSS 3.1
8.8
HighMetricsAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
n8n versions prior to 1.123.76
n8n versions prior to 2.37.7
n8n versions prior to 2.38.2
Description
The expression compiler sanitizer in the n8n workflow automation platform resolves through a dynamically scoped
this and fails to reject reserved class member names. By defining a class field named sanitize, an attacker can rebind the sanitizer to reach the Function constructor. This allows for backend code execution within the n8n process and JavaScript execution in the editor preview session of any user who opens the affected workflow. The issue is located in the PrototypeSanitizer AST hook within packages/workflow/src/expression-sandboxing.ts.Recommendations
Update to version 1.123.76 or later.
Update to version 2.37.7 or later.
Update to version 2.38.2 or later.
Set
N8N EXPRESSION ENGINE=vm as a temporary mitigation.
Restrict instance access to fully trusted users and limit workflow creation or editing permissions for untrusted users.
Audit existing workflows for unfamiliar expressions in node parameters. Found an issue in the description? Have something to add? Feel free to write us 👾