CVE-2026-58122 Hermes WebUI < 0.51.307 Authentication Bypass via X-Forwarded-For Header Spoofing
CriticalCVSS 9.3
EPSS 0.37%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nesquena/hermes-webui | < 0.51.307 | 0.51.307 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nesquena/hermes-webui | < 0.51.307 | 0.51.307 |
References
- hermes-webui 0.51.307 Release Notes release-notes
- Pull Request issue-tracking patch
- Patch Commit patch
- www.vulncheck.com third-party-advisory
- ENISA EUVD EUVD-2026-42726 third-party-advisory