Skip to main content

Claude HUD EUVDEUVD-2026-30800

| CVE-2026-47091 MEDIUM
Path Traversal (CWE-22)
2026-05-18 VulnCheck GHSA-4524-x6pc-rr9x
4.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Gain local low-privilege shell access
  2. Delivery
    Craft stdin JSON with traversal transcript_path
  3. Exploit
    Pipe payload to Claude HUD process
  4. Execution
    Claude HUD reads target file outside working directory
  5. Persist
    File path metadata written to world-readable cache
  6. Impact
    Read cache file to enumerate accessed sensitive paths

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two concrete prerequisites confirmed by the CVSS 4.0 vector and CVE description: (1) local system access with at least low-level privileges (AV:L/PR:L) - remote unauthenticated exploitation is ruled out by the vector; and (2) the ability to control the transcript_path field in JSON supplied to Claude HUD via stdin, meaning the attacker must be able to invoke Claude HUD directly or write to its stdin pipe. No special non-default configuration is required beyond the tool simply being present and executable by the attacker. The secondary cache-file disclosure has a different condition: it affects any local user who can read the cache directory, regardless of whether they triggered the traversal, and applies to cache files written before the mode: 0o600 fix was applied. What limits exploitation: the attacker cannot exceed the file-read permissions of the process running Claude HUD (files readable only by root are inaccessible unless Claude HUD runs as root), and exploitation is bounded to files on the local filesystem - no network-based attack path exists per the CVSS vector.

Impact

The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N) places this firmly in local-only, low-complexity territory: an attacker needs an authenticated local session and stdin control over a running Claude HUD process. Confidentiality impact is rated Low (VC:L), with no integrity or availability impact scored. EPSS data is absent from available intelligence sources, so exploitation probability cannot be quantified. The CVE is not listed in the CISA KEV catalog, and no public exploit code has been identified at time of analysis. Despite the moderate CVSS score, the secondary cache-file disclosure is a meaningful amplifier in multi-user environments: metadata about traversed paths persists to disk with world-readable permissions and is accessible to any local user even after Claude HUD exits, potentially revealing sensitive path names independently of the primary read. Organizations running Claude HUD on shared or multi-tenant Linux systems face elevated realistic risk relative to the raw score; single-user developer workstations are the lowest-risk deployment.

Exploit ScenarioDerived

A local attacker with a low-privilege shell on the machine running Claude HUD constructs a stdin JSON payload with transcript_path set to a traversal sequence such as ../../../../etc/shadow or ../../../home/targetuser/.ssh/id_rsa and pipes it to the Claude HUD process. The application resolves and reads the target file without boundary checks, and records the accessed path in the transcript cache file; if that cache file lacks restrictive permissions (as in pre-patch versions), any local user on the system can subsequently read the cache and enumerate which sensitive paths were accessed. No public exploit code has been identified at time of analysis, but the attack requires only standard shell access and knowledge of the stdin JSON schema.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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

Path traversal in Claude HUD through version 0.0.12 permits local low-privileged attackers to read arbitrary files by supplying a crafted transcript_path value via stdin JSON, bypassing all path validation. Beyond direct file read access, the application writes file metadata - including the accessed paths - to a persistent cache file with insufficiently restrictive permissions, leaving a forensic record readable by other local users that survives process termination. No public exploit code has been identified at time of analysis; CVSS 4.0 scores this 4.8 (Medium) reflecting local-only reach, and a vendor patch is available at commit 234d9aa.

RemediationAI

Apply the upstream patch from commit 234d9aad919b51326a43bcf90b45ae35c23afc30 (https://github.com/jarrodwatts/claude-hud/commit/234d9aad919b51326a43bcf90b45ae35c23afc30), which resolves the path traversal by introducing fs.realpathSync() canonicalization and cwd-boundary enforcement before processing any transcript_path value, and hardens cache file creation to use mode: 0o600. Users should build from the patched commit directly, as a tagged stable release incorporating this fix has not been independently confirmed; monitor https://github.com/jarrodwatts/claude-hud/releases for a versioned release. As an immediate compensating control where patching is not feasible, restrict which users can invoke Claude HUD or write to its stdin - since exploitation requires local access and stdin control, tightening process invocation permissions meaningfully reduces the attack surface, at the trade-off of limiting who can use the tool. Additionally, audit and restrict permissions on existing Claude HUD cache directories to prevent secondary path-metadata disclosure from pre-patch cache files already on disk. Full patch details are in PR https://github.com/jarrodwatts/claude-hud/pull/487.

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 (CPE: cpe:2.3:a:jarrodwatts:claude-hud:*:*:*:*:*:*:*:*) is a Node.js terminal overlay tool for Claude Code sessions that accepts structured JSON over stdin, including a transcript_path field pointing to a Claude conversation transcript. Prior to commit 234d9aa, this path was passed directly to file-reading functions in src/transcript.ts without canonicalization or directory-boundary enforcement - a textbook CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) root cause. The PR diff confirms the fix introduces canonicalizeTranscriptPath() using fs.realpathSync() to resolve symlinks and normalize traversal sequences, and resolvePathWithinCwd() which checks that the resolved absolute path does not escape the working directory via path.relative() prefix inspection. A secondary weakness was that writeTranscriptCache() called fs.writeFileSync() without an explicit mode, leaving cache file permissions subject to the process umask and potentially world-readable; the fix enforces { mode: 0o600 }. The same PR also adds sanitization of control and Unicode BiDi characters in display output and tightens hyperlink URI allowlists to https: and file: protocols.

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 4.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/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
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
May 18, 2026 - 20:22 NVD
LOW MEDIUM
CVSS changed
May 18, 2026 - 20:22 NVD
3.3 (LOW) 4.8 (MEDIUM)

DescriptionCVE.org

Claude HUD through 0.0.12, patched in commit 234d9aa, contains a path traversal vulnerability that allows attackers to read arbitrary files by supplying an unvalidated transcript_path value via stdin JSON. Attackers can access any file readable by the process and the file metadata is written to a persistent cache file with insufficient permissions, creating a forensic record of accessed paths that survives process exit.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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