CVE-2026-33808
published critical CVSS 4.0 · 9.1@fastify/express vulnerable to middleware authentication bypass via URL normalization gaps (duplicate slashes and semicolons)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| fastify | — | @fastify/express0 to < 4.0.5 (affected · semver) · 4.0.5 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | openjs |
Description
Impact@fastify/express v4.0.4 and earlier fails to normalize URLs before passing them to Express middleware when Fastify router normalization options are enabled. This allows complete bypass of path-scoped authentication middleware via duplicate slashes when ignoreDuplicateSlashes is enabled, or via semicolon delimiters when useSemicolonDelimiter is enabled. In both cases, Fastify router normalizes the URL and matches the route, but @fastify/express passes the original un-normalized URL to Express middleware, which fails to match and is skipped. An unauthenticated attacker can access protected routes by manipulating the URL path. PatchesUpgrade to @fastify/express v4.0.5 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
- 4.0
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- openjs · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| fastify | @fastify/express | 0 to < 4.0.5 (affected · semver)4.0.5 (unaffected · semver)Default: unaffected | openjs · cna |
Weaknesses
1- CWE-436 CWE-436: Interpretation Conflict
References
2Provider assertions
2openjs · cna
@fastify/express vulnerable to middleware authentication bypass via URL normalization gaps (duplicate slashes and semicolons)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 922bb3852cbb52b61895fb8f92c2d3017a020835162cf658289278b0dab57e80
- Ingested
- 23 Sep 2026, 09:10:54 UTC
- Source record
- Official CVE record