{"id":"PYSEC-2026-3628","summary":"h2: Duplicate Host header could facilitate request smuggling","details":"### Impact\nh2 \u003c=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).\n\n### Patches\nPatched and fixed in v4.4.1\n\n### Workarounds\nUsers 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.\n\n### References\nSimilar to the previously disclosed and fixed duplicate content-length issue.","aliases":["CVE-2026-71554","GHSA-6hr6-w5qg-qmwg"],"modified":"2026-08-10T11:30:06.236617890Z","published":"2026-08-10T10:43:51.432758Z","references":[{"type":"WEB","url":"https://github.com/python-hyper/h2/security/advisories/GHSA-6hr6-w5qg-qmwg"},{"type":"WEB","url":"https://github.com/python-hyper/h2/commit/292a40829feefda98c8509dcdbbb4a57af9bd6a6"},{"type":"PACKAGE","url":"https://github.com/python-hyper/h2"},{"type":"PACKAGE","url":"https://pypi.org/project/h2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6hr6-w5qg-qmwg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71554"}],"affected":[{"package":{"name":"h2","ecosystem":"PyPI","purl":"pkg:pypi/h2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.4.1"}]}],"versions":["0.1.0","1.0.0","1.1.0","1.1.1","2.0.0","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.2.6","2.2.7","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.5.0","2.5.1","2.5.2","2.5.3","2.5.4","2.6.0","2.6.1","2.6.2","3.0.0","3.0.1","3.1.0","3.1.1","3.2.0","4.0.0","4.1.0","4.2.0","4.3.0","4.4.0"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/h2/PYSEC-2026-3628.yaml"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}