Hypercorn authentication bypass in WSGI header handling
- Exploited
- No known exploitation
- Fix
- No fix listed
- Who is exposed
- Not reported
Summary
Hypercorn, a Python web server, is affected by a header spoofing flaw in its WSGI wrapper. A remote attacker who sends no login can use headers with underscores in place of hyphens, such as x_remote_user, to get past reverse proxies that only strip hyphenated headers, so the application may treat the attacker's values as trusted and impersonate authenticated users.
Written by a model
Original description
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.
What to do
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-145494 (Hypercorn through 0.18.0 WSGI Header Spoofing via Underscore Header Names), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-145494 (entry last updated 2026-12-05):
Affected:
- PyPI package hypercorn: through 0.18.0
Fixed versions: none listed yet.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-145494 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-145494 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Packages (PyPI): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/pgjones/hypercorn/blob/0.18.0/src/hypercorn/app_wrappers.py#L150-L167
- https://www.vulncheck.com/advisories/hypercorn-through-0.18.0-wsgi-header-spoofing-via-underscore-header-names
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-145494
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-145494"}.Affected versions
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure17/25No login or user action needed per the CVSS vector, reachable over the network without a login · Unknown: No advisory context yet
- Reach10/20Affects PyPI packages
- Severity6.3/10CVSS 6.3
- No patch5/5No patch listed yet
What would change the score
- Would score about 83 if added to CISA KEV
- Would score about 78 if CISA's SSVC rates exploitation active
- Would score about 43 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
Evidence 4
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-145494 |
| Record | NVD · CVE-2026-145494 |
| Other links 2 | |
| Repository | GitHub · pgjones/hypercorn · src/hypercorn/app_wrappers.py · L150-L167 |
| Link | vulncheck.com · advisories/hypercorn-through-0.18.0-wsgi-header-spoofing-via-underscore-header-names |
Questions about CVE-2026-145494
Is CVE-2026-145494 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-145494?
hypercorn (PyPI): through 0.18.0.
Source: cve.now feed data
Related
- CVE-2026-137536ToolJet before 3.21.94-beta Account Takeover via SSO Email-Based Account Linking
- CVE-2026-144598Homebox 0.22.0-rc.2 through 0.27.1 Account Takeover via OIDC Login
- CVE-2026-135930WordPress Amelia plugin <= 2.4.14 - Bypass Vulnerability vulnerability
- CVE-2026-135150In Eclipse Ditto versions 1.1.0 to 3.9.9, the nginx reverse proxy configurations shipped with Ditto (Helm chart, Docker Compose…
- CVE-2026-69899Azure DevTest Labs Spoofing Vulnerability
- CVE-2026-125167Authentication Bypass in extension "OAuth2 authentication and authorization" (oauth2)
No corrections so far. Something wrong on this page? Report an error.