CVE-2026-63640
MagicMirror socket payload secret placeholder expansion can disclose SECRET_* environment variables
Also known as GHSA-q4gh-4ffp-5cg8
Mitigation
- Upgrade magicmirror to 2.37.0 or later.
Who should check
- Projects that depend on npm package magicmirror (< 2.37.0)
- Anyone running MagicMirrorOrg MagicMirror < 2.37.0
Vulnerability facts
- Affected
- magicmirror < 2.37.0
- Fixed in
- 2.37.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 4.3 (v3.1, CNA)CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Adjacent network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- CWE
- CWE-200
- Modified
Description
MagicMirror² is an open source modular smart mirror platform. Prior to 2.37.0, when hideConfigSecrets is enabled, the catch-all socket dispatcher in js/node_helper.js passes every inbound object payload through replaceSecretPlaceholder in js/server_functions.js before invoking socketNotificationReceived. A client connected to a loaded module namespace can submit a SECRET_API_KEY placeholder, causing the server to replace it with the corresponding process environment value. The default weather helper accepts INIT_WEATHER, copies the attacker-controlled instanceId, and returns it in WEATHER_ERROR, providing an echo path for the expanded secret. This reverses the intended one-way redaction boundary and can disclose API tokens, credentials, or service keys stored in SECRET_ variables. This issue is fixed in version 2.37.0.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm magicmirror | < 2.37.0 | 2.37.0 | osv |
| MagicMirrorOrg MagicMirror | < 2.37.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-63640. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-63640.md Affected: magicmirror < 2.37.0 Fixed in: 2.37.0 Steps: 1. Search this machine and project for magicmirror (npm), MagicMirrorOrg MagicMirror: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2026-63640 being exploited?
There is no confirmed exploitation: CVE-2026-63640 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-63640?
Medium: CVSS 4.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-63640?
magicmirror < 2.37.0.
Is there a fix for CVE-2026-63640?
Yes. Fixed in 2.37.0. Upgrade magicmirror to 2.37.0 or later.
How do I check if I'm affected by CVE-2026-63640?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.