{"cve":"CVE-2026-86076","nvd":{"published":"2026-09-08T22:19:16.387","modified":"2026-09-11T18:20:56.680","status":"Analyzed","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.","cvss_v4":{"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","score":8.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-94"],"references":["https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.76","https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7","https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2","https://github.com/n8n-io/n8n/security/advisories/GHSA-hw8v-xxg5-vvvx"],"products":["n8n:n8n"],"source":"nvd","synced_at":"2026-10-19T22:52:53.108888569+00:00"},"epss":{"cve":"CVE-2026-86076","score":0.00793,"percentile":0.56355,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hw8v-xxg5-vvvx","url":"https://osv.dev/vulnerability/GHSA-hw8v-xxg5-vvvx","summary":"n8n: Expression Sandbox Escape via Class-Field Sanitizer Rebinding Can Lead to Code Execution","modified":"2026-09-10T15:15:05.012966204Z","packages":[{"ecosystem":"npm","name":"n8n","purl":"pkg:npm/n8n","ranges":["<1.123.76"],"fixed":["1.123.76"]},{"ecosystem":"npm","name":"n8n","purl":"pkg:npm/n8n","ranges":[">=2.38.0 <2.38.2"],"fixed":["2.38.2"]},{"ecosystem":"npm","name":"n8n","purl":"pkg:npm/n8n","ranges":[">=2.0.0 <2.37.7"],"fixed":["2.37.7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}