CVE-2026-49957: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in nesquena hermes-webui
Hermes WebUI before version 0.51.296 contains a workspace boundary bypass vulnerability that allows authenticated attackers to circumvent blocked-root path checks by exploiting an early return in the SSH/remote terminal profile workspace resolution logic within _remote_terminal_workspace_candidate(). Attackers can configure a remote terminal working directory to a system directory such as /etc, causing the workspace resolution path to accept it as a trusted local workspace root before the _is_blocked_workspace_path() guard executes, enabling read access to local system files through workspace file-read helpers.
AI Analysis
Technical Summary
CVE-2026-49957 is a path traversal vulnerability in nesquena's Hermes WebUI prior to version 0.51.296. The issue arises from a workspace boundary bypass caused by an early return in the _remote_terminal_workspace_candidate() function during SSH/remote terminal profile workspace resolution. This flaw allows authenticated attackers to circumvent blocked-root path checks by configuring the remote terminal working directory to a system directory such as /etc. Consequently, the workspace resolution path accepts this directory as a trusted local workspace root before the _is_blocked_workspace_path() guard executes, enabling unauthorized read access to local system files via workspace file-read helpers.
Potential Impact
Authenticated attackers can bypass workspace path restrictions to read sensitive local system files, potentially exposing confidential information. The vulnerability does not require user interaction and has a medium severity with a CVSS 4.0 base score of 6.3. There is no indication of privilege escalation, remote code execution, or denial of service from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict authenticated user permissions to limit access to the remote terminal feature and monitor for suspicious activity related to workspace path configurations. Avoid exposing Hermes WebUI instances to untrusted networks if possible.
CVE-2026-49957: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in nesquena hermes-webui
Description
Hermes WebUI before version 0.51.296 contains a workspace boundary bypass vulnerability that allows authenticated attackers to circumvent blocked-root path checks by exploiting an early return in the SSH/remote terminal profile workspace resolution logic within _remote_terminal_workspace_candidate(). Attackers can configure a remote terminal working directory to a system directory such as /etc, causing the workspace resolution path to accept it as a trusted local workspace root before the _is_blocked_workspace_path() guard executes, enabling read access to local system files through workspace file-read helpers.
CVSS v4.0
Score 6.3medium
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-49957 is a path traversal vulnerability in nesquena's Hermes WebUI prior to version 0.51.296. The issue arises from a workspace boundary bypass caused by an early return in the _remote_terminal_workspace_candidate() function during SSH/remote terminal profile workspace resolution. This flaw allows authenticated attackers to circumvent blocked-root path checks by configuring the remote terminal working directory to a system directory such as /etc. Consequently, the workspace resolution path accepts this directory as a trusted local workspace root before the _is_blocked_workspace_path() guard executes, enabling unauthorized read access to local system files via workspace file-read helpers.
Potential Impact
Authenticated attackers can bypass workspace path restrictions to read sensitive local system files, potentially exposing confidential information. The vulnerability does not require user interaction and has a medium severity with a CVSS 4.0 base score of 6.3. There is no indication of privilege escalation, remote code execution, or denial of service from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict authenticated user permissions to limit access to the remote terminal feature and monitor for suspicious activity related to workspace path configurations. Avoid exposing Hermes WebUI instances to untrusted networks if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-02T16:30:15.232Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a284d178dd33fbd85665a15
Added to database: 06/09/2026, 17:27:51 UTC
Last enriched: 07/15/2026, 10:08:40 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 78
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.