CVE-2026-71554
JSON

5.3medium

h2: Duplicate Host header could facilitate request smuggling

Severity
5.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.44% (higher than 40% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-6hr6-w5qg-qmwgPYSEC-2026-3628

Description

h2 is a pure-Python implementation of a HTTP/2 protocol stack. Versions up to and including 4.4.0 accept request header blocks containing more than one Host header, and forward every Host header to the consuming application. Where the consumer downgrades HTTP/2 to HTTP/1.1, the resulting request carries two Host header lines, providing a request smuggling primitive. This issue is fixed in version 4.4.1.

Affected

Product or packageVersionsReported by
python-hyper h2< 4.4.1CVE List
h2 (PyPI)before 4.4.1GitHub Advisory Database, PyPA Advisory Database

All scores

GitHub_M5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
PyPA Advisory Database5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Classification

CWE-444

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

h2 is a pure-Python implementation of a HTTP/2 protocol stack. Versions up to and including 4.4.0 accept request header blocks containing more than one Host header, and forward every Host header to the consuming application. Where the consumer downgrades HTTP/2 to HTTP/1.1, the resulting request carries two Host header lines, providing a request smuggling primitive. This issue is fixed in version 4.4.1.

GitHub Advisory Database
Impact

h2 <=4.4.0 accepts request header blocks containing more than one Host header, and forwards every Host header to the consuming application. Where the consumer downgrades HTTP/2 to HTTP/1.1, the resulting request carries two Host header lines, which is a request smuggling primitive (CWE-444).

Patches

Patched and fixed in v4.4.1

Workarounds

Users of the h2 library are advised to check and follow HTTP semantics best practices in their application code. h2 provides best effort sanity checks, but ultimately the calling code is responsible to ensure proper and safe usage of HTTP/2 as provided by h2, hyperframe, and hpack.

References

Similar to the previously disclosed and fixed duplicate content-length issue.

NVD (es)

h2 es una implementación puramente en Python de una pila del protocolo HTTP/2. Las versiones hasta la 4.4.0 inclusive aceptan bloques de encabezado de solicitud que contienen más de un encabezado Host, y reenvían cada encabezado Host a la aplicación consumidora. Cuando el consumidor degrada HTTP/2 a HTTP/1.1, la solicitud resultante lleva dos líneas de encabezado Host, lo que proporciona una primitiva de contrabando de solicitudes. Este problema se corrige en la versión 4.4.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-71554 changed 2026-08-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-6hr6-w5qg-qmwg changed 2026-09-10CC-BY-4.0
NVDCVE-2026-71554 changed 2026-10-24Public domain
PyPA Advisory DatabasePYSEC-2026-3628 changed 2026-08-10CC-BY-4.0