Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/MagicMirrorOrg/MagicMirror/commit/ca7b752025962441196e148f8c1
- https://github.com/MagicMirrorOrg/MagicMirror/pull/4184
- https://github.com/MagicMirrorOrg/MagicMirror/releases/tag/v2.37.0
- https://github.com/MagicMirrorOrg/MagicMirror/security/advisories/GHSA-q4gh-4ffp
- https://github.com/MagicMirrorOrg/MagicMirror/security/advisories/GHSA-q4gh-4ffp
FAQ
What is CVE-2026-63640?
CVE-2026-63640 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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 paylo...
How severe is CVE-2026-63640?
CVE-2026-63640 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-63640?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.