Intel

AIKIDO-2026-659663

@fastify/reply-from is vulnerable to Denial of Service (DoS)

Denial of Service (DoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 6 days ago

24

Low Risk

This Affects:

JS@fastify/reply-from
7.0.0 - 12.6.2
Fixed in 12.6.3
Are you affected? Scan for Free

TL;DR

When proxying a request to an upstream over HTTP/1, the plugin relayed the upstream response and advertised the client-facing connection as reusable (keep-alive) even when the incoming request body had not been fully consumed. If the upstream responded before the request body was read, the unread body bytes remained buffered on the kept-alive HTTP/1 connection, leaving the parser mid-body so a following request on that connection is not recognized and is silently dropped until the client times out. On reused or pooled downstream connections this desynchronizes the connection and causes denial of service, with potential cross-request corruption where connections are shared across clients. The fix sets the connection: close response header whenever the request is not complete (!req.complete), forcing the connection to close instead of being reused.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you proxy requests over HTTP/1 where an upstream can respond before the client request body is fully read.

Background info

@fastify/reply-from is vulnerable to Denial of Service (DoS) in versions 7.0.0 - 12.6.2.

How to fix this

Upgrade the @fastify/reply-from library to the patch version.