CVE-2026-73495
blaze: Chunked-body trailer fields promoted into Request.headers in blaze-server (front-end header-sanitization bypass)
Description
Summary
blaze-server can merge HTTP/1.1 chunked-body trailer fields into Request.headers. Because trailer fields are attacker-controlled, an unauthenticated remote client can inject arbitrary header names/values (e.g. X-Forwarded-For, internal-auth headers) that a fronting proxy sanitized from the request-header section, bypassing header-based trust decisions in the application.
Impact
Any http4s application using BlazeServerBuilder over HTTP/1.1 whose routes or middleware trust proxy-set headers (e.g., X-Forwarded-For, X-Real-IP, X-Forwarded-Host, org-internal auth headers) is affected. Where a fronting proxy strips/normalizes those headers but forwards chunked bodies with trailers intact, an attacker can spoof client IP for allow-lists/rate-limits/audit, forge the https scheme, or inject internal-auth headers. A promoted Connection: close trailer is also honored, allowing attacker-controlled termination of pooled backend connections.
Workarounds
Deploy behind a proxy that removes trailer fields (or rejects requests that use trailers) before forwarding; until patched, avoid trust decisions based on headers that a proxy is relied upon to sanitize.
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.http4s » blaze-http_2.12 | < 0.23.18 | 0.23.18 |
| org.http4s » blaze-http_2.13 | < 0.23.18>= 1.0.0-M1, < 1.0.0-M42 | 0.23.18, 1.0.0-M42 |
| org.http4s » blaze-http_3 | < 0.23.18>= 1.0.0-M1, < 1.0.0-M42 | 0.23.18, 1.0.0-M42 |
Blast radius
82% of the dependent artifacts (348) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 451 |
| 2 hops | 878 |
| 3 hops | 15,147 |
| 4 hops | 5,283 |
| 5 hops | 2,974 |
| 6 hops | 7,231 |
Most used dependents
- org.http4s » http4s-blaze-client252 usages
- org.http4s » http4s-blaze-server239 usages
- com.softwaremill.sttp.tapir » tapir-http4s-server38 usages
- com.47deg » github4s16 usages
- net.playq » tk-test15 usages
- org.scala-exercises » exercise-compiler13 usages
- com.goyeau » kubernetes-client11 usages
- com.softwaremill.sttp.client3 » http4s-backend10 usages
- net.playq » tk-metrics-api10 usages
- com.itv » scalapact-scalatest10 usages
- org.broadinstitute » cromwell-backend9 usages
- org.broadinstitute » cromwell-services9 usages
- com.clovellytech » h4sm-testutil-db8 usages
- com.github.agourlay » cornichon-core7 usages
- com.clovellytech » h4sm-auth7 usages
Computed from the dependency graph of build 20261203.1441 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Package | http4s/blaze | github.com |
| Web | http4s/blaze advisory GHSA-46q4-43ph-c6fr | github.com |
| Web | http4s/blaze commit ef3e666 | github.com |
| Web | http4s/blaze release v0.23.18 | github.com |
| Web | http4s/blaze release v1.0.0-M42 | github.com |
