# CVE-2026-92081: fastify vulnerable to Denial of Service via unhandled exception on HTTP/2 trailer responses

- Severity: Medium 5.9 (CVSS:3.1, scored by openjs) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-09-16T08:52:49.757Z
- Modified: 2026-10-01T00:00:05.778Z
- Also known as: GHSA-4mh8-r7rc-xpvc
- Weaknesses: CWE-248
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: openjs

## Description

fastify is a fast and low-overhead web framework for Node.js. In versions before 5.12.5, when a route registers a response trailer via reply.trailer() and is served over HTTP/2, fastify unconditionally sets the Transfer-Encoding: chunked header, which is forbidden on HTTP/2, so Node.js throws while serializing the response headers. The exception is not caught and becomes an uncaughtException, so a single unauthenticated HTTP/2 request to any route that uses trailers crashes the server process and drops all in-flight requests, and it can be repeated on every restart. The issue is fixed in fastify 5.12.5, and users should upgrade to 5.12.5 or later. As a workaround, avoid registering response trailers with reply.trailer() on routes served over HTTP/2 until upgrading.

(As written by CVE List.)

## Affected

- fastify fastify: before 5.12.5 (not affected: 5.12.5)
- fastify (npm): before 5.12.5

## Every score

- openjs: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/fastify/fastify/security/advisories/GHSA-4mh8-r7rc-xpvc> (web)
- <https://cna.openjsf.org/security-advisories.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-92081> (advisory)
- <https://github.com/fastify/fastify/issues/6574> (web)
- <https://github.com/fastify/fastify/commit/ad06a4c3fe8a944a904f38068249b18b8f552e90> (web)
- <https://github.com/fastify/fastify> (package)
- <https://github.com/fastify/fastify/releases/tag/v5.12.5> (web)

## Sources

- CVE List: [CVE-2026-92081](https://www.cve.org/CVERecord?id=CVE-2026-92081), CVE Terms of Use, modified 2026-09-16
- GitHub Advisory Database: [GHSA-4mh8-r7rc-xpvc](https://github.com/advisories/GHSA-4mh8-r7rc-xpvc), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-92081](https://nvd.nist.gov/vuln/detail/CVE-2026-92081), Public domain, modified 2026-09-16

---

Page: https://cve.day/CVE-2026-92081 · Whole record: https://cve.day/CVE-2026-92081.json · Rebuilt by cve.day 2026-11-25T22:59:38.927Z
