Skip to content
CriticalVulnerabilityLLM-specific

CVE-2026-58122: Hermes WebUI auth bypass via spoofed X-Forwarded-For header

Identifier
CVE-2026-58122
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Hermes WebUI before 0.51.307 (CVE-2026-58122) has an authentication bypass. Unauthenticated remote attackers can get past local-origin IP restrictions on onboarding endpoints by sending a spoofed X-Forwarded-For header with a loopback address. The bypass allows server-side request forgery against internal services, including cloud metadata endpoints, overwriting of LLM provider configuration and API keys, and starting OAuth device-code flows to obtain persistent access tokens stored in auth.json.

Mitigation

Fixed in 0.51.307 (all versions before 0.51.307 are affected).