Home / nestjs / nest / CVE-2026-54281
CVE-2026-54281: is it exploited, and which versions of nestjs nest are affected and fixed?
CVE-2026-54281 is an incorrect authorization vulnerability in nestjs nest. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 20:09 UTC). Affected: @nestjs/platform-fastify before 11.1.24 (GitHub advisory GHSA-6v32-fjc9-9qf6). Fixed in 11.1.24 (GitHub advisory GHSA-6v32-fjc9-9qf6). Severity: High (8.7, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 20:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-54281?
Nest: Middleware Bypass on Fastify via Trailing Slash
Nest is a framework for building scalable Node.js server-side applications. Prior to 11.1.24, an authentication bypass vulnerability exists in @nestjs/platform-fastify. When middleware is registered through NestJS's MiddlewareConsumer.forRoutes() API on the Fastify adapter, an unauthenticated client can bypass the Nest middleware registered for that route by simply appending a trailing slash (/) to the request URL. This bypass works on the default Fastify adapter configuration. This vulnerability is fixed in 11.1.24.
From the CVE record by GitHub_M, last updated June 24, 2026, 03:56 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| nestjs | nest | < 11.1.24 |
As the CVE record by GitHub_M states it, last updated June 24, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @nestjs/platform-fastify | < 11.1.24 | 11.1.24 | GHSA-6v32-fjc9-9qf6 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 18, 2026. Summary: Nest: Middleware Bypass on Fastify via Trailing Slash.
How severe is CVE-2026-54281?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-54281 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, June 23, 2026)
- EPSS
- 0.29% probability of exploitation activity in the next 30 days, percentile 22.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-863 Incorrect Authorization
Where are the vendor advisories and references?
- https://github.com/nestjs/nest/security/advisories/GHSA-6v32-fjc9-9qf6 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- June 12, 2026
- Published
- June 22, 2026, 20:48 UTC
- CVE record updated
- June 24, 2026, 03:56 UTC by GitHub_M
- NVD
- Deferred, last modified October 25, 2026, 23:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 20:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect nest?
- Sep 28, 2026CVE-2026-102281 nestjs nest: uncaught exception (crash)
- Apr 21, 2026CVE-2026-40879 nestjs nest: uncontrolled recursion
- Apr 7, 2026CVE-2026-35515 nestjs nest: injection
- Mar 20, 2026CVE-2026-33011 nestjs nest: always-incorrect control flow
- Dec 29, 2025CVE-2025-69211 nestjs nest: time-of-check time-of-use race condition
- Aug 1, 2025CVE-2025-54782 nestjs nest: command injection
- Mar 14, 2025CVE-2024-29409 Nestjs Nest: code injection (remote code execution)
Questions about CVE-2026-54281
Is CVE-2026-54281 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 20:09 UTC. FIRST's EPSS gives it a 0.29% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of nestjs nest are affected by CVE-2026-54281?
@nestjs/platform-fastify before 11.1.24, per the GitHub advisory GHSA-6v32-fjc9-9qf6. The tables above give every range the sources list.
Which version fixes CVE-2026-54281?
11.1.24, per the GitHub advisory GHSA-6v32-fjc9-9qf6. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-54281?
High (8.7, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-54281?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.