Back to list

MagicMirror vulnerable to unauthenticated SSRF via /cors endpoint — CVE-2026-42281

GHSA · GitHub · CVE-2026-42281

ID
CVE-2026-42281
Date
Updated
Activity
Source
GHSA
Vendor
GitHub
Threat
critical
CVSS
9.2

Summary

### Summary An unauthenticated Server-Side Request Forgery (SSRF) vulnerability in the `/cors` endpoint allows any remote attacker to force the MagicMirror² server to perform arbitrary HTTP requests to internal networks, cloud metadata services, and localhost services. The endpoint also expands environment variable placeholders (`**VAR_NAME**`), enabling exfiltration of server-side secrets. ### Details The `/cors`…

Product

npm: magicmirror

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories