Back to overview

CVE-2026-54281

HIGH
8.7
CVSS 4.0
Description
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.

Metadata

CVE ID
CVE-2026-54281
State
PUBLISHED
Assigner
GitHub_M
Reserved
2026-06-12 17:13 UTC
Published
2026-06-22 20:48 UTC
Last updated
2026-06-22 20:48 UTC
Primary CWE
CWE-863
CWE-863: Incorrect Authorization
Vendor / Product
nestjs / nest
Sources
cve.org  ·  NVD

Severity & Metrics

8.7 HIGH 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
Affected products (1)
VendorProductPlatformVersions
nestjs nest < 11.1.24
Weakness (CWE)
CWESourceDescription
CWE-863 cna CWE-863: Incorrect Authorization
CVSS scores (1)
ScoreSeverityVersionSourceVector
8.7 HIGH 4.0 cna 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
References (1)
Back to overview