{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "1.0.0"
              },
              {
                "fixed": "2.2.0"
              },
              {
                "introduced": "0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "1772de7c5ece397164189d5fac375809353683c8"
            },
            {
              "fixed": "46325e8d895eb1823d357b5d32768c784a48aaef"
            }
          ],
          "repo": "https://github.com/nezhahq/nezha",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-9rc6-8cjv-rcvx"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-601"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53523.json"
  },
  "details": "Nezha Monitoring is a self-hostable, lightweight, servers and websites monitoring and O\u0026M tool. From version 1.0.0 to before version 2.2.0, the getRedirectURL function in oauth2.go:22-29 constructs the OAuth2 callback URL by concatenating the request's Host header with a fixed path, with zero validation of the Host header. This can result in host header injection. This issue has been patched in version 2.2.0.",
  "id": "CVE-2026-53523",
  "modified": "2026-08-07T11:31:34.153830021Z",
  "published": "2026-06-12T21:04:46.741Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53523.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/nezhahq/nezha/security/advisories/GHSA-9rc6-8cjv-rcvx"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-53523"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Nezha Monitoring: OAuth2 Redirect URL — Host Header Injection"
}