Skip to main content

hermes-webui CVE-2026-6829

| EUVDEUVD-2026-24506 MEDIUM
Path Traversal (CWE-22)
2026-04-21 VulnCheck GHSA-rppv-5944-crmm
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to hermes-webui
  2. Delivery
    POST crafted workspace path to /api/session/new or sibling endpoint
  3. Exploit
    Application resolves path without containment check
  4. Execution
    Session workspace redirected to attacker-chosen directory
  5. Impact
    Use native hermes-webui file APIs to read or overwrite arbitrary OS files

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 a valid authenticated hermes-webui session; the CVSS 4.0 vector specifies PR:L (low privileges), confirming any logged-in user can exploit this without administrative rights. No special server configuration is required - the vulnerability exists in the default handling of workspace path parameters across all four endpoints in affected versions. The attacker supplies a path to any existing directory on disk as the workspace value in a POST body. Exploitation is limited by: (1) the requirement for a valid authenticated session - unauthenticated attackers cannot reach these endpoints; (2) the OS-level permissions of the hermes-webui process user - files and directories inaccessible to the process remain protected regardless of the path supplied; and (3) SSVC Automatable:no, indicating the attack cannot be trivially scripted for mass targeting across instances.

Impact

The NVD-reported CVSS 4.0 score is 5.3 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L), reflecting partial impact. However, the PR CHANGELOG independently assessed this at CVSS 3.1 8.8 High (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), a significant discrepancy that is not reconciled in available sources - likely reflecting differing views on scope and the practical depth of file access once the workspace is redirected. The real-world blast radius is closer to the higher estimate: an attacker who redirects the workspace to /root/.ssh or /etc can exfiltrate or overwrite sensitive files using native application APIs with no additional exploit primitives. EPSS of 0.03% (9th percentile) and SSVC Exploitation:none with Automatable:no indicate no observed mass or automated exploitation. Not listed in CISA KEV. For most environments the EPSS and SSVC signals support a medium-priority patch cadence, but deployments running hermes-webui as a privileged process user with broad filesystem access should treat this as high priority.

Exploit ScenarioDerived

An authenticated hermes-webui user sends a POST request to /api/session/new with the workspace field set to /root/.ssh. The application resolves and accepts the path without containment checks, silently redirecting the session workspace. The attacker then uses hermes-webui's standard file listing and read APIs - operating entirely within normal application functionality - to retrieve id_rsa private keys or authorized_keys, all within the OS permissions of the hermes-webui process user.

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 – Jul 24, 2026

Path traversal in nesquena hermes-webui allows any authenticated user to redirect a session workspace to an arbitrary existing directory on the host filesystem by supplying attacker-controlled paths to four POST endpoints. Once the workspace is redirected, the attacker leverages the application's own file read and write APIs to access or modify files well outside the intended workspace sandbox, bounded only by the OS-level permissions of the hermes-webui process. No public exploit is identified at time of analysis and this is not listed in CISA KEV; vendor-patched release v0.50.34 is available.

RemediationAI

Upgrade to hermes-webui v0.50.34, available at the GitHub release tag https://github.com/nesquena/hermes-webui/releases/tag/v0.50.34 and as commit 2a7a5ddfaf39e3b0094b7ac37e9f1dbcf40a3918 (https://github.com/nesquena/hermes-webui/commit/2a7a5ddfaf39e3b0094b7ac37e9f1dbcf40a3918). This release introduces resolve_trusted_workspace() in api/workspace.py and applies it to all four vulnerable endpoints, rejecting out-of-root paths with HTTP 400. As a compensating control before patching, run the hermes-webui process under a dedicated OS user account with read/write permissions restricted to only the intended workspace directory tree, which limits the files an attacker can reach via workspace redirection without eliminating the vulnerability itself - a trade-off between operational ease and exposure reduction. Additionally, restrict network access to the hermes-webui API to trusted authenticated users only, reducing the pool of potential attackers.

Affected VersionsENISA

hermes-webui 0 <PR #416

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

hermes-webui (CPE: cpe:2.3:a:nesquena:hermes-webui:*:*:*:*:*:*:*:*) is a web-based UI for AI agent workflows. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), a trust-boundary failure in which the application expanded and resolved caller-supplied workspace paths via Python's Path(path).expanduser().resolve() but applied no containment check against the application's intended workspace root. This affected four POST endpoints: /api/session/new, /api/session/update, /api/chat/start, and /api/workspaces/add. The fix, introduced in api/workspace.py as resolve_trusted_workspace(), resolves the candidate path and enforces candidate.relative_to(_BOOT_DEFAULT_WORKSPACE) containment, returning HTTP 400 for any path outside the boot-time workspace root. The BOOT_DEFAULT_WORKSPACE anchor respects the HERMES_WEBUI_DEFAULT_WORKSPACE environment variable, ensuring consistency between the application's workspace root and what new_session() seeds as the initial workspace.

Know when Hermes Webui 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 5.3 MEDIUM
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
vuln.today AI 9.9 CRITICAL

Network endpoints require an authenticated session (PR:L); path traversal escapes the application workspace boundary (S:C), enabling full read and write of arbitrary OS files (C:H/I:H); availability impact is secondary and partial (A:L).

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:L/SI:H/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
CVSS changed
Apr 21, 2026 - 22:22 NVD
6.3 (MEDIUM) 5.3 (MEDIUM)
Patch released
Apr 21, 2026 - 22:16 nvd
Patch available
CVE Published
Apr 21, 2026 - 21:09 nvd
MEDIUM 5.3

DescriptionCVE.org

nesquena hermes-webui contains a trust-boundary failure vulnerability that allows authenticated attackers to set or change a session workspace to an arbitrary existing directory on disk by manipulating workspace path parameters in endpoints such as /api/session/new, /api/session/update, /api/chat/start, and /api/workspaces/add. Attackers can repoint a session workspace to a directory outside the intended trusted root and then use ordinary file read and write APIs to access or modify files outside the intended workspace boundary within the permissions of the hermes-webui process.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Prevalence
Rare
niche AI agent WebUI, limited enterprise footprint
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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.

CVE-2026-58123 CRITICAL POC
9.3 Jul 09

Unauthenticated remote code execution in Hermes WebUI before version 0.51.788 lets remote attackers run arbitrary shell

CVE-2026-6832 HIGH POC
7.2 Apr 21

Arbitrary file deletion in Hermes WebUI (nesquena/hermes-webui, all versions prior to the PR #409 fix) allows an authent

CVE-2026-58122 CRITICAL
9.3 Jul 09

Authentication bypass in Hermes WebUI before 0.51.307 lets unauthenticated remote attackers reach onboarding endpoints t

CVE-2026-55196 CRITICAL
9.1 Jun 17

Authentication bypass in Hermes WebUI before 0.51.409 allows unauthenticated remote attackers to register the first pass

CVE-2026-49973 CRITICAL
9.2 Jun 11

Unauthenticated initial-setup hijack in Hermes WebUI before 0.51.358 allows any remote attacker who can reach the settin

CVE-2026-53871 HIGH
8.6 Jun 17

Cross-profile authorization bypass in Hermes WebUI before 0.51.368 allows authenticated users to access sessions, files,

CVE-2026-55198 HIGH
7.1 Jun 17

Cross-profile session data exfiltration in Hermes WebUI before 0.51.443 lets any authenticated user retrieve session tra

CVE-2026-55197 HIGH
7.1 Jun 17

Cross-profile session disclosure in Hermes WebUI before 0.51.443 lets any authenticated user retrieve conversation trans

CVE-2026-11322 HIGH
7.1 Jun 04

Information disclosure in Hermes WebUI before v0.51.221 allows authenticated remote attackers to read arbitrary files ou

CVE-2026-49956 HIGH
7.1 Jun 09

Cross-profile data disclosure in Hermes WebUI before 0.51.269 allows authenticated users to read session titles and tran

CVE-2026-55205 MEDIUM
6.9 Jun 18

Resource exhaustion in Hermes WebUI before 0.51.468 exposes an unauthenticated POST /api/onboarding/oauth/start endpoint

CVE-2026-49955 MEDIUM
6.9 Jun 09

Resource exhaustion in Hermes WebUI before v0.51.270 allows unauthenticated remote attackers to degrade service availabi

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