{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "0.18.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "0e2311f1ad2ae587aaa590f3824f59aa5dc0e770"
            }
          ],
          "repo": "https://github.com/pgjones/hypercorn",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-290"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145494.json"
  },
  "details": "Hypercorn through 0.18.0 contains a header spoofing vulnerability in the WSGI wrapper _build_environ that allows remote attackers to spoof trusted headers by conflating underscores and hyphens in environ keys. Attackers can send headers such as x_remote_user through reverse proxies that only strip hyphenated forms, causing applications to read attacker values as trusted headers to spoof authenticated users.",
  "id": "CVE-2026-145494",
  "modified": "2026-12-05T03:46:04.221379571Z",
  "published": "2026-12-05T02:00:05.724Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145494.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/pgjones/hypercorn"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/pgjones/hypercorn/blob/0.18.0/src/hypercorn/app_wrappers.py#L150-L167"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-145494"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/hypercorn-through-0.18.0-wsgi-header-spoofing-via-underscore-header-names"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Hypercorn through 0.18.0 WSGI Header Spoofing via Underscore Header Names"
}