Description
Hermes WebUI before 0.51.443 contains an authorization bypass vulnerability in the session export endpoint that allows authenticated users to access sessions from other profiles. The _handle_session_export handler in api/routes.py fails to verify active-profile ownership before serializing session data, enabling attackers to exfiltrate foreign session transcripts by guessing or knowing session identifiers.
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/3991
github.com/nesquena/hermes-webui/releases/tag/v0.51.443 (Release Notes)
github.com/nesquena/hermes-webui/pull/3991 (Researcher Pull Request)
github.com/nesquena/hermes-webui/pull/4269 (Maintainer Pull Request)
github.com/...ommit/2a3baa71b81ca92da8ece8616a09f15894beec71 (Patch Commit)
www.vulncheck.com/...xfiltration-via-session-export-endpoint