What’s Vulnerable › Vulnerabilities
CVE-2026-49957: Hermes WebUI < 0.51.296 Workspace Boundary Bypass via api/workspace.py
- Severity: high (CVSS 7.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-09 · updated 2026-07-23
- Weakness: CWE-22
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.
Affected products
- nesquena hermes-webui: before 0.51.296 — fixed in 0.51.296
How to fix
Upgrade to a fixed version: nesquena hermes-webui 0.51.296. Check the vendor advisory for mitigations.
References
- https://github.com/nesquena/hermes-webui/commit/91a89fb5d5c0bf87932917f9914ad0150ea62fe4
- https://github.com/nesquena/hermes-webui/pull/3731
- https://github.com/nesquena/hermes-webui/pull/3744
- https://github.com/nesquena/hermes-webui/releases/tag/v0.51.296
- https://www.vulncheck.com/advisories/hermes-webui-workspace-boundary-bypass-via-api-workspace-py
Get alerted when CVE-2026-49957 or the next vulnerability affects your stack