7.4high
blaze: Chunked-body trailer fields promoted into Request.headers in blaze-server (front-end header-sanitization bypass)
- Severity
- 7.4high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.29% (higher than 23% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-46q4-43ph-c6fr
Description
blaze is a Scala library for building asynchronous pipelines, with a focus on network IO. Prior to 0.23.18 and 1.0.0-M42, 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 and values, including X-Forwarded-For and internal authorization headers, that a fronting proxy sanitized from the request-header section, bypassing header-based trust decisions in the application. Any http4s application using BlazeServerBuilder over HTTP/1.1 whose routes or middleware trust proxy-set headers, including X-Forwarded-For, X-Real-IP, and X-Forwarded-Host, is affected. If a fronting proxy strips or normalizes those headers but forwards chunked bodies with trailers intact, an attacker can spoof client IP for allow-lists, rate limits, or auditing, forge the https scheme, or inject internal authorization headers. A promoted Connection: close trailer is also honored, allowing attacker-controlled termination of pooled backend connections. This issue is fixed in versions 0.23.18 and 1.0.0-M42.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| http4s blaze | < 0.23.18, >= 1.0.0-M1, < 1.0.0-M42 | CVE List |
| org.http4s:blaze-http_2.13 (Maven) | before 0.23.18, from 1.0.0-M1 before 1.0.0-M42 | GitHub Advisory Database |
| org.http4s:blaze-http_2.12 (Maven) | before 0.23.18 | GitHub Advisory Database |
| org.http4s:blaze-http_3 (Maven) | before 0.23.18, from 1.0.0-M1 before 1.0.0-M42 | GitHub Advisory Database |
All scores
| GitHub_M | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
blaze is a Scala library for building asynchronous pipelines, with a focus on network IO. Prior to 0.23.18 and 1.0.0-M42, 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 and values, including X-Forwarded-For and internal authorization headers, that a fronting proxy sanitized from the request-header section, bypassing header-based trust decisions in the application. Any http4s application using BlazeServerBuilder over HTTP/1.1 whose routes or middleware trust proxy-set headers, including X-Forwarded-For, X-Real-IP, and X-Forwarded-Host, is affected. If a fronting proxy strips or normalizes those headers but forwards chunked bodies with trailers intact, an attacker can spoof client IP for allow-lists, rate limits, or auditing, forge the https scheme, or inject internal authorization headers. A promoted Connection: close trailer is also honored, allowing attacker-controlled termination of pooled backend connections. This issue is fixed in versions 0.23.18 and 1.0.0-M42.
GitHub Advisory Database
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.
NVD (es)
blaze es una biblioteca Scala para construir pipelines asíncronos, con un enfoque en la E/S de red. Antes de 0.23.18 y 1.0.0-M42, blaze-server puede fusionar campos de tráiler de cuerpo fragmentado HTTP/1.1 en Request.headers. Debido a que los campos de tráiler son controlados por el atacante, un cliente remoto no autenticado puede inyectar nombres y valores de encabezado arbitrarios, incluyendo X-Forwarded-For y encabezados de autorización internos, que un proxy frontal saneó de la sección de encabezados de la solicitud, eludiendo las decisiones de confianza basadas en encabezados en la aplicación. Cualquier aplicación http4s que use BlazeServerBuilder sobre HTTP/1.1 cuyas rutas o middleware confíen en encabezados establecidos por proxy, incluyendo X-Forwarded-For, X-Real-IP y X-Forwarded-Host, se ve afectada. Si un proxy frontal elimina o normaliza esos encabezados pero reenvía cuerpos fragmentados con tráilers intactos, un atacante puede suplantar la IP del cliente para listas de permitidos, límites de tasa o auditoría, falsificar el esquema HTTPS, o inyectar encabezados de autorización internos. Un tráiler Connection: close promovido también se respeta, permitiendo la terminación controlada por el atacante de conexiones de backend agrupadas. Este problema está solucionado en las versiones 0.23.18 y 1.0.0-M42.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-73495 changed 2026-08-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-46q4-43ph-c6fr changed 2026-08-12 | CC-BY-4.0 |
| NVD | CVE-2026-73495 changed 2026-10-24 | Public domain |