CVE-2021-21298 Details
Description
Node-Red is a low-code programming for event-driven applications built using nodejs. Node-RED 1.2.7 and earlier has a vulnerability which allows arbitrary path traversal via the Projects API. If the Projects feature is enabled, a user with `projects.read` permission is able to access any file via the Projects API. The issue has been patched in Node-RED 1.2.8. The vulnerability applies only to the Projects feature which is not enabled by default in Node-RED. The primary workaround is not give untrusted users read access to the Node-RED editor.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/node-red/node-red/commit/74db3e17d075f23d9c95d7871586cf461524c456 | CVE | PatchThird Party Advisory |
| https://github.com/node-red/node-red/releases/tag/1.2.8 | CVE | Release NotesThird Party Advisory |
| https://github.com/node-red/node-red/security/advisories/GHSA-m33v-338h-4v9f | CVE | Third Party Advisory |
| https://www.npmjs.com/package/%40node-red/runtime | CVE | |
| https://github.com/node-red/node-red/commit/74db3e17d075f23d9c95d7871586cf461524c456 | [email protected] | PatchThird Party Advisory |
| https://github.com/node-red/node-red/releases/tag/1.2.8 | [email protected] | Release NotesThird Party Advisory |
| https://github.com/node-red/node-red/security/advisories/GHSA-m33v-338h-4v9f | [email protected] | Third Party Advisory |
| https://www.npmjs.com/package/%40node-red/runtime | [email protected] |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nodered node-red | < 1.2.8 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Mar 10, 2021 | Initial Analysis | [email protected] |