PoC Monitor
← All CVEs
CVE-2026-42281published 14 May 2026 15:46 UTCData: JSON · API

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.

First public PoC 14 days beforebefore publication · 30 Apr 2026
Public PoCs21 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS9.2critical · scored by CNA · CWE-918
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

MagicMirrorOrg MagicMirror
  • < 2.36.0

Fixed in 2.36.0

Mitigation

Upgrade MagicMirror to 2.36.0 or later.

References

Timeline

Days relative to CVE publication
-15-12-9-6-3t=0+3+6First public PoC30 Apr 2026 · t−14dCVE published14 May 2026 · t = 0

First 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
RepositoryCreatedStarsAssessment
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.
SourceTitlePublishedFound by us
nuclei templatenuclei template: MagicMirror <= 2.35.0 - Server-Side Request Forgery11 May 202614 Nov 2026

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

GET /cors

Query
expectedheaders=Set-Cookie url=
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.

GET /cors
(?i)^/cors\?(?:.*&)?expectedheaders=Set-Cookie.*url=

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /cors
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.

GET /cors
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