Skip to content
Heist/ feed
Back to feed
High

Claude HUD 0.0.12 Arbitrary Command Execution via COMSPEC Environment Variable

Type: advisorySources: OSV

Claude HUD through 0.0.12, patched in commit 234d9aa, contains a command injection vulnerability that allows local attackers to execute arbitrary commands by manipulating the COMSPEC environment variable. Attackers can set COMSPEC to an arbitrary binary path before claude-hud performs its version check, causing execFile() to execute the attacker-supplied executable with cmd.exe arguments, resulting in arbitrary code execution on Windows systems.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-47092
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 04:49 UTC · Revision 1

Source evidence

Claude HUD 0.0.12 Arbitrary Command Execution via COMSPEC Environment Variable

core-osv · Original source

Published 18 May 2026, 19:46 UTC

Claude HUD through 0.0.12, patched in commit 234d9aa, contains a command injection vulnerability that allows local attackers to execute arbitrary commands by manipulating the COMSPEC environment variable. Attackers can set COMSPEC to an arbitrary binary path before claude-hud performs its version check, causing execFile() to execute the attacker-supplied executable with cmd.exe arguments, resulting in arbitrary code execution on Windows systems.

osv:CVE-2026-47092
Complete source record
{
  "id": "b30f8cfd62c7d695927c6fb11c81814762d96ffaa6aed2041e3bac47055285f2",
  "url": "https://osv.dev/vulnerability/CVE-2026-47092",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Claude HUD 0.0.12 Arbitrary Command Execution via COMSPEC Environment Variable",
    "summary": "Claude HUD through 0.0.12, patched in commit 234d9aa, contains a command injection vulnerability that allows local attackers to execute arbitrary commands by manipulating the COMSPEC environment variable. Attackers can set COMSPEC to an arbitrary binary path before claude-hud performs its version check, causing execFile() to execute the attacker-supplied executable with cmd.exe arguments, resulting in arbitrary code execution on Windows systems.",
    "evidence": "osv:CVE-2026-47092",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-47092",
      "aliases": [
        "CVE-2026-47092"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/jarrodwatts/claude-hud",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "234d9aad919b51326a43bcf90b45ae35c23afc30"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:jarrodwatts:claude_hud:*:*:*:*:*:claude_code:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.0.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "234d9aad919b51326a43bcf90b45ae35c23afc30"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.0.12",
            "v0.0.10",
            "v0.0.9"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-47092.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.800680277Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47092.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-47092",
        "https://www.vulncheck.com/advisories/claude-hud-arbitrary-command-execution-via-comspec-environment-variable",
        "https://github.com/jarrodwatts/claude-hud/issues/485",
        "https://github.com/jarrodwatts/claude-hud/pull/487",
        "https://github.com/jarrodwatts/claude-hud/commit/234d9aad919b51326a43bcf90b45ae35c23afc30",
        "https://github.com/jarrodwatts/claude-hud"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-427"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47092.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-47092",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 518263,
  "published_at": "2026-05-18T19:46:48.302+00:00"
}