CVE-2026-47092 Claude HUD 0.0.12 Arbitrary Command Execution via COMSPEC Environment Variable

High 7.3 Published Updated

Local attackers can execute arbitrary code on Windows by manipulating the COMSPEC environment variable before the application performs a version check.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-47092?

CVE-2026-47092 is a high-severity command injection vulnerability in jarrodwatts claude-hud, published on 18 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-427

Which versions are affected by CVE-2026-47092?

It affects 1 product.

Products include Jarrodwatts Claude Hud.

How do I fix CVE-2026-47092?

No fix has been published for CVE-2026-47092 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-47092 being exploited?

There is no known exploitation of CVE-2026-47092 in the wild and no public exploit code.

Sources

Also known as GHSA-p5qq-v9mc-39ff.

Is CVE-2026-47092 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free