Skip to main content

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)

0
Medium
Published: 09/27/2026 (09/27/2026, 03:31:03 UTC)
Source: GCVE Database

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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N

Affected software

org.http4k/http4k-core
pkg:maven/org.http4k/http4k-core
Affected versions
<4.51.0.0>=4.51.0.0 <5.42.0.0>=5.42.0.0 <6.49.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/27/2026, 04:34:19 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses