Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 60%

CVE-2026-54281: CWE-863: Incorrect Authorization in nestjs nest

0
High
VulnerabilityCVE-2026-54281cvecve-2026-54281cwe-863
Published: 06/22/2026 (06/22/2026, 20:48:45 UTC)
Source: CVE Database V5
Vendor/Project: nestjs
Product: nest

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.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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 software

Affected versions
<11.1.24

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/18/2026, 19:27:08 UTC

Technical Analysis

CVE-2026-54281 describes an incorrect authorization vulnerability (CWE-863) in NestJS's @nestjs/platform-fastify package. Specifically, in versions before 11.1.24, middleware registered via MiddlewareConsumer.forRoutes() on the Fastify adapter can be bypassed by unauthenticated clients by adding a trailing slash to the request URL. This allows unauthorized access to routes that should be protected by middleware. The vulnerability is resolved in version 11.1.24.

Potential Impact

This vulnerability allows unauthenticated clients to bypass middleware protections, potentially gaining unauthorized access to protected routes or resources when using the Fastify adapter with default configuration. This can lead to unauthorized actions or data exposure depending on the middleware's purpose.

Mitigation Recommendations

Upgrade NestJS to version 11.1.24 or later, where this authentication bypass vulnerability is fixed. There is no official patch or temporary workaround detailed, so applying the official fix is recommended.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-12T17:13:32.280Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a39b299eed863c81e7e85da

Added to database: 06/22/2026, 22:09:29 UTC

Last enriched: 07/18/2026, 19:27:08 UTC

Last updated: 08/06/2026, 12:41:11 UTC

Views: 119

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses