# CVE-2026-129850: @fastify/express vulnerable to path-scoped middleware bypass via Unicode case folding

- Severity: High 7.4 (CVSS:3.1, scored by openjs) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Published: 2026-11-21T17:05:52.983Z
- Modified: 2026-11-23T21:16:55.853Z
- Weaknesses: CWE-178, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- @fastify/express @fastify/express: from 4.0.0 before 4.0.10 (not affected: 4.0.10)

## References

- <https://github.com/fastify/fastify-express/security/advisories/GHSA-6rmc-f24g-hmp6>
- <https://cna.openjsf.org/security-advisories.html>

## Sources

- CVE List: [CVE-2026-129850](https://www.cve.org/CVERecord?id=CVE-2026-129850), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-129850](https://nvd.nist.gov/vuln/detail/CVE-2026-129850), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-129850 · Whole record: https://cve.day/CVE-2026-129850.json · Rebuilt by cve.day 2026-11-25T22:59:52.523Z
