GHSA-7fcc-cw49-xm78

Suggest an improvement
Source
https://github.com/advisories/GHSA-7fcc-cw49-xm78
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-7fcc-cw49-xm78/GHSA-7fcc-cw49-xm78.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-7fcc-cw49-xm78
Downstream
Published
2026-03-03T18:09:26Z
Modified
2026-03-07T04:36:03.952461Z
Severity
  • 8.6 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
OpenClaw has command injection via Windows shell fallback in Lobster tool execution
Details

Summary

The Lobster extension tool execution path used a Windows shell fallback (shell: true) after spawn failures (EINVAL/ENOENT). In that fallback path, shell metacharacters in command arguments can be interpreted by the shell, enabling command injection.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Affected versions: <= 2026.2.17
  • Latest confirmed affected published version: 2026.2.17
  • Patched version: 2026.2.19

Technical Details

In affected releases (including v2026.2.17), extensions/lobster/src/lobster-tool.ts retried subprocess launch with shell: true on Windows for EINVAL/ENOENT spawn errors. The fix removes shell fallback and resolves Windows wrappers to explicit executable/script argv execution.

Fix Commit(s)

  • ba7be018da354ea9f803ed356d20464df0437916

OpenClaw thanks @allsmog for reporting.

Database specific
{
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-78"
    ],
    "github_reviewed_at": "2026-03-03T18:09:26Z",
    "nvd_published_at": null
}
References

Affected packages

npm / openclaw

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-7fcc-cw49-xm78/GHSA-7fcc-cw49-xm78.json"