{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "2026.2.22"
              },
              {
                "fixed": "2026.2.23"
              }
            ]
          },
          "events": [
            {
              "introduced": "a54dc7fe80fc02e2a02e6901668a468fcb0cf8b4"
            },
            {
              "fixed": "b817600533129771ace2801d7c05901c7f850fb8"
            },
            {
              "fixed": "ff10fe8b91670044a6bb0cd85deb736a0ec8fb55"
            }
          ],
          "repo": "https://github.com/openclaw/openclaw",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-p4wh-cr8m-gm6c"
  ],
  "details": "OpenClaw version 2026.2.22 prior to 2026.2.23 contain an arbitrary code execution vulnerability in shell-env that allows attackers to execute attacker-controlled binaries by exploiting trusted-prefix fallback logic for the $SHELL variable. An attacker can influence the $SHELL environment variable on systems with writable trusted-prefix directories such as /opt/homebrew/bin to execute arbitrary binaries in the OpenClaw process context.",
  "id": "CVE-2026-22217",
  "modified": "2026-04-01T23:08:32.222940092Z",
  "published": "2026-03-18T02:16:23.003Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/openclaw-arbitrary-binary-execution-via-shell-environment-variable-trusted-prefix-fallback"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/openclaw/openclaw/security/advisories/GHSA-p4wh-cr8m-gm6c"
    },
    {
      "type": "FIX",
      "url": "https://github.com/openclaw/openclaw/commit/ff10fe8b91670044a6bb0cd85deb736a0ec8fb55"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}