{"id":"CVE-2026-63640","aliases":["GHSA-q4gh-4ffp-5cg8"],"url":"https://o3.security/vulnerability/CVE-2026-63640","summary":"MagicMirror socket payload secret placeholder expansion can disclose SECRET_* environment variables","details":"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.","published":"2026-08-18T17:35:44.944Z","modified":"2026-08-20T03:54:36.290366704Z","cvss":{"score":4.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"magicmirror","fixedVersion":"2.37.0"}],"fix":{"url":"https://github.com/MagicMirrorOrg/MagicMirror/commit/ca7b752025962441196e148f8c1bc04b90117979","label":"MagicMirrorOrg/MagicMirror@ca7b752"},"references":[{"type":"WEB","url":"https://github.com/MagicMirrorOrg/MagicMirror/releases/tag/v2.37.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63640.json"},{"type":"ADVISORY","url":"https://github.com/MagicMirrorOrg/MagicMirror/security/advisories/GHSA-q4gh-4ffp-5cg8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63640"},{"type":"FIX","url":"https://github.com/MagicMirrorOrg/MagicMirror/commit/ca7b752025962441196e148f8c1bc04b90117979"},{"type":"FIX","url":"https://github.com/MagicMirrorOrg/MagicMirror/pull/4184"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-20T03:54:36.290366704Z"}}