CVE-2026-58122
JSON

9.3critical

Hermes WebUI < 0.51.307 Authentication Bypass via X-Forwarded-For Header Spoofing

Severity
9.3critical CVSS:4.0 by VulnCheck
Exploit likelihood
0.29% (higher than 23% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
nesquena hermes-webuibefore 0.51.307CVE List

All scores

VulnCheck9.3critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
VulnCheck9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-348

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Hermes WebUI antes de 0.51.307 contiene una vulnerabilidad de omisión de autenticación que permite a atacantes remotos no autenticados eludir las restricciones de IP de origen local en los puntos finales de incorporación al proporcionar una cabecera X-Forwarded-For falsificada con una dirección de bucle invertido. Los atacantes pueden explotar esta omisión para realizar falsificación de petición del lado del servidor contra servicios internos, incluidos los puntos finales de metadatos en la nube, sobrescribir la configuración del proveedor de LLM y las claves API con valores controlados por el atacante, o iniciar flujos de código de dispositivo OAuth para obtener tokens de acceso persistentes almacenados en auth.json.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-58122 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-58122 changed 2026-10-25Public domain