@fastify/reply-from request smuggling before 12.9.1 (CVE-2026-133212)

Critical request smuggling vulnerability in @fastify/reply-from before 12.9.1. The plugin forwards Content-Length without a body for certain requests, allowing an attacker to desynchronize the upstream connection and smuggle requests. Upgrade to 12.9.1 or later.

Summary

CVE-2026-133212 affects @fastify/reply-from, a Fastify plugin that forwards incoming HTTP requests to an upstream server. In versions before 12.9.1, when the plugin forwards a request whose body is not written to the upstream connection — such as a GET, HEAD, or TRACE request that carried a body, or a request with a falsy JSON body — it 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 unfinished body, which an attacker can use to desynchronize the connection and smuggle a request.

The issue is fixed in @fastify/reply-from 12.9.1. Users should upgrade to 12.9.1 or later.

What to do

1. Upgrade @fastify/reply-from to 12.9.1 or later in all Node.js services using the plugin. 2. Review the NVD entry and the vendor advisory for any additional context or mitigations: https://nvd.nist.gov/vuln/detail/CVE-2026-133212 and https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-mx78-9mrq-rfm5 3. Verify the exact affected version in your dependency tree before patching, and confirm the fixed version is compatible with your Fastify setup. 4. After upgrading, run tests that cover GET/HEAD/TRACE requests with bodies and falsy JSON bodies to confirm upstream connections are no longer desynchronized. 5. Monitor upstream server logs for unusual request patterns or connection reuse anomalies that could indicate request smuggling attempts.

Sources