Hermes WebUI Arbitrary File Deletion Vulnerability via Unvalidated Session ID

Vulnerability

A vulnerability allowing arbitrary file deletion has been identified in Hermes WebUI, specifically within the '/api/session/delete' endpoint. This issue arises from the acceptance of unvalidated session identifiers, which can be exploited by authenticated attackers to delete files outside the designated session directory. By providing an absolute path or a path traversal payload in the 'session_id' parameter, attackers can bypass the 'SESSION_DIR' boundary and remove writable JSON files from the host system.

Impact

Exploitation of this vulnerability allows authenticated attackers to delete arbitrary files on the host system, specifically writable JSON files, by manipulating the 'session_id' parameter to bypass directory restrictions.

Reproduction

To reproduce this vulnerability, send a POST request to the '/api/session/delete' endpoint with a 'session_id' parameter that includes either an absolute path or a path traversal payload. The server will process the request and delete the specified file, bypassing the session directory restrictions.

Remediation

Users are advised to update to Hermes WebUI version 0.50.32 or later, where this vulnerability has been addressed.

Added: Apr 22, 2026, 12:15 AM
Updated: Apr 22, 2026, 12:15 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
0.2
exploitability
6.3
remediation
0.0
relevance
6.2
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.