The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-6829

CVE-2026-6829: Hermes WebUI Path Traversal Vulnerability

CVE-2026-6829 is a path traversal flaw in Hermes WebUI that lets authenticated attackers access files outside intended workspace boundaries. This article covers technical details, affected versions, impact, and mitigation.

Published: April 23, 2026

CVE-2026-6829 Overview

CVE-2026-6829 is a trust-boundary failure vulnerability in nesquena hermes-webui that allows authenticated attackers to manipulate workspace path parameters to access arbitrary directories on disk. By exploiting vulnerable API endpoints such as /api/session/new, /api/session/update, /api/chat/start, and /api/workspaces/add, attackers can repoint a session workspace to directories outside the intended trusted root and subsequently use ordinary file read and write APIs to access or modify files within the permissions of the hermes-webui process.

Critical Impact

Authenticated attackers can escape the intended workspace sandbox to read or write sensitive files anywhere on the filesystem that the hermes-webui process has access to, potentially leading to data exfiltration, configuration tampering, or further system compromise.

Affected Products

  • nesquena hermes-webui versions prior to v0.50.34

Discovery Timeline

  • 2026-04-21 - CVE-2026-6829 published to NVD
  • 2026-04-22 - Last updated in NVD database

Technical Details for CVE-2026-6829

Vulnerability Analysis

This vulnerability stems from insufficient validation of user-supplied workspace path parameters in the hermes-webui application. The application provides multiple API endpoints that accept workspace directory paths as input parameters but fails to properly validate that these paths remain within the application's intended trusted workspace root. An authenticated user can supply arbitrary filesystem paths—including absolute paths or paths using traversal sequences—to escape the designated workspace boundary.

Once an attacker successfully sets a session workspace to an arbitrary directory, they gain the ability to leverage the application's built-in file manipulation APIs to read, write, or modify files anywhere the hermes-webui process has filesystem permissions. This trust-boundary failure can expose sensitive configuration files, credentials, application source code, or other confidential data present on the server.

Root Cause

The root cause is a path traversal vulnerability (CWE-22) arising from the lack of validation ensuring that user-supplied workspace paths remain within the application's trusted workspace root directory. The original implementation did not enforce containment of workspace paths to a designated sandbox, allowing paths outside the intended boundary to be accepted and used for file operations.

Attack Vector

The attack requires network access and authenticated credentials to the hermes-webui application. An authenticated attacker can craft malicious requests to vulnerable endpoints such as /api/session/new, /api/session/update, /api/chat/start, or /api/workspaces/add with manipulated workspace path parameters. The attack flow involves:

  1. Authenticating to the hermes-webui application
  2. Sending a request to one of the vulnerable endpoints with a workspace path pointing to a sensitive directory (e.g., /etc, /home, or application configuration directories)
  3. Using the application's file read/write APIs to access or modify files within that directory
  4. Extracting sensitive data or implanting malicious content

The security patch introduces the resolve_trusted_workspace function to validate workspace paths:

python
def resolve_trusted_workspace(path: str | Path | None = None) -> Path:
    """Resolve and validate a workspace path under the WebUI's trusted workspace root.

    The trusted root is the WebUI boot-time DEFAULT_WORKSPACE (respects
    HERMES_WEBUI_STATE_DIR for test isolation). Session creation/update and
    workspace-list mutations must stay within that root so callers cannot repoint
    a session to arbitrary filesystem locations outside the intended sandbox.

    Note: _profile_default_workspace() reads the agent's terminal.cwd which may
    differ from the WebUI's configured workspace root — always use DEFAULT_WORKSPACE
    here to stay consistent with how new_session() seeds the initial workspace.
    """
    root = Path(_BOOT_DEFAULT_WORKSPACE).expanduser().resolve()
    candidate = root if path in (None, "") else Path(path).expanduser().resolve()
    if not candidate.exists():
        raise ValueError(f"Path does not exist: {candidate}")
    if not candidate.is_dir():
        raise ValueError(f"Path is not a directory: {candidate}")
    try:
        candidate.relative_to(root)
    except ValueError:
        raise ValueError(f"Path is outside the trusted workspace root: {candidate}")
    return candidate

Source: GitHub Commit

Detection Methods for CVE-2026-6829

Indicators of Compromise

  • Unusual API requests to /api/session/new, /api/session/update, /api/chat/start, or /api/workspaces/add containing absolute filesystem paths or path traversal sequences (../)
  • Session workspace values pointing to system directories such as /etc, /root, /home, or application configuration directories
  • File access logs showing reads or writes to sensitive files outside the intended workspace directory
  • Anomalous authenticated user activity patterns targeting workspace-related endpoints

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block requests containing path traversal patterns in workspace-related API parameters
  • Monitor application logs for workspace path assignments that reference directories outside the expected workspace root
  • Deploy endpoint detection to identify file access operations by the hermes-webui process to sensitive system directories
  • Review audit logs for authenticated sessions making rapid changes to workspace configurations

Monitoring Recommendations

  • Enable verbose logging for all workspace-related API endpoints to capture full request parameters
  • Configure alerts for any workspace path that resolves outside the application's designated workspace root directory
  • Monitor file integrity of sensitive system files and directories that could be targeted via this vulnerability
  • Implement runtime application self-protection (RASP) to detect and block path traversal attempts

How to Mitigate CVE-2026-6829

Immediate Actions Required

  • Upgrade hermes-webui to version v0.50.34 or later immediately
  • Review application logs for any evidence of exploitation attempts targeting workspace manipulation endpoints
  • Audit current session workspaces to identify any pointing to directories outside the intended workspace root
  • Restrict network access to the hermes-webui application to trusted users and networks until patching is complete

Patch Information

The vulnerability has been addressed in hermes-webui version v0.50.34. The fix introduces the resolve_trusted_workspace function which validates that all workspace paths remain within the trusted workspace root directory established at application boot time. The patch ensures that any attempt to set a workspace path outside the sandbox results in a validation error.

For detailed information about the security fix, refer to:

  • GitHub Pull Request #416
  • GitHub Commit 2a7a5dd
  • GitHub Release v0.50.34

Workarounds

  • If immediate patching is not possible, implement network-level access controls to restrict who can access the hermes-webui application
  • Configure a reverse proxy with request filtering to block workspace path parameters containing path traversal sequences or absolute paths
  • Run the hermes-webui process with minimal filesystem permissions to limit the impact of potential exploitation
  • Use container isolation or chroot environments to restrict the application's filesystem view
bash
# Example: Running hermes-webui with restricted filesystem access using Docker
docker run --read-only \
  --tmpfs /tmp \
  -v /app/workspace:/workspace:rw \
  -e HERMES_WEBUI_STATE_DIR=/workspace \
  hermes-webui:v0.50.34

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechHermes Webui

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/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
  • AvailabilityLow
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Commit Update

  • GitHub Pull Request

  • GitHub Release v0.50.34

  • VulnCheck Security Advisory
  • Latest CVEs
  • CVE-2026-31740: Linux Kernel Race Condition Vulnerability

  • CVE-2026-31743: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31744: Linux Kernel NULL Pointer Vulnerability

  • CVE-2026-31745: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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