CVE-2026-86076
Published:September 08, 2026
Updated:September 22, 2026
n8n is an open source workflow automation platform. Prior to 1.123.76, 2.37.7, and 2.38.2, the expression compiler sanitizer resolved through dynamically scoped this and did not reject reserved class member names. A class field named __sanitize could rebind the sanitizer and reach the Function constructor, enabling backend code execution and editor-preview JavaScript execution. The affected AST hook is PrototypeSanitizer in packages/workflow/src/expression-sandboxing.ts. This issue is fixed in versions 1.123.76, 2.37.7 and 2.38.2.
Affected Packages
https://github.com/n8n-io/n8n.git (GITHUB):
Affected version(s) >=n8n@0.2.0 <n8n@1.123.76Fix Suggestion:
Update to version n8n@1.123.76https://github.com/n8n-io/n8n.git (GITHUB):
Affected version(s) >=n8n@2.38.0 <n8n@2.38.2Fix Suggestion:
Update to version n8n@2.38.2https://github.com/n8n-io/n8n.git (GITHUB):
Affected version(s) >=n8n@2.0.0-rc.0 <n8n@2.37.7Fix Suggestion:
Update to version n8n@2.37.7n8n (NPM):
Affected version(s) >=2.0.0-rc.0 <2.37.7Fix Suggestion:
Update to version 2.37.7n8n (NPM):
Affected version(s) >=0.0.1 <1.123.76Fix Suggestion:
Update to version 1.123.76n8n (NPM):
Affected version(s) >=2.38.0 <2.38.2Fix Suggestion:
Update to version 2.38.2n8n (NPM):
Affected version(s) >=2.0.0 <2.37.7Fix Suggestion:
Update to version 2.37.7Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.9
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
EPSS
Base Score:
0.43