What’s Vulnerable › Vulnerabilities

CVE-2026-58122: Hermes WebUI < 0.51.307 Authentication Bypass via X-Forwarded-For Header Spoofing

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.

Affected products

How to fix

Upgrade to a fixed version: nesquena hermes-webui 0.51.307. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-58122 or the next vulnerability affects your stack