cvelo
P3 · MediumCVSS 4.8

Hypercorn through 0.18.0 WSGI Header Spoofing via Underscore Header Names

  • CVE-2026-145494
  • EUVD-2026-145096

Summary

Hypercorn through version 0.18.0 has a header spoofing flaw in the WSGI wrapper function _build_environ. The code conflates underscores and hyphens in environ keys, so a request header sent with underscores, such as x_remote_user, can be read by the application as the trusted hyphenated header. This is dangerous where a reverse proxy strips only the hyphenated form of a header. A remote attacker can then spoof authenticated users in applications that trust those headers. The CVSS score is 4.8, and the record is not listed in the CISA known exploited vulnerabilities catalog.

AI summary · verify against the vendor advisory

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • pgjones Hypercorn

    Affected versionsFixed in
    up to 0.18.0none stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.