Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocate exposed Hermes WebUI
-
DeliverySend request with spoofed X-Forwarded-For: 127.0.0.1
-
ExploitBypass local-origin onboarding check
-
ExecutionSSRF to cloud metadata / overwrite API keys
-
PersistTrigger OAuth device-code flow
-
ImpactPersist token in auth.json
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V6 - Authentication IP-independent access control
|
| Exploitation Conditions | Exploitation requires that the Hermes WebUI instance (version below 0.51.307) be network-reachable by the attacker and that the onboarding endpoints rely on the X-Forwarded-For header for their local-origin restriction, which is the default vulnerable behavior. The specific prerequisite is the ability to send an HTTP request containing a spoofed X-Forwarded-For header with a loopback address (e.g., 127.0.0.1); no credentials, user interaction, or non-default configuration are needed (PR:N/UI:N/AC:L). Limiting factors: exploitation is blocked if a fronting reverse proxy or load balancer sanitizes/overwrites X-Forwarded-For, if the service is bound only to localhost or an isolated network, or if the instance is already upgraded to 0.51.307+. SSRF impact severity further depends on reachable internal targets (e.g., availability of a cloud metadata endpoint at 169.254.169.254). |
| Impact | The signals are consistent and point to a genuine priority. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H) describes trivial, network-reachable, unauthenticated exploitation with high confidentiality and integrity impact, matching the described header-spoof-to-SSRF/credential-overwrite chain; VA:N and SC/SI/SA:N reflect that availability and downstream systems are not directly hit by the base flaw. No EPSS score, KEV listing, or SSVC decision data was provided, so probabilistic exploitation likelihood is unknown; the absence of a KEV entry means there is no confirmed active exploitation, and POC availability is unstated. The main caveat is deployment footprint rather than technical severity: this is an easy-to-exploit, high-impact bug (spoofable header is a well-understood, low-skill technique), so any internet-exposed instance should be treated as high urgency, but the product's apparent niche/hobby footprint likely limits mass exploitation to opportunistic or targeted scanning. |
| Exploit ScenarioDerived | An attacker discovers an internet-reachable Hermes WebUI instance and sends a crafted HTTP request to an onboarding endpoint with the header X-Forwarded-For: 127.0.0.1, defeating the local-origin restriction. They then abuse the SSRF sink to query the cloud metadata endpoint for IAM credentials, overwrite the configured LLM provider API keys with their own, and trigger an OAuth device-code flow to persist an access token in auth.json. No public exploit code is identified at time of analysis, but the technique is trivial to reproduce given AV:N/AC:L/PR:N/UI:N. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 09, 2026
Authentication bypass in Hermes WebUI before 0.51.307 lets unauthenticated remote attackers reach onboarding endpoints that are supposed to be restricted to loopback traffic by spoofing an X-Forwarded-For header with a 127.0.0.1 value. Once past the origin check, an attacker can pivot to server-side request forgery against internal services and cloud metadata endpoints, overwrite LLM provider configuration and API keys, or start an OAuth device-code flow to mint persistent tokens saved in auth.json. A vendor patch exists; the flaw carries a CVSS 4.0 score of 9.3, but no public exploit code has been identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade to Hermes WebUI v0.51.307 or later, which is the primary and complete fix (release: https://github.com/nesquena/hermes-webui/releases/tag/v0.51.307; fix PR https://github.com/nesquena/hermes-webui/pull/3758; patch commit https://github.com/nesquena/hermes-webui/commit/70596e6993be0d4cee083c1c1a86f5e7ad5d57b7). If you cannot upgrade immediately, do not expose the service to untrusted networks: bind it to localhost or place it behind a reverse proxy that strips or overrides inbound X-Forwarded-For headers so clients cannot forge the source IP (side effect - you must then configure the proxy as the sole trusted hop, or legitimate remote access breaks). Additionally restrict network access to the onboarding endpoints via firewall/ACL and rotate any LLM provider API keys and OAuth tokens (auth.json) that may have been exposed or overwritten. Consult the VulnCheck advisory (https://www.vulncheck.com/advisories/hermes-webui-authentication-bypass-via-x-forwarded-for-header-spoofing) for full details.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Hermes WebUI is a self-hosted web interface (GitHub project nesquena/hermes-webui, CPE cpe:2.3:a:nesquena:hermes-webui) for managing LLM providers and their credentials. To protect sensitive first-run onboarding routes, it gates them to local-origin requests - but it trusts the client-supplied X-Forwarded-For header to determine the source IP instead of the actual TCP peer address. This is the root cause captured by CWE-348 (Use of Less Trusted Source): a security decision (is this request local?) is made from attacker-controllable input. Because X-Forwarded-For is a plain request header, any remote client can assert a loopback address and satisfy the check, exposing endpoints that perform outbound fetches (SSRF sink reaching cloud metadata such as 169.254.169.254), mutate provider config/API keys, and drive OAuth device-code token issuance.
Know when Hermes Webui gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Remote, unauthenticated, low-complexity header spoof (AV:N/AC:L/PR:N/UI:N) yielding SSRF/credential disclosure (C:H) and config/key overwrite (I:H) with no availability loss (A:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
Hermes WebUI versions before 0.51.307 contain a critical authentication bypass vulnerability that allows unauthenticated remote attackers to access restricted onboarding endpoints through HTTP header spoofing. Successful exploitation enables attackers to steal LLM API credentials, reconfigure provider settings, and establish persistent platform access, directly compromising any integrated AI services and credentials managed within the system.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Hermes Webui
View allUnauthenticated remote code execution in Hermes WebUI before version 0.51.788 lets remote attackers run arbitrary shell
Authentication bypass in Hermes WebUI before 0.51.409 allows unauthenticated remote attackers to register the first pass
Unauthenticated initial-setup hijack in Hermes WebUI before 0.51.358 allows any remote attacker who can reach the settin
Cross-profile authorization bypass in Hermes WebUI before 0.51.368 allows authenticated users to access sessions, files,
Arbitrary file deletion in Hermes WebUI (nesquena/hermes-webui, all versions prior to the PR #409 fix) allows an authent
Cross-profile session data exfiltration in Hermes WebUI before 0.51.443 lets any authenticated user retrieve session tra
Cross-profile session disclosure in Hermes WebUI before 0.51.443 lets any authenticated user retrieve conversation trans
Information disclosure in Hermes WebUI before v0.51.221 allows authenticated remote attackers to read arbitrary files ou
Cross-profile data disclosure in Hermes WebUI before 0.51.269 allows authenticated users to read session titles and tran
Resource exhaustion in Hermes WebUI before 0.51.468 exposes an unauthenticated POST /api/onboarding/oauth/start endpoint
Resource exhaustion in Hermes WebUI before v0.51.270 allows unauthenticated remote attackers to degrade service availabi
Cross-profile workspace isolation bypass in Hermes WebUI before 0.51.521 allows an authenticated low-privilege user oper
EUVD-2026-42726
GHSA-rfj2-6v8r-3w64
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB