Hermes WebUI
CVE-2026-53871
HIGH
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/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 web UI, trivial cookie edit (AC:L), requires a valid account so PR:L; cross-profile read/write yields C:H/I:H but no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Hermes WebUI before 0.51.368 contains an authorization bypass vulnerability in the get_profile_cookie() function that accepts unauthenticated profile names from the hermes_profile cookie. An authenticated attacker can forge the hermes_profile cookie value to bypass profile-scoped authorization checks and access sessions, files, and resources across different profiles.
AnalysisAI
Cross-profile authorization bypass in Hermes WebUI before 0.51.368 allows authenticated users to access sessions, files, and resources belonging to other profiles by forging the hermes_profile cookie. The flaw lives in get_profile_cookie(), which trusted attacker-supplied profile names without binding them to the authenticated session. VulnCheck reported the issue and an upstream patch is available; no public exploit identified at time of analysis.
Technical ContextAI
Hermes WebUI (cpe:2.3:a:nesquena:hermes-webui) is a multi-profile web management interface where each user account can hold multiple isolated 'profiles' that scope access to sessions, files, and resources. The vulnerability is a CWE-565 issue (Reliance on Cookies without Validation and Integrity Checking): get_profile_cookie() reads the hermes_profile cookie and treats its value as an authoritative selector for which profile context to load, without verifying that the requesting session is actually authorized for the requested profile. Because the cookie is set client-side and never cross-checked against the server-side auth session, any logged-in user can swap in another profile's identifier and inherit that profile's authorization scope. The fix in PR #4023/#4036 (commit 9e96f5f) binds the active-profile cookie to the auth session, transforming the trust model from cookie-asserted to server-validated.
RemediationAI
Vendor-released patch: upgrade to Hermes WebUI 0.51.368 or later, which binds the active-profile cookie to the authenticated session (PRs https://github.com/nesquena/hermes-webui/pull/4023 and https://github.com/nesquena/hermes-webui/pull/4036, commit https://github.com/nesquena/hermes-webui/commit/9e96f5f6adf93b6d1e27ebddfb4d2833ca06ff3b). If immediate upgrade is not possible, restrict Hermes WebUI to single-profile users (so cross-profile escalation has no target) or front the application with a reverse proxy that strips or signs the hermes_profile cookie before it reaches the backend, accepting the trade-off that legitimate profile switching will break until proxy logic is taught to validate against the user's session. Revoke all existing sessions after patching, since attackers with prior access may have planted cookies or harvested cross-profile credentials, and audit access logs for anomalous profile transitions to detect prior exploitation.
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
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
Cross-profile session disclosure in Hermes WebUI before 0.51.443 lets any authenticated user retrieve conversation trans
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