Vulnerability Description
Hermes WebUI before 0.51.307 contains an authentication bypass vulnerability that allows unauthenticated remote attackers to circumvent local-origin IP restrictions on onboarding endpoints by supplying a spoofed X-Forwarded-For header with a loopback address. Attackers can exploit this bypass to perform server-side request forgery against internal services including cloud metadata endpoints, overwrite LLM provider configuration and API keys with attacker-controlled values, or initiate OAuth device-code flows to obtain persistent access tokens stored in auth.json.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/nesquena/hermes-webui/commit/70596e6993be0d4cee083c1c1a86f5e7
- https://github.com/nesquena/hermes-webui/pull/3758
- https://github.com/nesquena/hermes-webui/releases/tag/v0.51.307
- https://www.vulncheck.com/advisories/hermes-webui-authentication-bypass-via-x-fo
FAQ
What is CVE-2026-58122?
CVE-2026-58122 is a vulnerability with a CVSS score of 9.1 (CRITICAL). Hermes WebUI before 0.51.307 contains an authentication bypass vulnerability that allows unauthenticated remote attackers to circumvent local-origin IP restrictions on onboarding endpoints by supplyin...
How severe is CVE-2026-58122?
CVE-2026-58122 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-58122?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.