← Back to CVE Explorer

CVE-2026-63640

Full vulnerability record from the local CVENow database.

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, 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.

Severity
MEDIUM
CVSS score
4.3 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-08-18 18:19:11.800000
Last modified
2026-10-22 22:10:00.250000
View original CVE JSON
{
  "id": "CVE-2026-63640",
  "sourceIdentifier": "[email protected]",
  "published": "2026-08-18T18:19:11.800",
  "lastModified": "2026-10-22T22:10:00.250",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "MagicMirror² es una plataforma de espejo inteligente modular de código abierto. Antes de la versión 2.37.0, cuando hideConfigSecrets está habilitado, el despachador de sockets ’catch-all’ en js/node_helper.js pasa cada carga útil de objeto entrante a través de replaceSecretPlaceholder en js/server_functions.js antes de invocar socketNotificationReceived. Un cliente conectado a un espacio de nombres de módulo cargado puede enviar un marcador de posición SECRET_API_KEY, haciendo que el servidor lo reemplace con el valor correspondiente del entorno del proceso. El asistente de clima predeterminado acepta INIT_WEATHER, copia el instanceId controlado por el atacante y lo devuelve en WEATHER_ERROR, proporcionando una ruta de eco para el secreto expandido. Esto invierte el límite de redacción unidireccional previsto y puede divulgar tokens de API, credenciales o claves de servicio almacenadas en variables SECRET_. Este problema se soluciona en la versión 2.37.0."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "MagicMirrorOrg",
          "product": "MagicMirror",
          "versions": [
            {
              "version": "< 2.37.0",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
          "baseScore": 4.3,
          "baseSeverity": "MEDIUM",
          "attackVector": "ADJACENT_NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "LOW",
          "integrityImpact": "NONE",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 1.4
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-08-18T17:56:24.747800Z",
          "id": "CVE-2026-63640",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Primary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-200"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/MagicMirrorOrg/MagicMirror/commit/ca7b752025962441196e148f8c1bc04b90117979",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/MagicMirrorOrg/MagicMirror/pull/4184",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/MagicMirrorOrg/MagicMirror/releases/tag/v2.37.0",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/MagicMirrorOrg/MagicMirror/security/advisories/GHSA-q4gh-4ffp-5cg8",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/MagicMirrorOrg/MagicMirror/security/advisories/GHSA-q4gh-4ffp-5cg8",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
    }
  ]
}