CVE-2026-100724

http4k before 6.49.0.0 Host Header Routing Bypass via reverseProxy

State
Published
Severity
6.3 Medium
Published
Sep 27, 2026
Updated
Oct 29, 2026
Reserved
Sep 26, 2026

Read the record on cve.org

Description

http4k (Maven package org.http4k:http4k-core) before 6.49.0.0, 5.42.0.0 and 4.51.0.0 uses substring (Contains) matching on the Host header by default in reverseProxy() and reverseProxyRouting() when dispatching to configured virtual hosts. If these functions are deployed as a public-facing inbound HTTP handler with two or more configured virtual hosts, a remote attacker can supply a Host header that merely contains a configured vhost name (for example Host: admin.evil.com for a vhost configured as "admin") and be routed to that vhost, bypassing routing-based authorization. The intended outbound-dispatch and test-time uses, where the Host value is set by the calling application, are not affected.

Scores

CVSSScoreVectorSource
4.06.3 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NVulnCheck
3.15.4 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:NVulnCheck

Weaknesses

  • CWE-444 Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

Affected Products

ProductVersions
http4khttp4k
  • 6.0.0.0 to before 6.49.0.0Affected
  • 6.49.0.0Not affected
http4khttp4k
  • 5.0.0.0 to before 5.42.0.0Affected
  • 5.42.0.0Not affected
http4khttp4k
  • before 4.51.0.0Affected
  • 4.51.0.0Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.