Prototype Pollution in Node-Red
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Tampering
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-915.
Summary
Node-Red is a low-code programming for event-driven applications built using nodejs. Node-RED 1.2.7 and earlier contains a Prototype Pollution vulnerability in the admin API. A badly formed request can modify the prototype of the default JavaScript Object with the potential to affect the default behaviour of the Node-RED runtime. The vulnerability is patched in the 1.2.8 release. A workaround is to ensure only authorized users are able to access the editor url.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| node-red | node-red | before 1.2.8 | 1.2.8 | Patch available | CNA |
| — | @node-red/runtime (npm) | before 1.2.8 | 1.2.8 | Patch available | GHSA-xp9c-82x8-7f67 |
- node-red Vendornode-red Affected before 1.2.8 Fixed in 1.2.8 Patch available CNA
- @node-red/runtime (npm) Vendor— Affected before 1.2.8 Fixed in 1.2.8 Patch available GHSA-xp9c-82x8-7f67
Remediation
- Fix · CNA node-red (node-red) Fixed in 1.2.8
- Fix · GHSA-xp9c-82x8-7f67 @node-red/runtime (npm) Fixed in 1.2.8 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-21297
- 2026-10-03 Alias added: GHSA-xp9c-82x8-7f67
References
Advisory 3
More Node-red vulnerabilities
- TI-2021-04398 Path traversal in Node-Red CVSS 3.1MEDIUM 6.5
- TI-2019-11706 Cross-site scripting in node-red CVSS 3.1MEDIUM 5.4
Sources
- CVE-2021-21297 · CVE Program
- CVE-2021-21297 · NVD
- FIRST EPSS
- GHSA-xp9c-82x8-7f67 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences