{"id":"CVE-2026-54281","aliases":["GHSA-6v32-fjc9-9qf6"],"url":"https://o3.security/vulnerability/CVE-2026-54281","summary":"Nest: Middleware Bypass on Fastify via Trailing Slash","details":"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.","published":"2026-06-22T20:48:45.895Z","modified":"2026-08-07T11:31:02.986317314Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"@nestjs/platform-fastify","fixedVersion":"11.1.24"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54281.json"},{"type":"ADVISORY","url":"https://github.com/nestjs/nest/security/advisories/GHSA-6v32-fjc9-9qf6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54281"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T11:31:02.986317314Z"}}