CVE-2021-25864 json
Path Traversal in node-red-contrib-huemagic
published 2021-01-26 5 y ago modified 2026-06-17 4 mo ago also GHSA-frpw-jrwx-hcfv , EUVD-2021-0818
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 9.3%
- EPSS 9.3% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
node-red-contrib-huemagic 3.0.0 is affected by hue/assets/..%2F Directory Traversal.in the res.sendFile API, used in file hue-magic.js, to fetch an arbitrary file.
Exploit prediction
9.33% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template Hue Magic 3.0.0 - Local File Inclusion nuclei detection template
- github.com https://github.com/Foddy/node-red-contrib-huemagic/issues/217 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | node-red-contrib-huemagic | <=3.0.0 |
no fix listed |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/Foddy/node-red-contrib-huemagic/issues/217
web, exploit, mitigation, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-25864
advisory
-
github.com
/Foddy/node-red-contrib-huemagic
package
Sources
- CVE List CVE-2021-25864
- GitHub Advisory GHSA-frpw-jrwx-hcfv
- NVD CVE-2021-25864
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.