Skip to main content

MagicMirror² CVE-2026-63641

| EUVDEUVD-2026-61070 LOW
Improper Access Control (CWE-284)
2026-08-18 GitHub_M GHSA-w26r-fwg8-rcp3
2.3
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify non-loopback MagicMirror on LAN
  2. Delivery
    Connect directly to Socket.IO namespace
  3. Exploit
    Bypass Express ipWhitelist via unprotected handshake
  4. Execution
    Send crafted socket notification to module helper
  5. Persist
    Trigger SSRF to internal services or inject update command
  6. Impact
    Execute arbitrary command via child_process.exec

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires MagicMirror to be configured with a non-loopback address setting (e.g., 0.0.0.0, ::, or a specific LAN IP as documented in config/config.js.sample lines 11-20) - the default configuration in js/defaults.js binds only to loopback, making default installations unexploitable remotely. The ipWhitelist feature must be in use, because this vulnerability specifically bypasses that control; deployments without ipWhitelist have no network restriction regardless of this flaw and represent a different (broader) exposure model. The attacker must occupy an adjacent network position (same LAN or directly routed segment) - internet-sourced exploitation is not possible. For SSRF, the newsfeed or calendar default module must be active, which is the case for most deployments. For the conditional command execution path, a third-party module update must be pending at the time of the attack, and the attacker must successfully inject an update command through the socket CONFIG path - a time-dependent and state-dependent condition that substantially raises practical difficulty. Exploitation is definitively not possible against default loopback-only MagicMirror installations.

Impact

The official CVSS 4.0 score of 2.3 (AV:A/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L) accurately reflects the multi-layered prerequisite structure of this vulnerability. AV:A constrains exploitation to adjacent-network clients, immediately excluding internet-facing scenarios. AT:P captures the non-default but documented configuration requirement (non-loopback binding with ipWhitelist active). The SSRF path through newsfeed and calendar is the broadest reachable impact and requires only an active adjacent-network position plus the non-loopback deployment condition. The child_process.exec path additionally requires a pending third-party module update and attacker control of the update command payload through the socket CONFIG path - a materially higher bar that raises practical complexity well beyond the AC:L rating suggests for the simpler SSRF path. No EPSS data was provided, and no CISA KEV entry exists, indicating no confirmed widespread exploitation. The product's deployment profile - primarily DIY home and hobbyist smart mirror installations on residential or lab LANs - significantly constrains real-world blast radius. This is a genuine access-control design flaw warranting patching, but the combination of adjacent-network-only access, non-default configuration requirement, and conditional RCE path means it does not represent broad critical risk for most environments.

Exploit ScenarioDerived

An attacker on the same LAN as a MagicMirror installation bound to 0.0.0.0 with ipWhitelist configured connects directly to a Socket.IO module namespace on the MagicMirror port, bypassing the Express ipWhitelist check entirely. The attacker sends a CHECK_ARTICLE_URL notification to the newsfeed helper specifying an internal network service URL, causing the MagicMirror server to issue an HTTP request to that endpoint and return results through the socket - achieving SSRF against internal infrastructure. If a third-party module update happens to be pending, the attacker additionally delivers a crafted update command through the CONFIG socket path, triggering child_process.exec on the host. No public exploit code has been identified at time of analysis.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 18, 2026

Socket.IO namespace access control bypass in MagicMirror² prior to v2.37.0 allows unauthenticated adjacent-network clients to interact directly with module helpers, bypassing the configured ipWhitelist that protects only the Express HTTP layer. Affected deployments binding to non-loopback interfaces can be exploited for server-side request forgery via the default newsfeed and calendar helpers, and conditionally for command execution via child_process.exec through the updatenotification helper when a third-party module update is pending. No public exploit code has been identified at time of analysis and this vulnerability is not in CISA KEV.

RemediationAI

Upgrade to MagicMirror² v2.37.0, available at https://github.com/MagicMirrorOrg/MagicMirror/releases/tag/v2.37.0, which adds a socketIpAccessControl() handler wired into the Socket.IO allowRequest callback (commit 58c2a5e675a7d367b64d72e1d35680d202ff5c9f, PR #4169), ensuring Socket.IO handshakes are subject to the same ipWhitelist enforcement as Express routes. As a compensating control prior to patching, configure MagicMirror to bind exclusively to loopback by setting address to localhost in config.js - this eliminates adjacent-network reachability entirely but restricts the interface to local-only access, which may not suit all deployments. A network-layer firewall rule blocking external access to the MagicMirror port is an alternative that preserves LAN display functionality while reducing exposure. Note that relying on ipWhitelist alone is insufficient as a compensating control in vulnerable versions, since the bypass is architectural rather than a configuration error.

Affected VersionsENISA

MagicMirror < 2.37.0

Affected Packages

npm magicmirror fix: 2.37.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MagicMirror² (npm package magicmirror, CPE: cpe:2.3:a:magicmirrororg:magicmirror:*:*:*:*:*:*:*:*) is a Node.js smart mirror platform using Express for HTTP and Socket.IO for real-time inter-module communication. CWE-284 (Improper Access Control) applies: js/server.js initializes the Socket.IO instance directly on the HTTP server at lines 42-50 with a permissive CORS origin (/.*$/), while the ipWhitelist enforcement is applied only via app.use(ipAccessControl(...)) at lines 89-90, which governs Express routes and static file serving but not Socket.IO handshakes or namespace connections. The js/node_helper.js module (lines 88-103) registers every module namespace and dispatches all incoming socket events and payloads directly to socketNotificationReceived() without any additional IP check or authentication. Default modules newsfeed and calendar expose server-side URL fetch capabilities; the updatenotification helper contains a path to child_process.exec gated only by a pending module update state. The fix in PR #4169 introduces socketIpAccessControl() - a Socket.IO allowRequest handler wired into server.js - applying the same IP filtering logic to Socket.IO handshakes as to Express requests.

Know when Magicmirror gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 2.3 LOW
CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L
vuln.today AI 4.7 MEDIUM

Adjacent-network vector, high complexity for RCE (pending-update state required), no authentication; scope changed via child_process.exec reaching OS layer.

3.1 AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
4.0 AV:A/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Adjacent
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
Low

Lifecycle Timeline

1
Patch available
Aug 18, 2026 - 18:03 EUVD

DescriptionCVE.org

MagicMirror² is an open source modular smart mirror platform. Prior to 2.37.0, MagicMirror applies ipWhitelist only as Express middleware, while the Socket.IO server in js/server.js is attached directly to the HTTP server without equivalent IP allowlist, origin, or namespace authentication checks. In a documented non-loopback deployment that relies on ipWhitelist, an unauthenticated adjacent-network client can connect directly to module Socket.IO namespaces, and js/node_helper.js dispatches arbitrary events and payloads to socketNotificationReceived. The default newsfeed and calendar helpers can make server-side requests to attacker-selected URLs, while the default updatenotification helper can reach child_process.exec when a third-party module update is pending and the attacker supplies an update command through the socket CONFIG path. This can expose internal services, manipulate module-helper state, and conditionally execute commands. This issue is fixed in version 2.37.0.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Rare
niche DIY smart mirror platform, primarily hobbyist and home use
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
Poc
System Exposure· derived
Controlled
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy