{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.51.358"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1126e541325d401538f6a272a9c024c37d47ae08"
            }
          ],
          "repo": "https://github.com/nesquena/hermes-webui",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-306"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49973.json"
  },
  "details": "Hermes WebUI before version 0.51.358 contains an improper access control vulnerability that allows unauthenticated remote attackers to hijack initial setup by submitting the _set_password parameter to the settings API endpoint without any network origin restriction. Attackers on any reachable network can send a POST request to the settings endpoint during the first-run setup window to persist an arbitrary password hash, obtain a valid session cookie, and lock out the legitimate operator from their own instance.",
  "id": "CVE-2026-49973",
  "modified": "2026-07-16T03:31:10.648637788Z",
  "published": "2026-06-11T19:04:08.505Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49973.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/nesquena/hermes-webui/releases/tag/v0.51.358"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-49973"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/hermes-webui-unauthenticated-password-takeover-via-api-settings"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/nesquena/hermes-webui/pull/3964"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/nesquena/hermes-webui/pull/3973"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nesquena/hermes-webui/commit/1126e541325d401538f6a272a9c024c37d47ae08"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/nesquena/hermes-webui"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Hermes WebUI \u003c 0.51.358 Unauthenticated Password Takeover via /api/settings"
}