CVE-2026-49957
JSON

6.3medium

Hermes WebUI < 0.51.296 Workspace Boundary Bypass via api/workspace.py

Severity
6.3medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.42% (higher than 38% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
nesquena hermes-webuibefore 0.51.296CVE List

All scores

VulnCheck6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N
VulnCheck7.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Hermes WebUI antes de la versión 0.51.269 contiene una vulnerabilidad de omisión de límite de espacio de trabajo que permite a atacantes autenticados eludir las comprobaciones de ruta de raíz bloqueada al explotar un retorno anticipado en la lógica de resolución de espacio de trabajo del perfil de terminal SSH/remoto dentro de _remote_terminal_workspace_candidate(). Los atacantes pueden configurar un directorio de trabajo de terminal remoto a un directorio del sistema como /etc, haciendo que la ruta de resolución del espacio de trabajo lo acepte como una raíz de espacio de trabajo local de confianza antes de que se ejecute la protección _is_blocked_workspace_path(), permitiendo el acceso de lectura a archivos del sistema local a través de ayudantes de lectura de archivos del espacio de trabajo.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-49957 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-49957 changed 2026-07-23Public domain