{"schemaVersion":4,"id":"CVE-2026-129850","aliases":[],"status":"published","duplicateOf":null,"title":"@fastify/express vulnerable to path-scoped middleware bypass via Unicode case folding","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.","dates":{"published":"2026-11-21T17:05:52.983Z","modified":"2026-11-23T20:16:51.472Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.4,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.4,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.4,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00587,"percentile":0.49485,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-22T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00587,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00587,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00587,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00587,"percentile":0.49485}],"last30":[{"date":"2026-11-22T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00587,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00587,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00587,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00587,"percentile":0.49485}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-178","name":"Improper Handling of Case Sensitivity","description":"The product does not properly account for differences in case sensitivity when accessing or determining the properties of a resource, leading to inconsistent results.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/178.html"},{"id":"CWE-863","name":"Incorrect Authorization","description":"The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/863.html"}],"affected":[{"vendor":"@fastify/express","product":"@fastify/express","name":"@fastify/express","label":"@fastify/express","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.0.0, < 4.0.10","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.0.0","startInclusive":true,"end":"4.0.10","endInclusive":false}}],"versionsText":"≥ 4.0.0, < 4.0.10","eol":null,"hubHref":"/vendor/fastifyexpress/fastifyexpress"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/fastify/fastify-express/security/advisories/GHSA-6rmc-f24g-hmp6","label":"github.com/fastify/fastify-express/security/advisories/GHSA-6rmc-f24g-hmp6","hostname":"github.com","tags":[]},{"url":"https://cna.openjsf.org/security-advisories.html","label":"cna.openjsf.org/security-advisories.html","hostname":"cna.openjsf.org","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-21T17:05:52.983Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-23T20:16:51.472Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 7.4 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)","nextStep":"Check applicability: affected before 4.0.10 (CNA); fix release not confirmed","rank":[0,0,0,0,1,74],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00587,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-23T20:16:51.472Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-23T20:16:51.472Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-23T20:16:39.709Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00587,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T09:01:26.874Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T09:01:27.430Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T09:01:27.610Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T09:01:02.756Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T09:01:25.188Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T09:01:24.136Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T09:47:58.568Z","stale":false,"partial":false}}