{
  "id": "CVE-2026-22217",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-22217",
  "published_at": "2026-03-18T01:34:25.5Z",
  "title": "OpenClaw 2026.2.22 \u003c 2026.2.23 - Arbitrary Binary Execution via $SHELL Environment Variable Trusted Prefix Fallback",
  "vendor": "OpenClaw",
  "product": "OpenClaw",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "OpenClaw version 2026.2.22 prior to 2026.2.23 contains 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.",
  "cwe": "CWE-829",
  "cpes": [
    "cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.1,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "OpenClaw",
        "product": "OpenClaw",
        "ranges": [
          "\u003e= 2026.2.22, \u003c 2026.2.23"
        ],
        "fixed_in": [
          "2026.2.23"
        ]
      }
    ],
    "upgrade": [
      "Upgrade OpenClaw to 2026.2.23 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/openclaw/openclaw/security/advisories/GHSA-p4wh-cr8m-gm6c"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/openclaw/openclaw/commit/ff10fe8b91670044a6bb0cd85deb736a0ec8fb55"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
