Hermes WebUI
CVE-2026-55197
HIGH
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Network-reachable API exploitable by any authenticated low-privilege user with no interaction; impact is confined to confidentiality of other profiles' transcripts, with no integrity or availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
AnalysisAI
Cross-profile session disclosure in Hermes WebUI before 0.51.443 lets any authenticated user retrieve conversation transcripts and metadata belonging to other profiles by passing a foreign session_id to the /api/session endpoint. The flaw is a classic IDOR (CWE-639) where profile boundary checks are missing on by-id reads. No public exploit identified at time of analysis, but the trigger is a single trivial GET request and the upstream patch openly describes the fix as 'scope session by-id reads + exports to active profile,' which discloses the bypass.
Technical ContextAI
Hermes WebUI is a web frontend (maintained by nesquena on GitHub, CPE cpe:2.3:a:nesquena:hermes-webui) that organizes chat-style sessions under per-user 'profiles' for isolation. The /api/session endpoint serves session transcripts when called with session_id and messages=1, but pre-fix versions used the supplied session_id as a direct object reference without verifying that the session belonged to the caller's active profile - the textbook CWE-639 (Authorization Bypass Through User-Controlled Key) pattern. The fix in commit 2a3baa71 and PRs #3982/#4269 adds active-profile scoping to both by-id reads and export paths, indicating the authorization check was missing in more than one code path.
RemediationAI
Vendor-released patch: upgrade to Hermes WebUI 0.51.443 or later, which scopes session by-id reads and exports to the caller's active profile (commit 2a3baa71b81ca92da8ece8616a09f15894beec71, see https://github.com/nesquena/hermes-webui/releases/tag/v0.51.443). If immediate upgrade is not possible, restrict /api/session?session_id=...&messages=1 at a reverse proxy or WAF so that only requests where session_id matches a value bound to the authenticated user's profile are forwarded - this requires the proxy to know the user-to-profile mapping and will break legitimate by-id reads if misconfigured. As a coarser compensating control, limit Hermes WebUI accounts to a single profile per user or restrict network access to the UI to a trusted user population, accepting that this does not address malicious authenticated insiders. Rotate or audit any session transcripts whose confidentiality is sensitive, since past disclosures cannot be recalled.
More in Hermes Webui
View allUnauthenticated remote code execution in Hermes WebUI before version 0.51.788 lets remote attackers run arbitrary shell
Authentication bypass in Hermes WebUI before 0.51.307 lets unauthenticated remote attackers reach onboarding endpoints t
Authentication bypass in Hermes WebUI before 0.51.409 allows unauthenticated remote attackers to register the first pass
Unauthenticated initial-setup hijack in Hermes WebUI before 0.51.358 allows any remote attacker who can reach the settin
Cross-profile authorization bypass in Hermes WebUI before 0.51.368 allows authenticated users to access sessions, files,
Arbitrary file deletion in Hermes WebUI (nesquena/hermes-webui, all versions prior to the PR #409 fix) allows an authent
Information disclosure in Hermes WebUI before v0.51.221 allows authenticated remote attackers to read arbitrary files ou
Cross-profile data disclosure in Hermes WebUI before 0.51.269 allows authenticated users to read session titles and tran
Cross-profile session data exfiltration in Hermes WebUI before 0.51.443 lets any authenticated user retrieve session tra
Resource exhaustion in Hermes WebUI before v0.51.270 allows unauthenticated remote attackers to degrade service availabi
Resource exhaustion in Hermes WebUI before 0.51.468 exposes an unauthenticated POST /api/onboarding/oauth/start endpoint
Cross-profile workspace isolation bypass in Hermes WebUI before 0.51.521 allows an authenticated low-privilege user oper
Same technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today