Description
n8n is an open source workflow automation platform. Prior to 1.123.76, 2.37.7, and 2.38.2, the legacy expression engine generated source text by calling the mutable global JSON.stringify while printing synthetic string literals and interpolating timezone data. An expression could replace JSON.stringify and cause later generated source to contain executable attacker-controlled code. The affected code-generation paths include packages/@n8n/expression-runtime/src/bridge/isolated-vm-bridge.ts and packages/@n8n/tournament/src/ExpressionBuilder.ts, and the issue does not affect the vm expression engine. This issue is fixed in versions 1.123.76, 2.37.7 and 2.38.2.
Severity (CVSS)
| Base score | 7.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-94 — CWE-94: Improper Control of Generation of Code ('Code Injection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n8n-io | n8n | >= 2.38.0, < 2.38.2; >= 2.0.0, < 2.37.7; < 1.123.76 |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-6xcw-7xm6-48c6 (x_refsource_CONFIRM)
- https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.76 (x_refsource_MISC)
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7 (x_refsource_MISC)
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2 (x_refsource_MISC)
Generated from the official CVE List on 09 Sep 2026 07:01 UTC.