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:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · Attack vector: Network| https://github.com/n8n-io/n8n/security/advisories/GHSA-hw8v-xxg5-vvvx | MitigationVendor Advisory |
| https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.76 | Release Notes |
| https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7 | Release Notes |
| https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2 | Release Notes |
A short explanation of who is affected, the impact and what to do, written only from this record's data.
AI isn't configured on this server (set AI_PROVIDER and an API key).
Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.
+ N8n N8n