Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-86076— n8n: Expression Sandbox Escape in Editor-UI Enables Stored Cross-User JavaScript Execution

Quick assessment

Affected
n8n-io n8n
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

n8n 是一个开源的工作流自动化平台。在 1.123.76、2.37.7 和 2.38.2 之前的版本中,表达式编译器的净化器(sanitizer)通过动态作用域的 进行解析,且未拒绝保留的类成员名称。如果存在一个名为 的类字段,它可能会重新绑定净化器,进而访问 构造函数,从而实现后端代码执行和编辑器预览中的 JavaScript 执行。受影响的 AST 钩子是位于 中的 。该问题已在版本 1.123.76、2.37.7 和 2.38.2 中修复。

CVSS 8.7 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-86076

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
n8n: Expression Sandbox Escape in Editor-UI Enables Stored Cross-User JavaScript Execution
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
n8n-io n8n >= 2.38.0, < 2.38.2 -

II. Public POCs for CVE-2026-86076

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-86076

登录查看更多情报信息。

Patches & Fixes for CVE-2026-86076 (1)

Vendor Advisories for CVE-2026-86076 (1)

Vendor Pages for CVE-2026-86076 (2)

Same Patch Batch · n8n-io · 2026-09-08 · 17 CVEs total

CVE-2026-86075 8.7 HIGH n8n: Unauthenticated Persistent Storage Exhaustion via OAuth Dynamic Client Registration E
CVE-2026-86083 7.7 HIGH n8n: Expression Sandbox Escape via Shared Builtin Tampering and Code-Printer Injection Lea
CVE-2026-86082 7.1 HIGH n8n: Domain-Restriction Bypass via Unguarded Model-Search Endpoint in OpenAI Chat Model No
CVE-2026-86081 7.1 HIGH n8n: Regular Expression Denial of Service in the Default Blocked-File-Pattern Match via a
CVE-2026-86077 6.3 MEDIUM n8n: Anonymous Approval-Gate Bypass via Reused resumeToken over the Chat WebSocket
CVE-2026-86080 6.3 MEDIUM n8n: GitHub Trigger 422 Reuse Path Skips Webhook Secret Storage, Causing Signature Verific
CVE-2026-86079 6.3 MEDIUM n8n: Path Injection in Elasticsearch and ElasticSecurity Nodes via Unencoded Identifiers
CVE-2026-86084 6.0 MEDIUM n8n: Disabled OIDC SSO Endpoints Remain Active and Issue Valid Sessions
CVE-2026-86078 6.0 MEDIUM n8n: Prototype Pollution via Workflow Structure Summary Can Lead to Denial of Service
CVE-2026-86073 5.9 MEDIUM n8n: Per-Resource OAuth Consent Bypass via Unbound Refresh Token Resource Substitution
CVE-2026-86074 5.9 MEDIUM n8n: Instance AI Credential Setup Accepts Unvalidated Probe URL from Fetched Content
CVE-2026-86993 5.9 MEDIUM n8n: Log Streaming Event Destinations Decrypt Generic-Auth Credentials Without Ownership C
CVE-2026-86994 5.3 MEDIUM n8n: Cross-User Active Workflow ID and Lifecycle Event Disclosure via Missing userId Filte
CVE-2026-86995 5.3 MEDIUM n8n: Git Node branch.<name>.remote Config Key Bypasses Sandbox Path Restriction, Enabling
CVE-2026-86996 5.3 MEDIUM n8n: Agent Workflow Tool Bypasses Sub-Workflow Caller Policy
CVE-2026-86085 5.1 MEDIUM n8n: Cross-Tenant Project-Member PII Disclosure via Missing Per-Project Scope Check on Rol

IV. Related Vulnerabilities

V. Comments for CVE-2026-86076

No comments yet


Leave a comment