Skip to content
DayZeroHub
High Not yet writtenCVSS 7.4CVE-2026-129850

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

@fastify/express @fastify/express

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-129850: high-severity vulnerability (CVSS 7.4) in @fastify/express @fastify/express.

What happened

Original description from the source: @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.

Why it matters

High severity, CVSS 7.4.

Affected products and versions

@fastify/express @fastify/express >= 4.0.0, < 4.0.10; @fastify/express @fastify/express 4.0.10 (fixed in 4.0.10)

ProductVersionsFixed in
@fastify/express @fastify/express>= 4.0.0, < 4.0.10—
@fastify/express @fastify/express4.0.104.0.10

Action recommended by the source

Upgrade to a fixed version: 4.0.10.

Fixed in: 4.0.10

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-178, CWE-863

Relevant change history

  1. Published

    Preliminary advisory published.