← VULNERABILITIES

CVE-2026-129850

@fastify/express vulnerable to path-scoped middleware bypass via Unicode case folding

High · 7.4Fix available
CVSS
7.4
EPSS
0.43% (p29)
Published
2026-11-21
Age
8d old
Modified
2026-11-23
Product
@fastify/express @fastify/express
Aliases
GHSA-6rmc-f24g-hmp6

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

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.

Fixed in

4.0.10

Affected packages

EcosystemPackageRangeFixed
vendor@fastify/express>=4.0.0, <4.0.104.0.10

Sources

  • NVD · first seen 8d ago · NVD terms of use
  • OSV · first seen 8d ago · CC-BY 4.0
  • CVE List · first seen 8d ago · CVE Terms of Use

References

JSON