CVE-2026-58122
CWE-348Published: July 9, 2026· Updated: Jul 14, 2026
Official 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.
Risk Analysis
Hermes WebUI before 0.51.307 is vulnerable to a critical authentication bypass that allows unauthenticated remote attackers to circumvent local-origin IP restrictions. By spoofing the X-Forwarded-For header, attackers can perform server-side request forgery, overwrite LLM provider configurations, or obtain persistent access tokens. This vulnerability has a CVSSv3.1 score of 9.1, indicating severe risk.
No public exploit is currently known for this vulnerability. The flaw is remotely exploitable without authentication, making it a high-risk target if an exploit emerges.
Upgrade Hermes WebUI to version 0.51.307 or later to address this authentication bypass. Implement robust validation of all HTTP headers, especially those related to client IP addresses, and ensure proper access controls are in place.
Technical Analysis
CVE-2026-58122 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), with a CVSS base score of 9.1.
CVSS v3.1 Vector Breakdown
Exploit & PoC Resources
All References (4)
Quick Facts
Related CVEs (CWE-348)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2026-58122 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts