Patch Ticker
EnglishEN
Urgent

@fastify/express middleware bypass skips authentication checks

CVE-2026-135279 and 4 more

Web apps' login checks can be skipped, letting attackers in!

CVE
CVE-2026-135279 and 4 more
Score
CVSS 9.1 · CVE-2026-135279
First seen
9.1
Products
Disclosed together @fastify/express

Mitigation

Update @fastify/express to 4.0.14 or later. Until then, enforce authentication in a preHandler hook that runs after routing. Requiring non-empty values in the route params schema only blocks CVE-2026-135279; for the others, the update is the only fix.

Summary

@fastify/express is the plugin that runs Express middleware inside Fastify. An unauthenticated remote attacker can bypass the access controls that this middleware enforces on the affected routes. The same fixed version also fixes other path-matching and case-handling flaws that skip middleware.

Affected when

  • version before 4.0.14
  • CVE-2026-135279 middleware mounted inside an Express Router or sub-application
  • CVE-2026-135230 regular-expression mount paths
  • CVE-2026-135264 nested array mount paths
  • CVE-2026-135270 mount paths starting with an optional group
  • CVE-2026-135280 case-insensitive routing enabled

1 other Incident of this product in the last 30 days

Incidents by product: @fastify/express

Other recent Incidents of @fastify/express

All Incidents of 2026-11-27

5 CVEs (every link below opens in a new tab)

Read the CVE record · cve.org (opens in a new tab)

Each of the 5 CVEs (every link below opens in a new tab)

  • CVE-2026-135279An empty route parameter skips middleware inside Express routers, bypassing authentication. CVSS 9.1
  • CVE-2026-135230A path with encoded line separators skips regular-expression middleware. CVSS 7.4
  • CVE-2026-135264Middleware on nested arrays of mount paths never runs or runs unreliably. CVSS 7.4
Show 2 more
  • CVE-2026-135270Mount paths starting with an optional group are misplaced, so middleware never runs. CVSS 7.4
  • CVE-2026-135280Unicode mount paths under case-insensitive routing skip middleware. CVSS 7.4