CVE-2026-73495

blaze: Chunked-body trailer fields promoted into Request.headers in blaze-server (front-end header-sanitization bypass)

Published Aug 12, 2026 CVSS 3.1 · 7.4 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability allows an unauthenticated client to send HTTP/1.1 requests with chunked bodies that contain trailer fields. These trailer fields are merged into the request headers, letting the attacker inject arbitrary header names and values such as X-Forwarded-For, X-Real-IP, X-Forwarded-Host, or internal authorization headers. Because front‑end proxies typically sanitize headers from the initial request line, the injected trailer headers bypass that sanitization and are treated as legitimate, leading to spoofed client IP addresses, forged HTTPS scheme, or elevated authorization. This flaw maps to CWE‑444 (Improper Handling of Mailer or Header Data). The attacker can also inject a Connection: close trailer to force backend connection termination. Affected systems The issue impacts all applications built with the http4s Blaze server library that are configured to accept HTTP/1.1 chunked transfer encoding before version 0.23.18 or 1.0.0‑M42. Users who trust proxy‑set headers or rely on front‑end header sanitization are vulnerable. The library versions prior to those releases will merge chunked‑body trailer fields into Request.headers. Risk and exploitability With a CVSS base score of 7.4 the flaw is considered high severity. The EPSS score is not available, but the vulnerability can be exercised by any remote client over HTTP/1.1 without authentication, making exploitation straightforward if an application accepts chunked bodies. The vulnerability is not listed in the CISA KEV catalog, yet its remote‑execution potential and ability to subvert security controls warrant immediate mitigation. The likely attack vector is a direct HTTP/1.1 request using chunked transfer encoding, exploiting the trailer field promotion mechanism.

Affected Systems

All deployments using the http4s Blaze server library before version 0.23.18 or 1.0.0‑M42 are affected. This includes applications built with BlazeServerBuilder over HTTP/1.1 that trust proxy‑set headers such as X-Forwarded-For, X-Real-IP, or X-Forwarded-Host.

Risk and Exploitability

The CVSS base score indicates a high level of risk, and the lack of an EPSS score suggests unknown but potentially significant exploitation probability. Because the flaw can be triggered by any unauthenticated client using HTTP/1.1, attackers have unrestricted access to inject headers that can bypass front‑end sanitization. The vulnerability is not yet recorded in CISA’s KEV catalog, but the described impact would allow attackers to falsify IP addresses for admission control, alter scheme declarations, or inject authorization directives, which could lead to unauthorized access or denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade http4s Blaze to version 0.23.18 or 1.0.0-M42 or later, which removes trailer field promotion.
  • If an immediate upgrade is not possible, configure the server or middleware to reject chunked transfer encoding or discard any trailer fields before processing parent headers.
  • Ensure that the application does not trust header values that originate from the request when those values could have been influenced by a client‑controlled trailer, and validate or sanitize all headers before using them for routing, authentication, or authorization decisions.

Generated by OpenCVE AI on August 13, 2026 at 02:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-46q4-43ph-c6fr blaze: Chunked-body trailer fields promoted into Request.headers in blaze-server (front-end header-sanitization bypass)
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Http4s
Http4s blaze
Vendors & Products Http4s
Http4s blaze
Type Values Removed Values Added
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.
Title blaze: Chunked-body trailer fields promoted into Request.headers in blaze-server (front-end header-sanitization bypass)
Weaknesses CWE-444
References
Metrics cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses
  • CWE-444

    Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 13, 2026, 1:04 PM
Reserved
Aug 12, 2026, 7:00 PM
Status
Deferred
Published
Aug 12, 2026, 10:17 PM
Modified
Oct 24, 2026, 3:10 PM