Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. magicmirror
  4. ›
  5. CVE-2026-63640

CVE-2026-63640: MagicMirror socket payload secret placeholder expansion can disclose SECRET_* environment variables

August 18, 2026

When hideConfigSecrets: true is enabled, MagicMirror redacts SECRET_* environment placeholders in the HTTP /config response, but the shared node-helper socket dispatcher expands **SECRET_NAME** placeholders in every inbound socket payload before passing it to module helpers. Any client that can connect to a loaded module namespace can send a placeholder such as **SECRET_API_KEY** and cause the server to substitute the real environment variable into the helper payload. Helpers that echo attacker-controlled payload fields, such as the default weather helper error path, can return the secret value to the socket client.

References

  • github.com/MagicMirrorOrg/MagicMirror/commit/ca7b752025962441196e148f8c1bc04b90117979
  • github.com/MagicMirrorOrg/MagicMirror/pull/4184
  • github.com/MagicMirrorOrg/MagicMirror/releases/tag/v2.37.0
  • github.com/MagicMirrorOrg/MagicMirror/security/advisories/GHSA-q4gh-4ffp-5cg8
  • github.com/advisories/GHSA-q4gh-4ffp-5cg8
  • nvd.nist.gov/vuln/detail/CVE-2026-63640

Code Behaviors & Features

Detect and mitigate CVE-2026-63640 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.37.0

Fixed versions

  • 2.37.0

Solution

Upgrade to version 2.37.0 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

npm/magicmirror/CVE-2026-63640.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:21:21 +0000.