CVE-2026-100724http4k before 6.49.0.0 Host Header Routing Bypass via reverseProxy
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.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Maven library | org.http4k:http4k-core | Fixed | 4.51.0.0 | GHSA-jrpc-7vxp-69p6 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- http4k: affected: 6.0.0.0 to before 6.49.0.0, 6.49.0.0 not affected; fixed in
6.49.0.0 - http4k: affected: 5.0.0.0 to before 5.42.0.0, 5.42.0.0 not affected; fixed in
5.42.0.0 - http4k: affected: before 4.51.0.0, 4.51.0.0 not affected; fixed in
4.51.0.0
Vendor advisories:
- https://github.com/http4k/http4k/security/advisories/GHSA-jrpc-7vxp-69p6 (vendor-advisory)
- https://github.com/http4k/http4k/commit/0121b05537 (patch)
- https://github.com/http4k/http4k/commit/54c6385615 (patch)
References
- https://github.com/http4k/http4k/security/advisories/GHSA-jrpc-7vxp-69p6
- https://github.com/http4k/http4k/commit/0121b05537
- https://github.com/http4k/http4k/commit/54c6385615
- https://www.vulncheck.com/advisories/http4k-before-6.49.0.0-host-header-routing-bypass-via-reverseproxy
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.