CVE-2026-86076CWE-94code-injection

CVE-2026-86076

High · published September 9, 2026

CVSS v3.1
8.8
EPSS
1%
Percentile
55.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
8.7 · CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:N/SA:N
EPSS
0.00793 · 55.9th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-09-09T02:19Z
Affected products (3)
ProductVersionsFixed in
n8n/n8n< 1.123.761.123.76
n8n/n8n≥ 2.0.0, < 2.37.72.37.7
n8n/n8n≥ 2.38.0, < 2.38.22.38.2
References (4)
EPSS history
Timeline
  • 10 SEP 03:18Z
    EPSS moved — → 0%
    epss
  • 08 SEP 21:28Z
    n8n: Expression Sandbox Escape in Editor-UI Enables Stored Cross-User JavaScript Execution
    cvelistv5