{
  "id": "CVE-2026-58122",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-58122",
  "published_at": "2026-07-09T21:30:17.166Z",
  "title": "Hermes WebUI \u003c 0.51.307 Authentication Bypass via X-Forwarded-For Header Spoofing",
  "vendor": "nesquena",
  "product": "hermes-webui",
  "cvss": {
    "score": 9.3,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-348",
  "cvss_by_source": {
    "cna": 9.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "nesquena",
        "product": "hermes-webui",
        "ranges": [
          "\u003c 0.51.307"
        ],
        "fixed_in": [
          "0.51.307"
        ]
      }
    ],
    "upgrade": [
      "Upgrade hermes-webui to 0.51.307 or later."
    ],
    "references": [
      {
        "kind": "Release notes",
        "url": "https://github.com/nesquena/hermes-webui/releases/tag/v0.51.307"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/nesquena/hermes-webui/pull/3758"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/nesquena/hermes-webui/commit/70596e6993be0d4cee083c1c1a86f5e7ad5d57b7"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
