Secret disclosure via socket placeholder expansion
Published Aug 18, 2026 · Updated Aug 18, 2026
Information disclosure in MagicMirror² before 2.37.0 allows attackers to read SECRET_* environment values via crafted Socket.IO payloads. The catch-all handler in js/node_helper.js serializes each inbound object payload through replaceSecretPlaceholder in js/server_functions.js before socketNotificationReceived runs, so SECRET_NAME tokens are expanded with process.env values instead of being treated as untrusted client data. Exposure requires hideConfigSecrets to be enabled and a reachable module namespace with an echo path such as the default weather helper, which reflects attacker-controlled instanceId fields in WEATHER_ERROR responses.
Summary
What happened
Information disclosure in MagicMirror² before 2.37.0 allows attackers to read SECRET_* environment values via crafted Socket.IO payloads. The catch-all handler in js/node_helper.js serializes each inbound object payload through replaceSecretPlaceholder in js/server_functions.js before socketNotificationReceived runs, so SECRET_NAME tokens are expanded with process.env values instead of being treated as untrusted client data. Exposure requires hideConfigSecrets to be enabled and a reachable module namespace with an echo path such as the default weather helper, which reflects attacker-controlled instanceId fields in WEATHER_ERROR responses.
The record
- CVE
- CVE-2026-63640
- Published
- Aug 18, 2026
- Updated
- Aug 18, 2026
- Vendor
- MagicMirror
- Product
- MagicMirror²
- Classifications
- CWE-200
- Attack vector
- adjacent
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 18, 2026CVE publishedPublication date reported by the CVE source.
- Aug 18, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 2.37.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Weather helper echo-path proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo