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.
Published: 2026-07-09
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Hermes WebUI before 0.51.307 contains a flaw that allows attackers to bypass authentication by sending a forged X-Forwarded-For header containing a loopback address, thereby circumventing the local‑origin IP restriction on onboarding endpoints. Once authentication is bypassed, attackers can perform server‑side request forgery against internal services, 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. The vulnerability poses a significant threat to confidentiality, integrity, and availability by enabling remote attackers to manipulate internal configurations and persistently access data without proper authorization.

Affected Systems

The flaw affects all Hermes WebUI installations produced by developer nesquena running any release prior to 0.51.307. No specific sub‑versions are listed beyond the upper bound; any pre‑0.51.307 build inherits the vulnerability.

Risk and Exploitability

The CVSS score of 9.3 denotes a high‑severity remote exploitation risk. The EPSS score of <1% indicates a very low but non‑zero exploitation probability, and the vulnerability is not listed in CISA's KEV catalog. Attackers can exploit the flaw via standard HTTP requests to the onboarding endpoints, given network reachability to the Web UI; they can then manipulate internal services and persistently gain access by modifying auth.json or overriding LLM configuration. The absence of local‑origin IP validation allows the spoofed X-Forwarded‑For header to bypass network restrictions, expanding the attack surface.

Generated by OpenCVE AI on July 29, 2026 at 11:47 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Hermes WebUI to version 0.51.307 or newer.
  • Configure the reverse proxy or web server to strip or ignore the X-Forwarded-For header for onboarding endpoints, preventing loopback spoofing.
  • Place the onboarding endpoints behind a firewall or VLAN that only permits trusted IP ranges.
  • Monitor the auth.json file for unauthorized changes and revoke stored access tokens if suspicious activity is detected.

Generated by OpenCVE AI on July 29, 2026 at 11:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 14 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Get-hermes
Get-hermes hermes Web Ui
CPEs cpe:2.3:a:get-hermes:hermes_web_ui:*:*:*:*:*:*:*:*
Vendors & Products Get-hermes
Get-hermes hermes Web Ui

Fri, 10 Jul 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 09 Jul 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Nesquena
Nesquena hermes-webui
Vendors & Products Nesquena
Nesquena hermes-webui

Thu, 09 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
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.
Title Hermes WebUI < 0.51.307 Authentication Bypass via X-Forwarded-For Header Spoofing
Weaknesses CWE-348
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 9.3, 'vector': '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'}


Subscriptions

Get-hermes Hermes Web Ui
Nesquena Hermes-webui
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-14T21:34:49.210Z

Reserved: 2026-06-29T14:13:18.384Z

Link: CVE-2026-58122

cve-icon Vulnrichment

Updated: 2026-07-10T19:13:01.282Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T12:00:12Z

Weaknesses
  • CWE-348

    Use of Less Trusted Source