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… (CVE-2026-100724)
http4k-core versions before 6.49.0.0, 5.42.0.0, and 4.51.0.0 use substring matching on the Host header in reverseProxy() and reverseProxyRouting() functions. This behavior can allow an attacker to bypass routing-based authorization by supplying a Host header that contains a configured virtual host name as a substring. This issue affects public-facing inbound HTTP handlers with multiple configured virtual hosts. The vulnerability does not affect outbound dispatch or test-time uses where the Host header is set by the application.
AI Analysis
Technical Summary
The http4k-core library versions prior to 6.49.0.0, 5.42.0.0, and 4.51.0.0 perform substring (Contains) matching on the Host header by default in the reverseProxy() and reverseProxyRouting() functions when dispatching requests to configured virtual hosts. If deployed as a public-facing inbound HTTP handler with two or more virtual hosts, a remote attacker can craft a Host header containing a configured virtual host name as a substring (e.g., 'admin.evil.com' for a vhost named 'admin') to bypass routing-based authorization and be routed to that virtual host. This flaw does not impact intended outbound dispatch or test-time uses where the Host header is explicitly set by the application.
Potential Impact
An attacker can bypass routing-based authorization controls by manipulating the Host header to include a configured virtual host name as a substring, potentially gaining unauthorized access to resources or services bound to that virtual host. The impact is limited to scenarios where reverseProxy() or reverseProxyRouting() are used as public-facing inbound HTTP handlers with multiple virtual hosts configured. Confidentiality and integrity impacts are low, with no availability impact reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid deploying reverseProxy() or reverseProxyRouting() with multiple virtual hosts in public-facing inbound HTTP handlers or implement strict exact matching on the Host header to prevent substring-based routing bypass.
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… (CVE-2026-100724)
Description
http4k-core versions before 6.49.0.0, 5.42.0.0, and 4.51.0.0 use substring matching on the Host header in reverseProxy() and reverseProxyRouting() functions. This behavior can allow an attacker to bypass routing-based authorization by supplying a Host header that contains a configured virtual host name as a substring. This issue affects public-facing inbound HTTP handlers with multiple configured virtual hosts. The vulnerability does not affect outbound dispatch or test-time uses where the Host header is set by the application.
CVSS v3.1
Score 5.4medium
Affected software
pkg:maven/org.http4k/http4k-coreRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The http4k-core library versions prior to 6.49.0.0, 5.42.0.0, and 4.51.0.0 perform substring (Contains) matching on the Host header by default in the reverseProxy() and reverseProxyRouting() functions when dispatching requests to configured virtual hosts. If deployed as a public-facing inbound HTTP handler with two or more virtual hosts, a remote attacker can craft a Host header containing a configured virtual host name as a substring (e.g., 'admin.evil.com' for a vhost named 'admin') to bypass routing-based authorization and be routed to that virtual host. This flaw does not impact intended outbound dispatch or test-time uses where the Host header is explicitly set by the application.
Potential Impact
An attacker can bypass routing-based authorization controls by manipulating the Host header to include a configured virtual host name as a substring, potentially gaining unauthorized access to resources or services bound to that virtual host. The impact is limited to scenarios where reverseProxy() or reverseProxyRouting() are used as public-facing inbound HTTP handlers with multiple virtual hosts configured. Confidentiality and integrity impacts are low, with no availability impact reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid deploying reverseProxy() or reverseProxyRouting() with multiple virtual hosts in public-facing inbound HTTP handlers or implement strict exact matching on the Host header to prevent substring-based routing bypass.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-9hc9-gcfq-xg98
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-100724"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6ab89bc2f7a7c54106941ed5
Added to database: 09/27/2026, 04:29:54 UTC
Last enriched: 09/27/2026, 04:34:19 UTC
Last updated: 09/27/2026, 06:47:43 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.