Skip to content
DayZeroHub
Critical CVSS 9CVE-2026-133212

@fastify/reply-from: HTTP request smuggling via forwarded Content-Length without a body (CVE-2026-133212)

@fastify/reply-from @fastify/reply-from

Summary

@fastify/reply-from versions before 12.9.1 can forward the client's Content-Length header without sending the matching body, which can desynchronize the upstream connection and allow a request to be smuggled. The source assigns a CVSS 3.1 score of 9.0 (critical severity).

What happened

@fastify/reply-from is a Fastify plugin that forwards an incoming HTTP request to an upstream server. In versions before 12.9.1, when the forwarded request has no body to write to the upstream connection (for example, a GET, HEAD, or TRACE request that carried a body, or a request with a falsy JSON body), the plugin still forwards the client's Content-Length header while sending no body. The upstream server then treats the bytes of the following request as the remainder of the unfinished body, which an attacker can use to desynchronize the connection and smuggle a request. It is classified as CWE-444.

Why it matters

The CVSS 3.1 base score given by the CNA (openjs) is 9.0, with vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H, and severity is listed as critical. CISA's KEV catalog does not list this vulnerability as actively exploited. The source does not indicate any evidence that this was a zero-day.

Affected products and versions

@fastify/reply-from: versions before 12.9.1 (< 12.9.1). Version 12.9.1 is listed as unaffected.

ProductVersionsFixed in
@fastify/reply-from @fastify/reply-from< 12.9.1—
@fastify/reply-from @fastify/reply-from12.9.112.9.1

Action recommended by the source

The vendor states the fix is in @fastify/reply-from 12.9.1 and recommends upgrading to version 12.9.1 or later. More information in the project advisory: https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-mx78-9mrq-rfm5

Fixed in: 12.9.1

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-444

Relevant change history

  1. Advisory correction

    The preliminary version was replaced by the full write-up.

  2. Published

    Preliminary advisory published.

Summary written with AI assistance from the source data. See the sources and references for complete information. View sources