Vulnerability library
Security checkAugust 18, 2026

MagicMirror socket payload secret placeholder expansion can disclose SECRET_* environment variables

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmmagicmirror

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the magicmirror package to the latest compatible version. Followings are version details:

  • Affected version(s): < 2.37.0
  • Patched version(s): 2.37.0

References

Could your website be exposed too?

SmartScanner can check your website for MagicMirror socket payload secret placeholder expansion can disclose SECRET_* environment variables and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated August 18, 2026