Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local low-privilege shell access
-
DeliveryCraft stdin JSON with traversal transcript_path
-
ExploitPipe payload to Claude HUD process
-
ExecutionClaude HUD reads target file outside working directory
-
PersistFile path metadata written to world-readable cache
-
ImpactRead 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 |
| 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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
2DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
More in Claude Hud
View allLocal privilege code execution in jarrodwatts/claude-hud through version 0.0.12 on Windows allows authenticated local us
Terminal injection in Claude HUD through version 0.0.12 allows an attacker who controls a Git branch name or working dir
EUVD-2026-30800
GHSA-4524-x6pc-rr9x
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB