{"id":"CVE-2026-129850","aliases":["GHSA-6rmc-f24g-hmp6"],"title":"@fastify/express vulnerable to path-scoped middleware bypass via Unicode case folding","originalDescription":"@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.","severity":{"cvss":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00429,"percentile":0.28892},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"@fastify/express","range":">=4.0.0, <4.0.10","fixed":"4.0.10"}],"references":[{"url":"https://github.com/fastify/fastify-express/security/advisories/GHSA-6rmc-f24g-hmp6","type":"other"},{"url":"https://cna.openjsf.org/security-advisories.html","type":"other"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129850.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129850","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-23T21:33:04.670Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129850","license":"NVD terms of use","firstSeenAt":"2026-11-21T17:43:04.614Z"},{"name":"osv","at":"2026-11-22T21:46:49.060Z","url":"https://osv.dev/vulnerability/CVE-2026-129850","license":"CC-BY 4.0","firstSeenAt":"2026-11-21T19:22:33.157Z"},{"name":"cvelistV5","at":"2026-11-24T12:24:13.530Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-129850","license":"CVE Terms of Use","firstSeenAt":"2026-11-21T17:40:36.046Z"}],"firstSeenAt":"2026-11-21T17:40:36.046Z","publishedAt":"2026-11-21T17:05:52.983Z","modifiedAt":"2026-11-23T21:16:55.853Z"}