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

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.86%, higher than 59% of CVEs (2026-12-01)
- Published: 2026-09-08T21:28:52.762Z
- Modified: 2026-09-11T18:20:56.680Z
- Also known as: GHSA-hw8v-xxg5-vvvx
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- n8n-io n8n: >= 2.38.0, < 2.38.2; >= 2.0.0, < 2.37.7; < 1.123.76
- n8n (npm): before 1.123.76; from 2.38.0 before 2.38.2; from 2.0.0 before 2.37.7
- n8n n8n: before 1.123.76; from 2.0.0 before 2.37.7; from 2.38.0 before 2.38.2

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/n8n-io/n8n/security/advisories/GHSA-hw8v-xxg5-vvvx> (mitigation, vendor-advisory, web)
- <https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.76> (release-notes, web)
- <https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7> (release-notes, web)
- <https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-86076> (advisory)
- <https://github.com/n8n-io/n8n> (package)

## Sources

- CVE List: [CVE-2026-86076](https://www.cve.org/CVERecord?id=CVE-2026-86076), CVE Terms of Use, modified 2026-09-09
- GitHub Advisory Database: [GHSA-hw8v-xxg5-vvvx](https://github.com/advisories/GHSA-hw8v-xxg5-vvvx), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-86076](https://nvd.nist.gov/vuln/detail/CVE-2026-86076), Public domain, modified 2026-09-11

---

Page: https://cve.day/CVE-2026-86076 · Whole record: https://cve.day/CVE-2026-86076.json · Rebuilt by cve.day 2026-11-25T22:59:37.599Z
