CVE-2026-120215
Last modified
CVE-2026-120215 is a low-severity vulnerability rated 3.7/10 on the CVSS scale. @fastify/cors is the CORS plugin for the Fastify web framework. In versions 8.2.0 through 11.3.x, an application that registers the plugin with the non-default onSend hook option crashes on a CORS preflight.
Description
@fastify/cors is the CORS plugin for the Fastify web framework. In versions 8.2.0 through 11.3.x, an application that registers the plugin with the non-default onSend hook option crashes on a CORS preflight. On an OPTIONS request that carries the Origin and Access-Control-Request-Method headers, the plugin calls reply.send from inside the onSend hook and re-enters the send pipeline, so a second write of the response headers throws an uncaught ERR_HTTP_HEADERS_SENT that can terminate the Node.js process when no process-level handler is installed. An unauthenticated remote client can trigger this with a single preflight request, so the impact is availability only, and exploitation requires the non-default onSend configuration. The issue is fixed in @fastify/cors 11.4.0, where onSend is no longer an accepted hook value and registration fails with a clear error instead of crashing at request time, and users should upgrade to 11.4.0 or later. As a workaround, use any other hook such as the default onRequest, or set preflight to false.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| @fastify/cors | @fastify/cors | >= 8.2.0, < 11.4.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-120215?
How severe is CVE-2026-120215?
How do I fix CVE-2026-120215?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-120207Thelia Page Module before 2.0.4 contains a cross-site reques…7.1
- CVE-2026-120208libheif 1.18.0 before 1.23.3 contains a heap-based buffer ov…7.5
- CVE-2026-120209AJ-Report through 1.7.1 signs share tokens with a hard-coded…9.8
- CVE-2026-120210FFmpeg 5.0 through 9.0.2 contains a path traversal vulnerabi…4.3
- CVE-2026-120213@fastify/http-proxy is a Fastify plugin that proxies HTTP re…9.1
- CVE-2026-120214@fastify/http-proxy is a Fastify plugin that proxies HTTP re…5.9
- CVE-2026-120216fastify is a web framework for Node.js. In versions 5.8.0 th…5.9
- CVE-2026-120217A vulnerability was detected in Delgan loguru 0.7.3. The aff…4.3
- CVE-2026-120218A flaw has been found in Typemill up to 2.26.0. The impacted…3.5
- CVE-2026-12022Race in Safe Browsing in Google Chrome on Mac prior to 149.0…8.3
- CVE-2026-120222undici is an HTTP client for Node.js. In versions 7.0.0 thro…5.9
- CVE-2026-120223A vulnerability was identified in Oray Pugongying X5 Pro up …3.1
Are you affected by CVE-2026-120215?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
