n8n expression sandbox escape via class-field sanitizer rebinding (CVE-2026-86076)
Incident date
DisclosedSep 10, 2026 (GitHub advisory)
Added hereNov 20, 3:46 PM ET
Last verifiedNov 20, 2026
Summary
Per the vendor advisory, the n8n expression compiler's sanitizer could be rebound by a class field named `__sanitize`, which 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 advisory lists fixes in 1.123.76, 2.37.7 and 2.38.2; the GitHub release page marks 2.38.2 as a pre-release.
Severity
HIGH The GitHub advisory rates it High.
Timeline
GitHub advisory GHSA-hw8v-xxg5-vvvx for CVE-2026-86076 was published. (per the vendor advisory)
How it happened
Per the vendor advisory, the sanitizer resolved through a dynamically-scoped `this`, so a class field named `__sanitize` rebound it and reached the `Function` constructor. The patch rejects reserved class-member names.
How to check your app
- < 1.123.76: On the 1.x line, confirm the installed n8n is 1.123.76 or later.
- >= 2.0.0, < 2.37.7: Confirm the installed n8n is 2.37.7 or later and not within the range >= 2.38.0, < 2.38.2.
- >= 2.38.0, < 2.38.2: Confirm the installed n8n is 2.38.2 or later; the GitHub release page marks 2.38.2 as a pre-release.
Sources
Corrections and updates
Cite this entry
- Title
- n8n expression sandbox escape via class-field sanitizer rebinding (CVE-2026-86076)
- Added
- Nov 20, 2026
- URL
- https://vibeincidents.com/incidents/n8n-cve-2026-86076/
- Suggested citation
VibeIncidents. "n8n expression sandbox escape via class-field sanitizer rebinding (CVE-2026-86076)." Nov 20, 2026. https://vibeincidents.com/incidents/n8n-cve-2026-86076/