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…

CVE-2026-33807: CWE-436: Interpretation Conflict in fastify @fastify/express

0
Critical
VulnerabilityCVE-2026-33807cvecve-2026-33807cwe-436
Published: Wed Apr 15 2026 (04/15/2026, 09:52:26 UTC)
Source: CVE Database V5
Vendor/Project: fastify
Product: @fastify/express

Description

@fastify/express v4.0.4 and earlier contains a path handling bug in the onRegister function that causes middleware paths to be doubled when inherited by child plugins. When a child plugin is registered with a prefix that matches a middleware path, the middleware path is prefixed a second time, causing it to never match incoming requests. This results in complete bypass of Express middleware security controls, including authentication, authorization, and rate limiting, for all routes defined within affected child plugin scopes. No special configuration or request crafting is required. Upgrade to @fastify/express v4.0.5 or later.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/15/2026, 10:16:54 UTC

Technical Analysis

@fastify/express versions up to 4.0.4 contain a vulnerability (CWE-436) in the onRegister function where middleware paths are incorrectly prefixed twice if a child plugin is registered with a prefix matching the middleware path. This causes the middleware to fail to match requests, effectively bypassing security controls implemented via Express middleware. The vulnerability has a CVSS 3.1 score of 9.1 (critical) due to its network attack vector, low complexity, no privileges or user interaction required, and high impact on confidentiality and integrity. The vendor has released version 4.0.5 to address this issue.

Potential Impact

Exploitation of this vulnerability allows attackers to bypass all Express middleware security controls—including authentication, authorization, and rate limiting—on routes defined within affected child plugin scopes. This can lead to unauthorized access and manipulation of protected resources. There is no need for special request crafting or configuration to exploit this issue, increasing its risk. No known exploits in the wild have been reported at this time.

Mitigation Recommendations

Upgrade to @fastify/express version 4.0.5 or later where this path handling bug is fixed. Patch status is not explicitly stated in the vendor advisory, but the description clearly states upgrading resolves the issue. No other mitigations are indicated or required.

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
openjs
Date Reserved
2026-03-23T19:48:48.715Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69df621082d89c981fd4ed1c

Added to database: 4/15/2026, 10:01:52 AM

Last enriched: 4/15/2026, 10:16:54 AM

Last updated: 4/20/2026, 9:38:56 PM

Views: 74

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