Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Network devices

CVE-2026-135279 — @fastify/express

Critical · CVSS 9.1 First seen November 26, 2026

One of 5 @fastify/express vulnerabilities published together by NVD: our article covers all of them.

Network devicesVulnerabilities

Summary

@fastify/express is the plugin that lets an application run Express middleware and Express applications inside the Fastify web framework. In versions before 4.0.14, a request with an empty dynamic route parameter reaches a Fastify route handler while middleware mounted for that path inside an Express Router or sub-application is skipped, because Fastify's router accepts an empty value where Express requires a non-empty one, and an unanchored regular-expression mount passed to the plugin is bypassed the same way. An earlier fix covered only the mount paths passed to the plugin directly, not middleware mounted inside a routed Express application. An attacker can use this to bypass authentication or other middleware-based access controls on the affected routes, with the practical impact depending on what the empty value selects in the application. The issue is fixed in @fastify/express 4.0.14, and users should upgrade to 4.0.14 or later. As a workaround, enforce authentication in a Fastify hook such as preHandler that runs after routing, mount the middleware on a static parent path, or require non-empty values in the route params schema.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Critical · 9.1 CVSS 3.1 base score from the CNA

An attacker without an account can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Login needed
no
User action needed
no
Scope
stays within the vulnerable component
Impact
high on confidentiality and integrity, none on availability

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Weakness

Affected and fixed versions

ProductAffected versionsFixed in
@fastify/express< 4.0.144.0.14

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Other references

Details from NVD (public domain).

Affected

  • @fastify/express

What to do

  • Check whether you run an affected product or version and apply the vendor's update or mitigation.
  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-135279?

@fastify/express is the plugin that lets an application run Express middleware and Express applications inside the Fastify web framework. In versions before 4.0.14, a request with an empty dynamic route parameter reaches a Fastify route handler while middleware mounted for that path inside an Express Router or sub-application is skipped, because Fastify's router accepts an empty value where Express requires a… Weakness type: Improper Authentication (CWE-287).

How severe is CVE-2026-135279?

CVE-2026-135279 has a CVSS 3.1 base score of 9.1 (critical), from the CNA. An attacker without an account can exploit this over the network, without any user action.

Is CVE-2026-135279 being exploited?

Not as far as is known: CVE-2026-135279 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026.

Which versions are affected by CVE-2026-135279?

@fastify/express < 4.0.14 (fixed in 4.0.14).

How do I fix CVE-2026-135279?

Update to a fixed release: @fastify/express 4.0.14.

Timeline & sources

References