Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege user
-
DeliveryCraft session_id with absolute path or ../ traversal
-
ExploitPOST to /api/session/delete
-
ExecutionPath escapes SESSION_DIR boundary
-
PersistServer unlinks targeted JSON file
-
ImpactApplication data destroyed / integrity and availability loss
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 an authenticated session with the application (CVSS PR:L) and network reachability to the /api/session/delete endpoint. The concrete prerequisite is the ability to submit a crafted session_id parameter containing either an absolute path or '../' path-traversal sequences on a vulnerable (pre-PR #409) build; no user interaction is needed (UI:N). Impact is limited to deletion of files the service process can write, and the file must be reachable via the constructed '{sid}.json' path - so the primitive targets writable JSON files rather than arbitrary file types. Limiting factors: the required low-privilege authentication, the write-permission scope of the service account, and that the target path must end in the .json suffix appended by the handler. |
| Impact | Signals are largely consistent and point to a real but bounded risk. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) shows low-complexity remote exploitation requiring only low-privilege authentication, with high integrity and availability impact (VI:H/VA:H) and no confidentiality impact (VC:N) - matching a delete-only primitive. SSVC corroborates this: Technical Impact is 'total' but Exploitation is 'none' (no observed exploitation) and Automatable is 'no', because the attacker needs valid authentication and knowledge of writable target file paths. EPSS is low (0.09%) and the CVE is not in CISA KEV, so despite the moderate CVSS this is not currently a mass-exploitation event. The main risk drivers are the authentication requirement (PR:L limits exposure to users who already have some access) and the fact that impact is destruction of writable JSON files rather than code execution or data theft. This is a legitimate patch-soon issue for exposed Hermes WebUI instances, not an emergency drop-everything item, but the low attack complexity and public POC warrant prompt remediation where the UI is network-reachable. |
| Exploit ScenarioDerived | An attacker with a valid low-privilege Hermes WebUI account sends a POST to /api/session/delete with session_id set to a traversal string such as '../../../../var/lib/app/config' (or an absolute path), causing the server to resolve and unlink a JSON file outside SESSION_DIR. Public POC payloads exist - the upstream regression tests demonstrate both absolute-path and '../../../../' traversal deletions - and given AV:N/AC:L the request is trivial to craft and repeat against writable JSON files to corrupt application state. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Arbitrary file deletion in Hermes WebUI (nesquena/hermes-webui, all versions prior to the PR #409 fix) allows an authenticated attacker to delete arbitrary writable JSON files on the host by supplying an absolute path or path-traversal sequence in the session_id parameter of the /api/session/delete endpoint. Because the endpoint concatenates the unvalidated identifier onto SESSION_DIR without canonicalization, an attacker can escape the intended session directory and destroy files outside it. Publicly available exploit code exists (VulnCheck advisory and upstream regression tests demonstrate the payloads), but it is not listed in CISA KEV and EPSS is low (0.09%, 26th percentile), indicating no evidence of widespread automated exploitation.
RemediationAI
Vendor-released patch: upgrade to Hermes WebUI v0.50.132 (or the v0.50.32 tagged release), which incorporate the fix from pull request https://github.com/nesquena/hermes-webui/pull/409 (with follow-up https://github.com/nesquena/hermes-webui/pull/412 and commit 3cc5839bf303fa6758bfdac538507407a2929655). The fix adds a strict [0-9a-z_] character allow-list on session_id plus a canonical-path containment check (resolve() followed by relative_to(SESSION_DIR)). If you cannot upgrade immediately, restrict network access to the /api/session/delete endpoint and to the Hermes WebUI service generally (place it behind authenticated reverse-proxy access controls or bind it to localhost), which prevents remote reach at the cost of limiting legitimate remote use; additionally, run the service under a low-privilege account whose write access is confined to the session directory so that traversal payloads cannot reach sensitive files elsewhere on the host (trade-off: may require adjusting file ownership for other application data). Consult the VulnCheck advisory at https://www.vulncheck.com/advisories/nesquena-hermes-webui-arbitrary-file-deletion-via-unvalidated-session-id for details.
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
The vulnerability is a classic CWE-22 path traversal in a Python-based web UI. In api/routes.py the delete handler built the target path as SESSION_DIR / f"{sid}.json" using the client-supplied session_id directly, with no allow-list validation or canonical-path containment check. Python's pathlib treats an absolute path on the right side of the / operator as replacing the base entirely, and it does not collapse ../ segments, so both an absolute path (e.g. /etc/something) and a ../../../ traversal payload resolve outside SESSION_DIR. The upstream fix adds two defenses: a strict character allow-list restricting sid to [0-9a-z_], and a canonicalization check that calls .resolve() on the constructed path and then .relative_to(SESSION_DIR.resolve()), rejecting anything that escapes the boundary. CPE cpe:2.3:a:nesquena:hermes-webui identifies the single affected product.
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:N/VI:H/VA:H/SC:N/SI:N/SA:N
Remote, low-complexity, but requires low-privilege authentication (PR:L); delete-only primitive gives no confidentiality (C:N) yet high integrity and availability impact (I:H/A:H).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
Hermes WebUI contains an arbitrary file deletion vulnerability in the /api/session/delete endpoint that allows authenticated attackers to delete files outside the session directory by supplying an absolute path or path traversal payload in the session_id parameter. Attackers can exploit unvalidated session identifiers to construct paths that bypass the SESSION_DIR boundary and delete writable JSON files on the host system.
Executive ViewAI
Hermes WebUI contains a vulnerability allowing authenticated users to delete arbitrary JSON files on hosting systems through improper path validation in the session deletion endpoint. Publicly available exploit code exists, though no evidence of active exploitation has been identified. Organizations running unpatched versions face risk of data loss and potential service disruption.
Apply vendor patch.
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
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
Cross-profile workspace isolation bypass in Hermes WebUI before 0.51.521 allows an authenticated low-privilege user oper
EUVD-2026-24517
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB