CVE-2026-100724: http4k before 6.49.0.0 Host Header Routing Bypass via reverseProxy

Published Sep 27, 2026
·
Updated

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.

Affected Software

1 affected component
maven/org.http4k/http4k-core<6.49.0.0, <5.42.0.0, <4.51.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade org.http4k:http4k-core to a version that resolves this vulnerability.

    Fixed in 6.49.0.0
  2. Upgrade

    Upgrade org.http4k:http4k-core to a version that resolves this vulnerability.

    Fixed in 5.42.0.0
  3. Upgrade

    Upgrade org.http4k:http4k-core to a version that resolves this vulnerability.

    Fixed in 4.51.0.0

Event History

Sep 27, 2026
CVE Published
via MITRE·01:28 AM
Data Sourced
via MITRE·01:28 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments are exposed when reverseProxy() or reverseProxyRouting() is used as a public-facing inbound HTTP handler with two or more configured virtual hosts. Intended outbound-dispatch and test-time uses are not affected because the calling application sets the Host value.

2

What does an attacker need to exploit the routing bypass?

An attacker only needs network access to send an HTTP request to the public-facing handler. They can use a Host header that contains a configured virtual-host name, such as admin.evil.com when admin is configured, to reach that vhost.

3

When does this result in an authorization bypass?

The impact occurs when routing to a virtual host is relied on as an authorization boundary. A crafted Host header can cause traffic to be dispatched to a configured vhost that the requester should not be able to access.

4

Which versions contain the corrected behavior?

The issue affects versions before 6.49.0.0, 5.42.0.0, and 4.51.0.0. Updating to the applicable listed version or later addresses the vulnerable default Host-header matching behavior.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203