Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to hermes-webui
-
DeliveryPOST crafted workspace path to /api/session/new or sibling endpoint
-
ExploitApplication resolves path without containment check
-
ExecutionSession workspace redirected to attacker-chosen directory
-
ImpactUse 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.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
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 Hermes Webui
View allUnauthenticated remote code execution in Hermes WebUI before version 0.51.788 lets remote attackers run arbitrary shell
Arbitrary file deletion in Hermes WebUI (nesquena/hermes-webui, all versions prior to the PR #409 fix) allows an authent
Authentication bypass in Hermes WebUI before 0.51.307 lets unauthenticated remote attackers reach onboarding endpoints t
Authentication bypass in Hermes WebUI before 0.51.409 allows unauthenticated remote attackers to register the first pass
Unauthenticated initial-setup hijack in Hermes WebUI before 0.51.358 allows any remote attacker who can reach the settin
Cross-profile authorization bypass in Hermes WebUI before 0.51.368 allows authenticated users to access sessions, files,
Cross-profile session data exfiltration in Hermes WebUI before 0.51.443 lets any authenticated user retrieve session tra
Cross-profile session disclosure in Hermes WebUI before 0.51.443 lets any authenticated user retrieve conversation trans
Information disclosure in Hermes WebUI before v0.51.221 allows authenticated remote attackers to read arbitrary files ou
Cross-profile data disclosure in Hermes WebUI before 0.51.269 allows authenticated users to read session titles and tran
Resource exhaustion in Hermes WebUI before 0.51.468 exposes an unauthenticated POST /api/onboarding/oauth/start endpoint
Resource exhaustion in Hermes WebUI before v0.51.270 allows unauthenticated remote attackers to degrade service availabi
EUVD-2026-24506
GHSA-rppv-5944-crmm
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB