CVE-2026-133250
published critical CVSS 3.1 · 9.1@fastify/middie vulnerable to path-scoped middleware bypass via request path matching mismatches
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| @fastify/middie | — | @fastify/middie0 to < 9.3.8 (affected · semver) · 9.3.8 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | openjs |
Description
@fastify/middie is the middleware engine for the Fastify web framework. In versions up to and including 9.3.7, middie matches path-scoped middleware against its own reading of the request path, which can differ from the path Fastify's router uses to dispatch the request. When the two disagree, the router can route a request to a handler covered by a middleware mount while middie skips that middleware, so an unauthenticated client reaches a handler that an authentication, authorization, or rate-limiting middleware was meant to protect, with no special configuration required. The mismatch is triggered by empty parameter or wildcard values, request targets that do not begin with a slash, and literal percent characters in a mount path. The issue is fixed in @fastify/middie 9.3.8, and users should upgrade to 9.3.8 or later.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- openjs · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| @fastify/middie | @fastify/middie | 0 to < 9.3.8 (affected · semver)9.3.8 (unaffected · semver)Default: unaffected | openjs · cna |
Weaknesses
2- CWE-288 CWE-288: Authentication Bypass Using an Alternate Path or Channel
- CWE-436 CWE-436: Interpretation Conflict
References
2Provider assertions
2openjs · cna
@fastify/middie vulnerable to path-scoped middleware bypass via request path matching mismatches
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1ab4b604e05da6e0d9301600d3d0f7590adb77ac3d49ad8c584f6792e89494ca
- Ingested
- 23 Nov 2026, 20:22:19 UTC
- Source record
- Official CVE record