Nesquena hermes-webui
Hermes WebUI < 0.51.296 Workspace Boundary Bypass via api/workspace.py
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.51.296
Fixed in 0.51.296
Mitigation
Upgrade hermes-webui to 0.51.296 or later.
References
- Release notes github.com/nesquena/hermes-webui/releases/tag/…
- Patch github.com/nesquena/hermes-webui/pull/3731
- Patch github.com/nesquena/hermes-webui/pull/3744
1 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.