Impact
Hermes WebUI before 0.51.307 contains a flaw that allows attackers to bypass authentication by sending a forged X-Forwarded-For header containing a loopback address, thereby circumventing the local‑origin IP restriction on onboarding endpoints. Once authentication is bypassed, attackers can perform server‑side request forgery against internal services, 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.
Affected Systems
The flaw affects all Hermes WebUI installations produced by developer nesquena running any release prior to 0.51.307. No specific sub‑versions are listed beyond the upper bound; any pre‑0.51.307 build inherits the vulnerability.
Risk and Exploitability
The CVSS score of 9.3 indicates a high‑severity remote exploitation risk. The EPSS score of <1% shows a very low but non‑zero exploitation probability, and the vulnerability is not listed in CISA’s KEV catalog. Attackers can exploit the flaw via standard HTTP requests to the onboarding endpoints if they have network reachability to the Web UI. They can then perform server‑side request forgery against internal services, overwrite LLM provider configuration and API keys, or manipulate auth.json to obtain persistent access tokens. The lack of local‑origin IP validation allows the spoofed X-Forwarded‑For header to bypass network restrictions.
OpenCVE Enrichment