{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-63640","id":"CVE-2026-63640","title":"MagicMirror socket payload secret placeholder expansion can disclose SECRET_* environment variables","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, causi","descriptionLong":"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","updated":"2026-10-28T02:30:39.712115932Z","reserved":"2026-07-17T14:11:15.483Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["MagicMirrorOrg MagicMirror"],"affectedProducts":[{"vendor":"MagicMirrorOrg","product":"MagicMirror","defaultStatus":null,"versions":[{"version":"< 2.37.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"magicmirror","purl":"pkg:npm/magicmirror","ranges":["<2.37.0"],"fixed":["2.37.0"],"advisory":"GHSA-q4gh-4ffp-5cg8"}],"cwes":["CWE-200"],"aliases":["GHSA-q4gh-4ffp-5cg8"],"references":[{"url":"https://github.com/MagicMirrorOrg/MagicMirror/security/advisories/GHSA-q4gh-4ffp-5cg8","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/MagicMirrorOrg/MagicMirror/pull/4184","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/MagicMirrorOrg/MagicMirror/commit/ca7b752025962441196e148f8c1bc04b90117979","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/MagicMirrorOrg/MagicMirror/releases/tag/v2.37.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63640.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63640","tags":["advisory"]},{"url":"https://github.com/MagicMirrorOrg/MagicMirror","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00298,"epssPercentile":0.22957,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-63640","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63640","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-63640","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-q4gh-4ffp-5cg8","ok":true,"note":"GHSA-q4gh-4ffp-5cg8"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-63640","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}