Hermes WebUI
CVE-2026-55196
CRITICAL
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/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 with no auth or UI, but AC:H reflects the first-credential race window and HERMES_WEBUI_PASSKEY=1 precondition; admin takeover gives C:H/I:H while service availability is unaffected.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Hermes WebUI before 0.51.409 contains an authentication bypass vulnerability in passkey registration endpoints that allows unauthenticated remote attackers to register arbitrary passkeys. When HERMES_WEBUI_PASSKEY=1 is enabled with no existing credentials, POST /api/auth/passkey/register/options and POST /api/auth/passkey/register endpoints are accessible without authentication, allowing attackers to claim the first passkey and gain permanent administrative control.
AnalysisAI
Authentication bypass in Hermes WebUI before 0.51.409 allows unauthenticated remote attackers to register the first passkey on instances where HERMES_WEBUI_PASSKEY=1 is set and no credentials yet exist, yielding permanent administrative control. The flaw resides in the passkey registration API endpoints, which fail to enforce authentication during the initial enrollment window. No public exploit identified at time of analysis, but a vendor patch is available and the issue was disclosed by VulnCheck.
Technical ContextAI
Hermes WebUI is a web-based administration interface (Node.js/JavaScript project hosted at github.com/nesquena/hermes-webui) that supports WebAuthn passkeys as an authentication factor, gated by the HERMES_WEBUI_PASSKEY=1 environment flag. The vulnerable code paths are POST /api/auth/passkey/register/options (which returns a WebAuthn registration challenge) and POST /api/auth/passkey/register (which finalizes credential enrollment). The root cause is CWE-306 (Missing Authentication for a Critical Function): both endpoints lacked any session or first-run protection, so any HTTP client that reached the instance before an administrator enrolled could complete a full WebAuthn ceremony and become the registered credential holder. CPE coverage (cpe:2.3:a:hermes-webui:hermes-webui:*) confirms all versions prior to the fix branch are in scope.
RemediationAI
Vendor-released patch: upgrade to Hermes WebUI v0.51.442 or later, which requires authentication for passkey enrollment (see https://github.com/nesquena/hermes-webui/releases/tag/v0.51.442 and commit 4d90577e25d5537cb07290eca3fb8abff3bab316). If immediate patching is not possible, set HERMES_WEBUI_PASSKEY=0 to disable passkey registration entirely (trade-off: users lose WebAuthn as an authentication option and must rely on password or other configured factors), or enroll a known administrator passkey out-of-band before exposing the instance to any untrusted network so the first-credential window is closed. As an additional compensating control, restrict network reachability of /api/auth/passkey/register/options and /api/auth/passkey/register at a reverse proxy or firewall to trusted management IPs until the upgrade is applied (trade-off: legitimate remote enrollment is blocked from non-allowlisted networks).
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
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
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