Vulnerability · Published May 14, 2026 · Assigned by GitHub_M
CVE-2026-42281MagicMirror²: Unauthenticated SSRF via /cors endpoint
Critical 9.2
In plain English
A critical-severity server-side request forgery in MagicMirror from MagicMirrorOrg. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
MagicMirror² is an open source modular smart mirror platform. Prior to 2.36.0, 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. This vulnerability is fixed in 2.36.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | magicmirror | 2.36.0 | GHSA-ph6f-2cvq-79hq |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| MagicMirrorOrg | MagicMirror | < 2.36.0 |
Weakness: CWE-918 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N