Servers and applications
CVE-2026-86076
Expression Sandbox Escape via Class-Field Sanitizer Rebinding Can Lead to Code Execution
- Severity
- High 8.7
- Published
- 2 Sept 2026
- Last changed
- 11 Sept 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 1.123.76, 2.37.7, 2.38.2
- Exploit chance
- 0.7% in the next 30 daysHigher than 52% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- Code injection (CWE-94)
- Attack
- Over the network · Only under certain conditions · Needs a user account · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X- Also known as
- GHSA-hw8v-xxg5-vvvx
- Sources
- NVD, Project advisories (GitHub)
Description
The expression compiler's sanitizer resolved through a dynamically-scoped this, so a class field named __sanitize rebound it and reached the Function constructor. On the backend, any expression author could run code in the n8n process; in the editor preview, a member's expression could run as JavaScript in the session of whoever opened the workflow. The patch rejects reserved class-member names.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- Restrict n8n instance access to fully trusted users only.
- Avoid granting workflow-create or workflow-edit permissions to untrusted users.
- Audit existing workflows for unexpected or unfamiliar expressions in node parameters.
- Set N8N_EXPRESSION_ENGINE=vm.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Affected software
| Software | Affected versions |
|---|---|
n8nServers and applications · cpe:a:n8n:n8n |
|
n8nServers and applications · github:n8n-io/n8n |
|
About n8n
low-code automation tool
- Weekly downloads (npm)
- 103,525npm, 15 Nov 2026
- Docker Hub pulls
- 286,090,810Docker Hub, 15 Nov 2026
- GitHub stars
- 210,541GitHub, 15 Nov 2026
- Forks
- 61,525GitHub, 15 Nov 2026
- Latest release
- [email protected]GitHub, 15 Nov 2026
- Released
- 13 Nov 2026GitHub
- Written in
- TypeScript, Node.jsWikidata
- First released
- 2019Wikidata
- First published on GitHub
- 22 Jun 2019GitHub
Website Source code Docker image Package
Vulnerabilities in n8n
- In our list
- 310
- Published in the last 12 months
- 298
- Critical, last 12 months
- 24
- High, last 12 months
- 133
- Known exploited
- 1
- GHSA-h59h-rf6m-7jp5Workflow Activation Allows Trigger Nodes to Use Credentials the Publisher Cannot AccessMedium 5.3 13 Nov 2026
- GHSA-g333-hr44-g82pAWS Bedrock Nodes Skip SSRF Protection for Custom Runtime EndpointsMedium 5.3 13 Nov 2026
- GHSA-c772-hjfp-gfc2Integration Nodes Send Authenticated Requests to Unintended API EndpointsMedium 5.3 13 Nov 2026
- GHSA-q8rc-7m84-mfvjCustom Instance Role with User Management Permissions Gives Control of the Owner AccountHigh 7.5 13 Nov 2026
- CVE-2026-130167Custom Instance Role with User Management Permissions Gives Control of the Owner AccountHigh 7.5 13 Nov 2026
- CVE-2026-126381n8n before 2.44.1 SQL Injection via Vector Store (OracleDB) Metadata Filter KeyMedium 4.9 13 Nov 2026
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2026-86076
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-86076
- GitHub Advisory Database https://github.com/advisories/GHSA-hw8v-xxg5-vvvx
- github.com https://github.com/n8n-io/n8n/security/advisories/GHSA-hw8v-xxg5-vvvx