Description
Hermes WebUI before 0.51.443 contains a broken access control vulnerability in the /api/session endpoint that allows authenticated users to disclose cross-profile session transcripts. Attackers can bypass profile boundary checks by directly querying session IDs belonging to other profiles via GET /api/session?session_id=<foreign_id>&messages=1 to retrieve unauthorized conversation transcripts and metadata.
Problem types
Authorization Bypass Through User-Controlled Key
Product status
Any version before 0.51.443
0.51.443 (semver)
Credits
Chia Min Jun Lennon
References
github.com/nesquena/hermes-webui/pull/3982
github.com/nesquena/hermes-webui/releases/tag/v0.51.443 (Release Notes)
github.com/nesquena/hermes-webui/pull/3982 (Researcher Pull Request)
github.com/nesquena/hermes-webui/pull/4269 (Maintainer Pull Request)
github.com/...ommit/2a3baa71b81ca92da8ece8616a09f15894beec71 (Patch Commit)
www.vulncheck.com/...-access-control-in-api-session-endpoint