{
  "id": "CVE-2026-31994",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31994",
  "published_at": "2026-03-19T01:00:52.737Z",
  "title": "OpenClaw \u003c 2026.2.19 - Local Command Injection via Unsafe cmd Argument Handling 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 local command injection vulnerability in Windows scheduled task script generation due to unsafe handling of cmd metacharacters and expansion-sensitive characters in gateway.cmd files. Local attackers with control over service script generation arguments can inject arbitrary commands by providing metacharacter-only values or CR/LF sequences that execute unintended code in the scheduled task context.",
  "cwe": "CWE-78",
  "cpes": [
    "cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.1,
    "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-mqr9-vqhq-3jxw"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/openclaw/openclaw/commit/280c6b117b2f0e24f398e5219048cd4cc3b82396"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
