Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. openclaw
  4. ›
  5. GHSA-mj59-h3q9-ghfh

GHSA-mj59-h3q9-ghfh: OpenClaw: MCP stdio server env could load dangerous startup variables from workspace config

April 25, 2026

Workspace MCP stdio configuration could pass dangerous process-startup environment variables such as NODE_OPTIONS, LD_PRELOAD, or BASH_ENV to the spawned MCP server process. In a malicious workspace, this could make the MCP child load attacker-controlled code when the operator starts a session that uses that MCP server.

The impact is limited to local/workspace trust boundaries and requires the operator to run OpenClaw in a workspace containing the malicious MCP configuration. Severity is therefore medium, not high/critical.

References

  • github.com/advisories/GHSA-mj59-h3q9-ghfh
  • github.com/openclaw/openclaw
  • github.com/openclaw/openclaw/commit/62fa5071896e95edc7f67d1cebc70a2859e283af
  • github.com/openclaw/openclaw/commit/85d86ebc4bf3d2226d39d132a484f4f7a299fa1b
  • github.com/openclaw/openclaw/security/advisories/GHSA-mj59-h3q9-ghfh

Code Behaviors & Features

Detect and mitigate GHSA-mj59-h3q9-ghfh 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 2026.4.20

Fixed versions

  • 2026.4.20

Solution

Upgrade to version 2026.4.20 or above.

Impact 7.3 HIGH

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

Learn more about CVSS

Weakness

  • CWE-427: Uncontrolled Search Path Element
  • CWE-454: External Initialization of Trusted Variables or Data Stores
  • CWE-829: Inclusion of Functionality from Untrusted Control Sphere

Source file

npm/openclaw/GHSA-mj59-h3q9-ghfh.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 09 May 2026 12:18:40 +0000.