n8n before 1.123.69 Code Node Sandbox Escape via Function.prototype Pollution
Published Aug 20, 2026
6.0
MEDIUMCVSS 4.0
EPSS 0.37%
Description
n8n is a workflow automation platform. In versions prior to 1.123.69, 2.33.4, and 2.34.1, the JavaScript Code node's VM sandbox did not freeze the sandbox's Function.prototype, allowing an authenticated user with the ability to create and execute workflows to pollute it from within a Code node execution and recover a reference to the host's globalThis, resulting in a sandbox escape. The full exploit chain additionally depends on specific modules being available as allowlisted imports in the deployment's configuration. The issue is fixed in versions 1.123.69, 2.33.4, and 2.34.1.
Affected products
-
- Version 0StatusaffectedConstraints<1.123.69
- Version 2.0.0StatusaffectedConstraints<2.33.4
- Version 2.34.0StatusaffectedConstraints<2.34.1
- Version 1.123.69StatusunaffectedConstraints-
- Version 2.33.4StatusunaffectedConstraints-
- Version 2.34.1StatusunaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (3)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-63271 Advisory
- https://github.com/n8n-io/n8n/security/advisories/GHSA-c9c6-rq46-h25v vendor-advisoryMitigationVendor Advisory
- https://www.vulncheck.com/advisories/n8n-before-code-node-sandbox-escape-via-function.prototype-pollution third-party-advisoryThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-63271 | Advisory | |
| https://github.com/n8n-io/n8n/security/advisories/GHSA-c9c6-rq46-h25v | vendor-advisoryMitigationVendor Advisory | |
| https://www.vulncheck.com/advisories/n8n-before-code-node-sandbox-escape-via-function.prototype-pollution | third-party-advisoryThird Party Advisory |
Change history (0)
No recorded changes yet.