MagicMirrorOrg MagicMirror
MagicMirror²: Unauthenticated SSRF via /cors endpoint
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.36.0
Fixed in 2.36.0
Mitigation
Upgrade MagicMirror to 2.36.0 or later.
References
- Vendor advisory github.com/MagicMirrorOrg/MagicMirror/security…
Timeline
Days relative to CVE publicationFirst public PoC 14 days before publication; not in CISA KEV. First PoC: Astaruf/CVE-2026-42281 (created 30 Apr 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Astaruf/CVE-2026-42281 | 30 Apr 2026 −14 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: MagicMirror <= 2.35.0 - Server-Side Request Forgery | 11 May 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /cors
- Query
expectedheaders=Set-Cookieurl=- Ports
- 2376, 8001, 8080, 10255
- Seen in
- 1 repo: Astaruf/CVE-2026-42281
- Evidence
- Astaruf/CVE-2026-42281/poc.py:253
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/cors\?(?:.*&)?expectedheaders=Set-Cookie.*url=
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [2376,8001,8080,10255] (msg:"GG PoC-Monitor CVE-2026-42281 MagicMirrorOrg MagicMirror exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/cors"; http.uri; content:"expectedheaders=Set-Cookie"; http.uri; content:"url="; reference:url,poc.griffinguard.io/cve/CVE-2026-42281; classtype:web-application-attack; sid:9309198; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: MagicMirrorOrg MagicMirror exploit attempt (CVE-2026-42281)
id: gg-pocmon-cve-2026-42281-9309198
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-42281. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-42281
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/cors'
cs-uri-query|contains|all:
- 'expectedheaders=Set-Cookie'
- 'url='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.42281