6.5

CVE-2021-21298: Path traversal in Node-Red

Modified
AliasesGHSA-m33v-338h-4v9f
Published 26-02-2021Last modified 03-08-2024

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.

Priority
Routine

Not severe (CVSS 3.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (NVD)
EPSS score
1.09%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 26-02-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last 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

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

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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
Nodered1 product

3 vendors · 3 products

References

6 links