{
  "id": "CVE-2026-22176",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-22176",
  "published_at": "2026-03-19T01:00:42.893Z",
  "title": "OpenClaw \u003c 2026.2.19 - Command Injection via Unescaped Environment Variables in Windows Scheduled Task Script Generation",
  "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 versions prior to 2026.2.19 contain a command injection vulnerability in Windows Scheduled Task script generation where environment variables are written to gateway.cmd using unquoted set KEY=VALUE assignments, allowing shell metacharacters to break out of assignment context. Attackers can inject arbitrary commands through environment variable values containing metacharacters like \u0026, |, ^, %, or ! to achieve command execution when the scheduled task script is generated and executed.",
  "cwe": "CWE-78",
  "cpes": [
    "cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.9,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "OpenClaw",
        "product": "OpenClaw",
        "ranges": [
          "\u003c 2026.2.19"
        ],
        "fixed_in": [
          "2026.2.19"
        ]
      }
    ],
    "upgrade": [
      "Upgrade OpenClaw to 2026.2.19 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/openclaw/openclaw/security/advisories/GHSA-pj5x-38rw-6fph"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/openclaw/openclaw/commit/dafe52e8cf1a041d898cfb304a485fa05e5f58fb"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
