# CVE-2026-85165: n8n before 2.36.2 Expression Sandbox Bypass via SpreadElement

- Severity: High 7.2 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/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.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-09-03T11:22:15.903Z
- Modified: 2026-10-29T21:17:33.767Z
- Weaknesses: CWE-95
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

n8n versions before 2.36.2 contain an expression sandbox bypass vulnerability where free identifiers in spread, computed-key, switch-case, or class-extension positions resolve against process globals. Authenticated users with workflow-edit permission can mutate host objects through expression evaluation, with changes persisting process-wide until restart.

(As written by CVE List.)

## Affected

- n8n-io n8n: from 2.36.0 before 2.36.2; before 2.35.4 (not affected: 2.36.2; 2.35.4)
- n8n n8n: before 2.35.4; from 2.36.0 up to 2.36.2

## Every score

- VulnCheck: CVSS:4.0 7.2 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/n8n-io/n8n/security/advisories/GHSA-fg85-4wv2-p98j> (mitigation, vendor-advisory)
- <https://www.vulncheck.com/advisories/n8n-before-2.36.2-expression-sandbox-bypass-via-spreadelement> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-85165](https://www.cve.org/CVERecord?id=CVE-2026-85165), CVE Terms of Use, modified 2026-10-29
- NVD: [CVE-2026-85165](https://nvd.nist.gov/vuln/detail/CVE-2026-85165), Public domain, modified 2026-10-29

---

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