{"id":"CVE-2026-63640","published":"2026-08-18T17:35:44Z","modified":"2026-08-18T17:56:32Z","title":"MagicMirror socket payload secret placeholder expansion can disclose SECRET_* environment variables","vendor":"MagicMirrorOrg","product":"MagicMirror","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00298,"percentile":0.14802,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/MagicMirrorOrg/MagicMirror/security/advisories/GHSA-q4gh-4ffp-5cg8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/MagicMirrorOrg/MagicMirror/pull/4184","tags":["x_refsource_MISC"]},{"url":"https://github.com/MagicMirrorOrg/MagicMirror/commit/ca7b752025962441196e148f8c1bc04b90117979","tags":["x_refsource_MISC"]},{"url":"https://github.com/MagicMirrorOrg/MagicMirror/releases/tag/v2.37.0","tags":["x_refsource_MISC"]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":2.96},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"magicmirrororg","affectedVersions":[{"vendor":"MagicMirrorOrg","product":"MagicMirror","versions":["< 2.37.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-18T17:56:24.747800Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"magicmirror","vulnerableRanges":["<2.37.0"],"patched":["2.37.0"],"from":["GHSA-q4gh-4ffp-5cg8"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-61079","exploited":false,"provenance":"source"}}