Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege Hermes WebUI credentials
-
DeliveryPOST crafted session JSON with workspace set to filesystem root '/'
-
ExploitSession persists unrestricted workspace path bypassing resolve_trusted_workspace()
-
ExecutionIssue GET /api/file request with relative traversal path against poisoned session
-
ImpactReceive arbitrary file contents readable by WebUI process
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 low-privilege account on the target Hermes WebUI instance (CVSS PR:L confirmed from vector). The CVSS 4.0 AT:P (Attack Requirements Present) indicates a specific deployment condition gates realistic exploitation: per the vendor's release notes, severity is highest on instances bound to 0.0.0.0 or exposed on a LAN with password authentication - these are the conditions under which PR:L applies to network-reachable attackers. Pure localhost deployments limit the attacker population to local OS users. Exploitation is further constrained to files readable by the OS user account under which the WebUI process runs - root-owned files with restricted permissions (e.g., /etc/shadow) may not be accessible depending on WebUI service account privileges. There is no write or availability impact, so the attack is read-only. No special application-level role beyond basic authentication is required; the vulnerability does not depend on any optional feature toggle or non-default configuration beyond network exposure. |
| Impact | CVSS 4.0 scores this at 6.0 with network attack vector (AV:N), low complexity (AC:L), and low privileges required (PR:L), with a High confidentiality impact on the vulnerable component (VC:H) and no integrity or availability impact (VI:N, VA:N). The AT:P (Attack Requirements Present) modifier reflects that exploitation is not universally achievable across all configurations - reducing the score from what a pure AV:N/AC:L/PR:L profile would otherwise yield. Corroborating signals reinforce the moderate-to-low urgency: EPSS is 0.04% at the 12th percentile, SSVC rates exploitation as none and automatable as no with only partial technical impact, and there is no CISA KEV listing. No public exploit code has been identified at time of analysis. The realistic risk is concentrated on Hermes WebUI deployments exposed to untrusted networks or LANs where low-privileged user accounts exist - the vulnerability cannot be exploited unauthenticated. For localhost-only or single-user deployments, practical risk is materially lower. The absence of write or availability impact (VI:N, VA:N) means this is a confidentiality-only issue, though arbitrary file read against a WebUI process with broad filesystem access could expose credentials, private keys, or configuration secrets. |
| Exploit ScenarioDerived | An attacker with any valid Hermes WebUI account (low-privilege suffices) calls POST /api/session/import with a JSON payload containing 'workspace': '/' - bypassing all boundary validation and persisting the filesystem root as the session's workspace. The attacker then calls GET /api/file?session_id=<sid>&path=etc/passwd (or any other sensitive path such as .env files, SSH private keys, or application secrets), receiving the file contents served directly by the WebUI process. No public exploit code has been identified at time of analysis, but the exploit mechanism is explicit in the vendor's own release notes for v0.51.44, making independent reproduction trivial for any authenticated user. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
Path traversal in Hermes WebUI's session import endpoint allows authenticated low-privileged attackers to read arbitrary files accessible to the WebUI process. By importing a crafted session JSON with an unrestricted workspace value such as '/', an attacker bypasses the workspace boundary controls that govern every other workspace-bearing endpoint, then leverages the file API to exfiltrate any file readable by the WebUI process user. No active exploitation is confirmed (absent from CISA KEV), EPSS sits at 0.04% in the 12th percentile, and SSVC rates exploitation as none - but the CVSS 4.0 confidentiality impact is rated High, making this a meaningful risk for network-exposed deployments with authenticated user populations.
RemediationAI
Upgrade Hermes WebUI to version 0.51.44 (Release T) or later, which applies workspace validation via resolve_trusted_workspace() to the session import endpoint, closing the path traversal gap - the fix is in commit f00cb74f776f22f02f5eb6b39dfb389f87cc7fd3 and the release is available at https://github.com/nesquena/hermes-webui/releases/tag/v0.51.44. If immediate upgrade is not feasible, block or restrict the POST /api/session/import endpoint at the reverse proxy or WAF layer to prevent crafted imports - note this disables legitimate session import functionality as a trade-off. Additionally, avoid binding the WebUI to 0.0.0.0 on untrusted networks; restrict binding to localhost (127.0.0.1) or a trusted interface to reduce the PR:L attack surface to local accounts only. Audit existing sessions in the database for unexpected workspace values set to filesystem roots such as '/' or '/etc' as an indicator of prior exploitation.
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
The vulnerable component is Hermes WebUI by nesquena (CPE: cpe:2.3:a:nesquena:hermes-webui:*:*:*:*:*:*:*:*), a web-based AI assistant interface. The root cause is CWE-22 (Path Traversal): the POST /api/session/import endpoint read the 'workspace' field directly from attacker-supplied JSON without passing it through resolve_trusted_workspace() - the sanitization function already applied to all other workspace-bearing API endpoints. This omission allowed an arbitrary filesystem path (e.g., '/') to be persisted on the Session object. Once stored, the /api/file endpoint, which constructs file paths by joining the session's workspace with caller-supplied relative paths, would resolve traversal sequences against the attacker-controlled root rather than a restricted workspace directory. The CVSS 4.0 AT:P (Attack Requirements Present) component confirms that specific deployment conditions - particularly instances bound to 0.0.0.0 or LAN-exposed with password authentication - elevate exposure, consistent with the vendor's own severity characterization in the release notes.
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:P/PR:L/UI:N/VC:H/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
1DescriptionCVE.org
Hermes WebUI prior to 0.51.44 - Release T contains a path traversal vulnerability in the session import endpoint that allows authenticated attackers to read arbitrary files by importing a crafted session with an unrestricted workspace value. Attackers can supply a blocked filesystem root in the workspace field and subsequently use relative paths in the session file API to access any file readable by the 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-30109
GHSA-wvw9-5wfm-7729
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB