CVE-2026-129850
published high CVSS 3.1 · 7.4@fastify/express vulnerable to path-scoped middleware bypass via Unicode case folding
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| @fastify/express | — | @fastify/express4.0.0 to < 4.0.10 (affected · semver) · 4.0.10 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | openjs |
Description
@fastify/express is a compatibility layer that lets Express middleware run inside the Fastify web framework. In versions 4.0.0 through 4.0.9, when Fastify routing is configured to be case-insensitive, the router folds the request path to lower case in a way that maps certain non-ASCII Unicode characters to ASCII letters, but @fastify/express matches Express mount paths against the decoded path without applying the same folding. The two disagree, so a request that spells a letter of a mount path with an equivalent Unicode character is routed to the protected handler while the path-scoped middleware mounted on that path never matches and is skipped. An unauthenticated client can therefore reach a handler that an authentication, authorization, or rate-limiting middleware was meant to protect, though only when the application enables case-insensitive routing and the mount path contains an affected letter. The issue is fixed in @fastify/express 4.0.10, and users should upgrade to 4.0.10 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
- 7.4 / 10
- Severity
- high
- Provider
- openjs · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/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/express | @fastify/express | 4.0.0 to < 4.0.10 (affected · semver)4.0.10 (unaffected · semver)Default: unaffected | openjs · cna |
Weaknesses
2- CWE-178 CWE-178: Improper Handling of Case Sensitivity
- CWE-863 CWE-863: Incorrect Authorization
References
2Provider assertions
2openjs · cna
@fastify/express vulnerable to path-scoped middleware bypass via Unicode case folding
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5152ccd83ae24ecee772229e6a320db4b98cecc0c8fc45318d2552b65e87dda6
- Ingested
- 23 Nov 2026, 20:22:19 UTC
- Source record
- Official CVE record