Skip to main content
← All vulnerabilities
CVE-2026-86076GHSA-HW8V-XXG5-VVVX

n8n: Expression Sandbox Escape in Editor-UI Enables Stored Cross-User JavaScript Execution

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.38.2, 2.37.7, 1.123.76
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • n8n-io n8n

    From 2.38.0 · fixed in 2.38.2; From 2.0.0 · fixed in 2.37.7; fixed in 1.123.76

  • n8nnpm

    fixed in 1.123.76

  • n8nnpm

    From 2.38.0 · fixed in 2.38.2

  • n8nnpm

    From 2.0.0 · fixed in 2.37.7

References 5

GitHub · n8n-io/n8n

GitHub · Boreas37/CVE-2026-86076-PoC