Description
nesquena hermes-webui contains a trust-boundary failure vulnerability that allows authenticated attackers to set or change a session workspace to an arbitrary existing directory on disk by manipulating workspace path parameters in endpoints such as /api/session/new, /api/session/update, /api/chat/start, and /api/workspaces/add. Attackers can repoint a session workspace to a directory outside the intended trusted root and then use ordinary file read and write APIs to access or modify files outside the intended workspace boundary within the permissions of the hermes-webui process.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
nesquena hermes-webui
Default version status: unaffected
0 to < PR #416affected
References
- https://github.com/nesquena/hermes-webui/pull/416 ↗
- https://github.com/nesquena/hermes-webui/commit/2a7a5ddfaf39e3b0094b7ac37e9f1dbcf40a3918 ↗
- https://github.com/nesquena/hermes-webui/releases/tag/v0.50.34 ↗
- https://www.vulncheck.com/advisories/nesquena-hermes-webui-arbitrary-workspace-directory-access ↗