Skip to main content

Claude HUD CVE-2026-47092

| EUVDEUVD-2026-30802 HIGH
Uncontrolled Search Path Element (CWE-427)
2026-05-18 VulnCheck GHSA-p5qq-v9mc-39ff
7.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local foothold on Windows host
  2. Delivery
    Stage malicious executable on writable path
  3. Exploit
    Set COMSPEC to malicious binary in target environment
  4. Execution
    Trigger claude-hud version check
  5. Persist
    execFile() launches attacker binary with cmd.exe args
  6. Impact
    Arbitrary code execution as invoking user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path element control
Exploitation Conditions

Exploitation requires (1) the target host to be Windows, since COMSPEC is the Windows cmd.exe locator; (2) a local attacker with the ability to control the COMSPEC environment variable in the process environment that launches claude-hud (matching CVSS PR:L and AT:P - a present attack requirement); (3) claude-hud version ≤ 0.0.12 invoking its version-check code path that calls execFile() against COMSPEC; and (4) a writable filesystem location where the attacker can stage the substitute executable that COMSPEC will point to. Limiting factors: no network reachability (AV:L), no user interaction is needed once the environment is poisoned (UI:N), scope is unchanged (SC:N) so impact is confined to the user context running claude-hud, and non-Windows installations are unaffected.

Impact

The CVSS 4.0 vector AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H yields 7.3 and accurately reflects a local, low-complexity attack requiring some pre-existing privileges (PR:L) and a specific attack precondition (AT:P) - namely the ability to mutate the COMSPEC variable in the process environment that launches claude-hud. There is no EPSS score, KEV listing, or known public PoC supplied, so this is not a mass-exploitation candidate; realistic abuse is as a local privilege-escalation or persistence primitive on Windows endpoints where claude-hud is invoked by a higher-privileged context or as a developer-tool sandbox-escape. Confidence signals are mixed: vendor patch and a VulnCheck advisory are confirmed, but exploitation telemetry is absent, so prioritize this for developer workstations running claude-hud rather than as a fleet-wide emergency.

Exploit ScenarioDerived

A local attacker with the ability to set environment variables for a target user's shell (for example, via a malicious .env file, a poisoned launcher script, or a foothold on a developer workstation) places a malicious executable on disk and sets COMSPEC to point to it. When the user or an automated workflow runs claude-hud, the version-check path calls execFile() against COMSPEC, executing the attacker's binary with cmd.exe arguments - yielding code execution in the invoking user's security context. No public exploit is identified at time of analysis, but the patch diff makes the call site obvious.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 18, 2026

Local privilege code execution in jarrodwatts/claude-hud through version 0.0.12 on Windows allows authenticated local users to run arbitrary executables by setting the COMSPEC environment variable before the tool's version check, where execFile() launches whatever binary COMSPEC points to with cmd.exe-style arguments. The flaw is tracked as CWE-427 (Uncontrolled Search Path Element) and was reported by VulnCheck; no public exploit identified at time of analysis, but the upstream commit 234d9aa makes the fix mechanics straightforward to reverse-engineer.

RemediationAI

Upgrade claude-hud to the release containing upstream fix commit 234d9aad919b51326a43bcf90b45ae35c23afc30 (merged via PR #487); the project notes versions after 0.0.12 are patched, and an exact released tag should be confirmed against the repository releases page before rollout. If immediate upgrade is not possible, compensating controls on Windows are to unset or hardcode COMSPEC to %SystemRoot%\System32\cmd.exe in any shell or service that launches claude-hud, restrict who can modify environment variables for that process (avoid running claude-hud from contexts where lower-privileged users can influence the environment block), and avoid invoking claude-hud from elevated or service accounts until patched - the trade-off is that altering COMSPEC globally can break legitimate scripts that expect a customized command processor.

Affected VersionsENISA

claude-hud patch: 234d9aad919b51326a43bcf90b45ae35c23afc30
claude-hud 0 ≤0.0.12

Affected Packages

euvd claude_hud no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

claude-hud is a Node.js-based status/HUD utility (cpe:2.3:a:jarrodwatts:claude-hud) that shells out to cmd.exe on Windows to perform a version check. It uses Node's child_process.execFile() but resolves the interpreter via the COMSPEC environment variable rather than a hardened absolute path, which maps directly to CWE-427: the program trusts an externally controllable search/path element to locate a critical binary. Because execFile() does not invoke a shell, the issue is not classic shell metacharacter injection but rather a binary-substitution flaw - whatever path COMSPEC names is executed verbatim, with cmd.exe's argument list appended.

Know when Claude Hud gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.3 HIGH
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

Primary rating from Vendor (VulnCheck) · only source for this CVE.

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
May 18, 2026 - 20:22 NVD
7.8 (HIGH) 7.3 (HIGH)

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Claude-hud on Windows allows local users with system access to escalate their privileges and execute arbitrary code through an environment variable handling flaw. This creates critical risk pathways for compromised accounts and insider threats to gain elevated system access. Organizations should immediately identify affected systems and apply available patches to prevent data theft, system compromise, and potential lateral movement.

Business Impact: High
Compensating Controls

Apply vendor patch. If patching is delayed: restrict local user account privileges on affected systems, implement application whitelisting to prevent arbitrary binary execution, and establish monitoring for COMSPEC environment variable modifications.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment NEWS GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy