LiveActive security incident?Get immediate response
CVE Record

CVE-2021-26504: Directory Traversal vulnerability in Foddy node-red-contrib-huemagic version 3.0.0, allows remote attackers...

Directory Traversal vulnerability in Foddy node-red-contrib-huemagic version 3.0.0, allows remote attackers to gain sensitive information via crafted request in res.sendFile API in hue-magic.js.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

CVE-2021-26504 is a directory traversal issue in Foddy node-red-contrib-huemagic 3.0.0. A remote attacker may be able to retrieve sensitive files through a crafted request handled by res.sendFile in hue-magic.js. The source bundle does not provide a CVSS score, patch version, or active exploitation evidence.

Executive priority

Treat this as an exposure-driven information disclosure risk. Prioritize internet-facing or partner-facing Node-RED systems first, especially where file contents could expose credentials, tokens, or operational data. Lack of scoring means urgency should be based on deployment reachability.

Technical view

The reported flaw is improper path handling in hue-magic.js where res.sendFile is involved. The CVE description says crafted requests can lead to sensitive information disclosure. Public metadata identifies node-red-contrib-huemagic 3.0.0, but affected CPEs, CWE mapping, scoring, and remediation details are incomplete in the provided sources.

Likely exposure

Exposure is most likely in Node-RED environments that have node-red-contrib-huemagic 3.0.0 installed and expose the affected HTTP functionality to untrusted networks. The bundle does not prove broader version impact or default exposure.

Exploitation context

The bundle does not cite CISA KEV listing or public active exploitation. It describes remote attacker access using crafted requests, but provides no confirmed exploit maturity, observed campaigns, or weaponization evidence.

Researcher notes

Public evidence is sparse: no CVSS vector, no CWE, no CPEs, and no named fixed release appear in the bundle. Analysis should focus on version confirmation, route exposure, and vendor issue tracking without assuming unaffected versions or a universal patch path.

Mitigation direction

  • Inventory Node-RED deployments for node-red-contrib-huemagic 3.0.0.
  • Check the vendor repository or package source for official remediation guidance.
  • Restrict external access to Node-RED and HueMagic-related endpoints.
  • Remove or disable the package where it is not operationally required.
  • Monitor access logs for unusual file retrieval attempts.

Validation and detection

  • Confirm whether node-red-contrib-huemagic 3.0.0 is installed.
  • Identify whether affected Node-RED routes are reachable from untrusted networks.
  • Review hue-magic.js usage of res.sendFile in deployed code.
  • Check vendor issue 217 for remediation or maintainer guidance.
  • Verify compensating access controls around Node-RED administrative and HTTP endpoints.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

File access behavior lookup

The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-26504 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.