{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "2026.1.21"
              },
              {
                "fixed": "2026.2.19"
              }
            ]
          },
          "events": [
            {
              "introduced": "80c1edc3ff43b3bd3b7b545eed79f303d992f7dc"
            },
            {
              "fixed": "2c05cbb43e48ebad03626d3125746fb1b9a8520f"
            },
            {
              "fixed": "ba7be018da354ea9f803ed356d20464df0437916"
            }
          ],
          "repo": "https://github.com/openclaw/openclaw",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-fg3m-vhrr-8gj6"
  ],
  "details": "OpenClaw versions 2026.1.21 prior to 2026.2.19 contain a command injection vulnerability in the Lobster extension's Windows shell fallback mechanism that allows attackers to inject arbitrary commands through tool-provided arguments. When spawn failures trigger shell fallback with shell: true, attackers can exploit cmd.exe command interpretation to execute malicious commands by controlling workflow arguments.",
  "id": "CVE-2026-31995",
  "modified": "2026-04-01T23:09:07.382150502Z",
  "published": "2026-03-19T02:16:04.707Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/openclaw/openclaw/security/advisories/GHSA-fg3m-vhrr-8gj6"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/openclaw-command-injection-via-windows-shell-fallback-in-lobster-extension"
    },
    {
      "type": "FIX",
      "url": "https://github.com/openclaw/openclaw/commit/ba7be018da354ea9f803ed356d20464df0437916"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}