Skip to main content

Hermes WebUI CVE-2026-58122

| EUVDEUVD-2026-42726 CRITICAL
Use of Less Trusted Source (CWE-348)
2026-07-09 VulnCheck GHSA-rfj2-6v8r-3w64
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Locate exposed Hermes WebUI
  2. Delivery
    Send request with spoofed X-Forwarded-For: 127.0.0.1
  3. Exploit
    Bypass local-origin onboarding check
  4. Execution
    SSRF to cloud metadata / overwrite API keys
  5. Persist
    Trigger OAuth device-code flow
  6. Impact
    Persist 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

hermes-webui 0 <0.51.307

Affected Packages

euvd hermes_webui fix: 0.51.307

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

Vendor (VulnCheck) PRIMARY 9.3 CRITICAL
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
vuln.today AI 9.1 CRITICAL

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).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Low
niche self-hosted LLM WebUI from a single-maintainer GitHub project
Social Media
5
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2026-58123 CRITICAL POC
9.3 Jul 09

Unauthenticated remote code execution in Hermes WebUI before version 0.51.788 lets remote attackers run arbitrary shell

CVE-2026-55196 CRITICAL
9.1 Jun 17

Authentication bypass in Hermes WebUI before 0.51.409 allows unauthenticated remote attackers to register the first pass

CVE-2026-49973 CRITICAL
9.2 Jun 11

Unauthenticated initial-setup hijack in Hermes WebUI before 0.51.358 allows any remote attacker who can reach the settin

CVE-2026-53871 HIGH
8.6 Jun 17

Cross-profile authorization bypass in Hermes WebUI before 0.51.368 allows authenticated users to access sessions, files,

CVE-2026-6832 HIGH POC
7.2 Apr 21

Arbitrary file deletion in Hermes WebUI (nesquena/hermes-webui, all versions prior to the PR #409 fix) allows an authent

CVE-2026-55198 HIGH
7.1 Jun 17

Cross-profile session data exfiltration in Hermes WebUI before 0.51.443 lets any authenticated user retrieve session tra

CVE-2026-55197 HIGH
7.1 Jun 17

Cross-profile session disclosure in Hermes WebUI before 0.51.443 lets any authenticated user retrieve conversation trans

CVE-2026-11322 HIGH
7.1 Jun 04

Information disclosure in Hermes WebUI before v0.51.221 allows authenticated remote attackers to read arbitrary files ou

CVE-2026-49956 HIGH
7.1 Jun 09

Cross-profile data disclosure in Hermes WebUI before 0.51.269 allows authenticated users to read session titles and tran

CVE-2026-55205 MEDIUM
6.9 Jun 18

Resource exhaustion in Hermes WebUI before 0.51.468 exposes an unauthenticated POST /api/onboarding/oauth/start endpoint

CVE-2026-49955 MEDIUM
6.9 Jun 09

Resource exhaustion in Hermes WebUI before v0.51.270 allows unauthenticated remote attackers to degrade service availabi

CVE-2026-58174 MEDIUM
6.0 Jun 30

Cross-profile workspace isolation bypass in Hermes WebUI before 0.51.521 allows an authenticated low-privilege user oper

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy