GHSA-FG3M-VHRR-8GJ6
Vulnerability from github – Published: 2026-03-03 23:19 – Updated: 2026-03-19 21:24
VLAI?
Summary
OpenClaw has Windows Lobster shell fallback command injection in constrained fallback path
Details
Summary
On Windows, the Lobster extension previously retried certain spawn failures (ENOENT/EINVAL) with shell: true for wrapper compatibility. In that fallback path, tool-provided arguments could be interpreted by cmd.exe if fallback was triggered.
Affected Packages / Versions
- Package:
openclaw(npm) - Latest published version at triage:
2026.2.17 - Affected range:
>= 2026.1.21 <= 2026.2.17 - Patched version:
2026.2.19(pre-set for next release)
Fix
The Windows shell fallback was removed. Wrapper compatibility is preserved by resolving .cmd/.bat shims to a concrete Node entrypoint (or executable) and executing with explicit argv (no shell). If a safe entrypoint cannot be resolved, execution now fails closed with a guided error.
Fix Commit(s)
ba7be018da354ea9f803ed356d20464df0437916
Severity Context
This issue requires Windows plus fallback-triggering conditions, and argument control through a local operator-defined workflow.
OpenClaw thanks @tdjackey for reporting.
Severity ?
{
"affected": [
{
"database_specific": {
"last_known_affected_version_range": "\u003c= 2026.2.17"
},
"package": {
"ecosystem": "npm",
"name": "openclaw"
},
"ranges": [
{
"events": [
{
"introduced": "2026.1.21"
},
{
"fixed": "2026.2.19"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-31995"
],
"database_specific": {
"cwe_ids": [
"CWE-78"
],
"github_reviewed": true,
"github_reviewed_at": "2026-03-03T23:19:08Z",
"nvd_published_at": null,
"severity": "MODERATE"
},
"details": "### Summary\nOn Windows, the Lobster extension previously retried certain spawn failures (`ENOENT`/`EINVAL`) with `shell: true` for wrapper compatibility. In that fallback path, tool-provided arguments could be interpreted by `cmd.exe` if fallback was triggered.\n\n### Affected Packages / Versions\n- Package: `openclaw` (npm)\n- Latest published version at triage: `2026.2.17`\n- Affected range: `\u003e= 2026.1.21 \u003c= 2026.2.17`\n- Patched version: `2026.2.19` (pre-set for next release)\n\n### Fix\nThe Windows shell fallback was removed. Wrapper compatibility is preserved by resolving `.cmd`/`.bat` shims to a concrete Node entrypoint (or executable) and executing with explicit argv (no shell). If a safe entrypoint cannot be resolved, execution now fails closed with a guided error.\n\n### Fix Commit(s)\n- `ba7be018da354ea9f803ed356d20464df0437916`\n\n### Severity Context\nThis issue requires Windows plus fallback-triggering conditions, and argument control through a local operator-defined workflow. \n\nOpenClaw thanks @tdjackey for reporting.",
"id": "GHSA-fg3m-vhrr-8gj6",
"modified": "2026-03-19T21:24:43Z",
"published": "2026-03-03T23:19:08Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/openclaw/openclaw/security/advisories/GHSA-fg3m-vhrr-8gj6"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31995"
},
{
"type": "WEB",
"url": "https://github.com/openclaw/openclaw/commit/ba7be018da354ea9f803ed356d20464df0437916"
},
{
"type": "PACKAGE",
"url": "https://github.com/openclaw/openclaw"
},
{
"type": "WEB",
"url": "https://www.vulncheck.com/advisories/openclaw-command-injection-via-windows-shell-fallback-in-lobster-extension"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N",
"type": "CVSS_V4"
}
],
"summary": "OpenClaw has Windows Lobster shell fallback command injection in constrained fallback path"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…