{"id":"CVE-2026-129850","summary":"@fastify/express vulnerable to path-scoped middleware bypass via Unicode case folding","details":"@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.","aliases":["GHSA-6rmc-f24g-hmp6"],"modified":"2026-11-21T19:00:08.542744436Z","published":"2026-11-21T17:05:52.983Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129850.json","cna_assigner":"openjs","cwe_ids":["CWE-178","CWE-863"]},"references":[{"type":"ADVISORY","url":"https://cna.openjsf.org/security-advisories.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129850.json"},{"type":"ADVISORY","url":"https://github.com/fastify/fastify-express/security/advisories/GHSA-6rmc-f24g-hmp6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129850"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/fastify/fastify-express","events":[{"introduced":"b76dcf75ec7f0e968788c3addb6ba4df5336cb5c"},{"fixed":"0f6f632b6bd32fddb6b57b0d4fee4ec33e2c8f24"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"4.0.0"},{"fixed":"4.0.10"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["v4.0.9","v4.0.8","v4.0.7","v4.0.6","v4.0.5","v4.0.4","v4.0.3","v4.0.2","v4.0.1","v4.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-129850.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}