A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-47091

CVE-2026-47091: Claude HUD Path Traversal Vulnerability

CVE-2026-47091 is a path traversal flaw in Claude HUD through version 0.0.12 that enables attackers to read arbitrary files via unvalidated JSON input. This article covers technical details, affected versions, and mitigation.

Published: May 21, 2026

CVE-2026-47091 Overview

CVE-2026-47091 is a path traversal vulnerability [CWE-22] in Claude HUD versions through 0.0.12. The flaw allows local attackers to read arbitrary files by supplying an unvalidated transcript_path value via stdin JSON. The vulnerable code accepts any path string and resolves it without canonicalization or allow-list checks. Any file readable by the process becomes accessible to the attacker. The tool also writes file metadata to a persistent cache with insufficient permissions, producing a forensic record of accessed paths that survives process exit. The maintainer patched the issue in commit 234d9aa.

Critical Impact

Local attackers supplying crafted stdin JSON can read arbitrary files accessible to the Claude HUD process and persist metadata about those reads in a world-readable cache.

Affected Products

  • Claude HUD versions through 0.0.12
  • src/transcript.ts transcript path handling component
  • Fixed in commit 234d9aad919b51326a43bcf90b45ae35c23afc30

Discovery Timeline

  • 2026-05-18 - CVE-2026-47091 published to NVD
  • 2026-05-18 - Last updated in NVD database

Technical Details for CVE-2026-47091

Vulnerability Analysis

Claude HUD reads JSON input from stdin and extracts a transcript_path field. The pre-patch code passes this value directly to fs.statSync and subsequent file read operations. No canonicalization, no allow-list, and no boundary check confines the path to a safe directory. An attacker controlling stdin can supply paths like ../../../../etc/passwd or absolute paths to any readable file. The process then reads the file and writes its metadata to a transcript cache file under the HUD plugin directory. Because the cache is written with insufficient permissions, other local users can enumerate which paths were accessed.

Root Cause

The root cause is missing input validation on the transcript_path parameter. The function readTranscriptFileState accepted any string and dereferenced it through filesystem APIs without resolving symlinks or verifying the canonical path stayed within an expected base directory.

Attack Vector

Exploitation requires local access and the ability to send JSON to the Claude HUD process via stdin. The attacker submits a JSON payload containing a transcript_path field pointing to a target file. Claude HUD reads the file and caches metadata about the access. The attack does not require elevated privileges beyond running the HUD process.

typescript
// Security patch in src/transcript.ts - introduces canonicalization
   return path.join(getHudPluginDir(homeDir), 'transcript-cache', `${hash}.json`);
 }
 
+function canonicalizeTranscriptPath(transcriptPath: string): string | null {
+  try {
+    return fs.realpathSync(transcriptPath);
+  } catch {
+    return null;
+  }
+}
+
 function readTranscriptFileState(transcriptPath: string): TranscriptFileState | null {
   try {
     const stat = fs.statSync(transcriptPath);
// Source: https://github.com/jarrodwatts/claude-hud/commit/234d9aad919b51326a43bcf90b45ae35c23afc30

The patch adds canonicalizeTranscriptPath, which calls fs.realpathSync to resolve symlinks and produce the absolute on-disk path before further processing. A companion change in src/git.ts wraps branch names with encodeURIComponent to harden generated links.

Detection Methods for CVE-2026-47091

Indicators of Compromise

  • Entries in the transcript-cache directory referencing paths outside expected project or workspace directories.
  • Cache JSON files with metadata for sensitive paths such as /etc/passwd, SSH keys, or credential stores.
  • Cache files with world-readable permissions exposing accessed file paths to other local users.

Detection Strategies

  • Audit the Claude HUD plugin directory for cache entries whose transcript_path field points outside the user's project workspace.
  • Inspect installed Claude HUD versions and flag any release at or below 0.0.12 as vulnerable.
  • Monitor process telemetry for the HUD binary opening files unrelated to transcript data, particularly under /etc, ~/.ssh, or other sensitive paths.

Monitoring Recommendations

  • Enable filesystem auditing on directories containing credentials and SSH keys to catch unexpected reads by the HUD process.
  • Track stdin-driven invocations of Claude HUD and log the resolved transcript_path values for review.
  • Alert on creation of new files in transcript-cache referencing absolute paths or sequences containing ../.

How to Mitigate CVE-2026-47091

Immediate Actions Required

  • Upgrade Claude HUD to a release containing commit 234d9aa or later, which adds path canonicalization.
  • Remove or restrict permissions on existing transcript-cache directories to prevent local enumeration of previously accessed paths.
  • Restrict who can pipe stdin to the Claude HUD process on shared systems.

Patch Information

The fix is committed in GitHub commit 234d9aa and merged via pull request #487. Tracking discussion is in issue #485. Additional context is published in the VulnCheck Security Advisory.

Workarounds

  • Run Claude HUD under a dedicated low-privilege user account that has no access to sensitive files beyond its workspace.
  • Tighten permissions on the HUD plugin directory so the cache is readable only by the owning user.
  • Avoid invoking Claude HUD with untrusted stdin sources until the patched version is deployed.
bash
# Restrict cache directory permissions and verify patched version
chmod 700 ~/.claude-hud/transcript-cache
npm ls claude-hud
npm install claude-hud@latest

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechClaude

  • SeverityMEDIUM

  • CVSS Score4.8

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Commit Update

  • GitHub Issue Report

  • GitHub Pull Request

  • VulnCheck Security Advisory
  • Related CVEs
  • CVE-2026-44467: Claude Desktop SSH Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English