CVE-2021-21298: Path traversal in Node-Red
Vulnerability summary
CVE-2021-21298 is a medium (CVSS 6.5) vulnerability in node-red. EPSS estimates a 1.09% chance of exploitation in the next 30 days, higher than 66.5% of scored vulnerabilities.
Not severe (CVSS 3.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 26-02-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- CVE.orgCNA3.5LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:NDiffers
EPSS trend
Probability
1.09%
Chance of exploitation in the next 30 days
Percentile
67%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 1.08% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
@node-red1 product
- runtime< 1.2.8
Node-red1 product
- node-red< 1.2.8
Nodered1 product
- node-red< 1.2.8
3 vendors · 3 products
References
6 links- www.npmjs.com/package/%40node-red/runtimeX Refsource MISC
- github.com/node-red/node-red/security/advisories/GHSA-m33v-338h-4v9fX Refsource CONFIRMWEBThird Party Advisory
- github.com/node-red/node-red/commit/74db3e17d075f23d9c95d7871586cf461524c456X Refsource MISCWEBPatchThird Party Advisory