6.0medium
Hermes WebUI < 0.51.521 - Cross-Profile Authorization Bypass via Unset Session Profile on Import
- Severity
- 6.0medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.27% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
Hermes WebUI before 0.51.521 validates the workspace of an imported session under the active named profile but constructs the Session object without setting its profile in the /api/session/import handler, so the imported session is persisted with a null profile. Because a null profile is treated as the default profile by the profile authorization check, a user on the default profile can export the imported session transcript and use its session identifier to read files from the named profile's workspace, defeating the application's profile isolation.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nesquena hermes-webui | before 0.51.521 | CVE List |
All scores
| VulnCheck | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| VulnCheck | 6.0medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
Hermes WebUI before 0.51.521 validates the workspace of an imported session under the active named profile but constructs the Session object without setting its profile in the /api/session/import handler, so the imported session is persisted with a null profile. Because a null profile is treated as the default profile by the profile authorization check, a user on the default profile can export the imported session transcript and use its session identifier to read files from the named profile's workspace, defeating the application's profile isolation.
NVD (es)
Hermes WebUI anterior a 0.51.521 valida el espacio de trabajo de una sesión importada bajo el perfil con nombre activo, pero construye el objeto de Sesión sin establecer su perfil en el gestor /API/session/import, por lo que la sesión importada se persiste con un perfil nulo. Debido a que un perfil nulo es tratado como el perfil predeterminado por la comprobación de autorización de perfil, un usuario con el perfil predeterminado puede exportar la transcripción de la sesión importada y usar su identificador de sesión para leer archivos del espacio de trabajo del perfil con nombre, lo que anula el aislamiento de perfiles de la aplicación.
References
| https://github.com/nesquena/hermes-webui/releases/tag/v0.51.521 | release-notes | |
| https://github.com/nesquena/hermes-webui/pull/4489 | exploit, patch, technical-description | |
| https://github.com/nesquena/hermes-webui/pull/4506 | issue-tracking, patch | |
| https://github.com/nesquena/hermes-webui/commit/3d5ef4758e920ba6888d49aaa4341de214693496 | patch | |
| https://www.vulncheck.com/advisories/hermes-webui-cross-profile-authorization-bypass-via-unset-session-profile-on-import | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-58174 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-58174 changed 2026-10-25 | Public domain |