CVE-2026-6832: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in nesquena hermes-webui
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.
AI Analysis
Technical Summary
The vulnerability in hermes-webui arises from improper limitation of pathname inputs (CWE-22) in the /api/session/delete endpoint. Authenticated users can supply an absolute path or path traversal payload in the session_id parameter, bypassing the SESSION_DIR boundary and deleting files outside the intended directory. This arbitrary file deletion flaw affects version 0 of the product and has a CVSS 4.0 score of 7.2, indicating high severity.
Potential Impact
Successful exploitation allows an authenticated attacker to delete arbitrary writable JSON files on the host system outside the designated session directory. This can disrupt application functionality or cause data loss. There is no indication of remote code execution or privilege escalation from the provided data.
Mitigation Recommendations
No official patch or remediation is currently available for this vulnerability. Users should monitor the vendor advisory for updates. Until a fix is released, restrict access to the /api/session/delete endpoint to trusted users only and consider implementing additional input validation or access controls to limit session_id parameter values.
CVE-2026-6832: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in nesquena hermes-webui
Description
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.
CVSS v4.0
Score 7.2high
Affected software
pkg:github/nesquena/hermes-webuiRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in hermes-webui arises from improper limitation of pathname inputs (CWE-22) in the /api/session/delete endpoint. Authenticated users can supply an absolute path or path traversal payload in the session_id parameter, bypassing the SESSION_DIR boundary and deleting files outside the intended directory. This arbitrary file deletion flaw affects version 0 of the product and has a CVSS 4.0 score of 7.2, indicating high severity.
Potential Impact
Successful exploitation allows an authenticated attacker to delete arbitrary writable JSON files on the host system outside the designated session directory. This can disrupt application functionality or cause data loss. There is no indication of remote code execution or privilege escalation from the provided data.
Mitigation Recommendations
No official patch or remediation is currently available for this vulnerability. Users should monitor the vendor advisory for updates. Until a fix is released, restrict access to the /api/session/delete endpoint to trusted users only and consider implementing additional input validation or access controls to limit session_id parameter values.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-04-21T21:38:22.208Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e7f3aa19fe3cd2cdfdaad3
Added to database: 04/21/2026, 22:01:14 UTC
Last enriched: 07/15/2026, 09:57:43 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 145
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.