# CVE-2026-49957: Hermes WebUI < 0.51.296 Workspace Boundary Bypass via api/workspace.py

- Severity: Medium 6.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-06-09T16:25:10.651Z
- Modified: 2026-11-08T14:04:58.843Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- nesquena hermes-webui: before 0.51.296

## Every score

- VulnCheck: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`

## References

- <https://github.com/nesquena/hermes-webui/releases/tag/v0.51.296> (release-notes)
- <https://github.com/nesquena/hermes-webui/pull/3731> (issue-tracking, patch)
- <https://github.com/nesquena/hermes-webui/pull/3744> (issue-tracking, patch)
- <https://github.com/nesquena/hermes-webui/commit/91a89fb5d5c0bf87932917f9914ad0150ea62fe4> (patch)
- <https://www.vulncheck.com/advisories/hermes-webui-workspace-boundary-bypass-via-api-workspace-py> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-49957](https://www.cve.org/CVERecord?id=CVE-2026-49957), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-49957](https://nvd.nist.gov/vuln/detail/CVE-2026-49957), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-49957 · Whole record: https://cve.day/CVE-2026-49957.json · Rebuilt by cve.day 2026-11-25T22:59:24.234Z
