CVE-2026-58122: Use of Less Trusted Source in nesquena hermes-webui
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.
AI Analysis
Technical Summary
CVE-2026-58122 is an authentication bypass vulnerability in nesquena's Hermes WebUI prior to version 0.51.307. The flaw arises because the application trusts the X-Forwarded-For header to enforce local-origin IP restrictions on onboarding endpoints. Attackers can supply a spoofed header containing a loopback address to circumvent these restrictions without authentication. Exploitation allows server-side request forgery targeting internal services including cloud metadata endpoints, modification of large language model provider configurations and API keys with attacker-controlled values, and initiation of OAuth device-code flows to obtain persistent access tokens stored in auth.json.
Potential Impact
The vulnerability allows unauthenticated remote attackers to bypass IP-based access controls, leading to server-side request forgery against internal network services, unauthorized modification of sensitive configuration and API keys, and unauthorized acquisition of persistent authentication tokens. This can result in significant compromise of the affected system and its integrations.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the affected onboarding endpoints, validate and sanitize the X-Forwarded-For header properly, and monitor for suspicious requests that attempt to spoof local IP addresses.
CVE-2026-58122: Use of Less Trusted Source in nesquena hermes-webui
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.
CVSS v4.0
Score 9.3critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-58122 is an authentication bypass vulnerability in nesquena's Hermes WebUI prior to version 0.51.307. The flaw arises because the application trusts the X-Forwarded-For header to enforce local-origin IP restrictions on onboarding endpoints. Attackers can supply a spoofed header containing a loopback address to circumvent these restrictions without authentication. Exploitation allows server-side request forgery targeting internal services including cloud metadata endpoints, modification of large language model provider configurations and API keys with attacker-controlled values, and initiation of OAuth device-code flows to obtain persistent access tokens stored in auth.json.
Potential Impact
The vulnerability allows unauthenticated remote attackers to bypass IP-based access controls, leading to server-side request forgery against internal network services, unauthorized modification of sensitive configuration and API keys, and unauthorized acquisition of persistent authentication tokens. This can result in significant compromise of the affected system and its integrations.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the affected onboarding endpoints, validate and sanitize the X-Forwarded-For header properly, and monitor for suspicious requests that attempt to spoof local IP addresses.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-29T14:13:18.384Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a50171868715ace431ea235
Added to database: 07/09/2026, 21:48:08 UTC
Last enriched: 07/17/2026, 09:13:35 UTC
Last updated: 08/23/2026, 22:52:12 UTC
Views: 156
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.