GHSA-mj59-h3q9-ghfh

Suggest an improvement
Source
https://github.com/advisories/GHSA-mj59-h3q9-ghfh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-mj59-h3q9-ghfh/GHSA-mj59-h3q9-ghfh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-mj59-h3q9-ghfh
Aliases
  • CVE-2026-44995
Downstream
Published
2026-04-25T23:48:03Z
Modified
2026-05-19T16:00:13.193904133Z
Severity
  • 5.4 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
OpenClaw: MCP stdio server env could load dangerous startup variables from workspace config
Details

Affected Packages / Versions

  • Package: openclaw (npm)
  • Affected versions: < 2026.4.20
  • Patched version: 2026.4.20

Impact

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.

Fix

OpenClaw now filters MCP stdio environment entries through the host environment safety denylist before spawning stdio MCP servers.

Fix commits:

  • 62fa5071896e95edc7f67d1cebc70a2859e283af
  • 85d86ebc4bf3d2226d39d132a484f4f7a299fa1b

Release

Fixed in OpenClaw 2026.4.20.

Database specific
{
    "github_reviewed_at": "2026-04-25T23:48:03Z",
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-427",
        "CWE-454",
        "CWE-829"
    ],
    "severity": "MODERATE",
    "github_reviewed": true
}
References

Affected packages

npm / openclaw

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2026.4.20

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-mj59-h3q9-ghfh/GHSA-mj59-h3q9-ghfh.json"