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 exists due to improper limitation of pathname inputs (CWE-22) in the hermes-webui product by nesquena. Authenticated users can supply an absolute path or path traversal payload in the session_id parameter to the /api/session/delete API endpoint, bypassing the SESSION_DIR boundary. This enables deletion of files outside the intended directory, potentially impacting system integrity by removing writable JSON files on the host. The CVSS 4.0 base score is 7.2 (high), reflecting network attack vector, low attack complexity, no user interaction, and high impact on confidentiality and availability. No patch or vendor advisory is currently available, and no known exploits are reported in the wild.
Potential Impact
Successful exploitation allows an authenticated attacker to delete arbitrary files on the host system outside the designated session directory. This can lead to loss of important JSON configuration or data files, potentially disrupting application functionality or causing data loss. The vulnerability impacts confidentiality and availability with high severity as per CVSS 4.0 scoring.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the /api/session/delete endpoint to trusted users only and monitor for suspicious activity involving session_id parameters. Consider implementing additional input validation or web application firewall rules to block path traversal payloads targeting this endpoint.
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
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists due to improper limitation of pathname inputs (CWE-22) in the hermes-webui product by nesquena. Authenticated users can supply an absolute path or path traversal payload in the session_id parameter to the /api/session/delete API endpoint, bypassing the SESSION_DIR boundary. This enables deletion of files outside the intended directory, potentially impacting system integrity by removing writable JSON files on the host. The CVSS 4.0 base score is 7.2 (high), reflecting network attack vector, low attack complexity, no user interaction, and high impact on confidentiality and availability. No patch or vendor advisory is currently available, and no known exploits are reported in the wild.
Potential Impact
Successful exploitation allows an authenticated attacker to delete arbitrary files on the host system outside the designated session directory. This can lead to loss of important JSON configuration or data files, potentially disrupting application functionality or causing data loss. The vulnerability impacts confidentiality and availability with high severity as per CVSS 4.0 scoring.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the /api/session/delete endpoint to trusted users only and monitor for suspicious activity involving session_id parameters. Consider implementing additional input validation or web application firewall rules to block path traversal payloads targeting this endpoint.
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: 4/21/2026, 10:01:14 PM
Last enriched: 5/14/2026, 2:11:47 AM
Last updated: 6/2/2026, 8:35:34 PM
Views: 87
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.