The OpenJS CVE record says an empty dynamic route parameter can reach a Fastify handler while authentication middleware inside a mounted Express Router or sub-application is skipped.Fastify accepts an empty route value that the Express matcher requires to be non-empty. The vendor also describes a bypass involving an unanchored regular-expression mount. What an attacker can reach depends on the application's routes and the value selected by the empty parameter.
What it allows
How Does CVE-2026-135279 Bypass Middleware?
The vendor says the Fastify and Express route matchers disagree about empty dynamic values. In the affected arrangement, Fastify can dispatch a request to a handler while the Express Router or sub-application does not run middleware mounted for that path. Teams using Vulnerability Intelligence can prioritize the package and route configuration together.
The vendor says @fastify/express 4.0.10 addressed a related bypass for dynamic paths passed directly to the plugin. It did not cover middleware mounted inside a routed Express application. The earlier CVE-2026-124626 profile describes that separate path.
The advisory also describes unanchored regular-expression mounts whose matches do not begin at the path start. This is another configuration that can miss protection for a handler. The prefix mount bypass profile covers a different Fastify Express issue.
The advisory describes the bypass mechanism and patch, but provides no evidence of an incident tied to CVE-2026-135279.
CISA's KEV catalog version 2026.11.25 did not list this CVE. Our assessment of exploitation remains unknown; the catalog status is one dated input to prioritization.
Who is affected
Which @fastify/express Versions and Applications Are Affected?
The Fastify advisory and OpenJS CVE record list @fastify/express versions before 4.0.14 as affected. Exposure matters where an application mounts an Express Router or sub-application and relies on path-specific middleware to protect a Fastify handler. The vendor also identifies unanchored regular-expression mounts passed to the plugin.
Inspect the installed @fastify/express package version and how the application mounts authentication or other access-control middleware. A version at 4.0.10 still needs this update because that earlier fix covered a different code path. The vendor says the default router configuration is sufficient for this mismatch.
Use the installed package or lockfile version to identify affected deployments, then confirm the running application uses the patched package after release. Review route-level protection in the same change window; a fixed dependency alone does not validate application access-control behavior.
Timeline
- 2026-11-26
OpenJS published the CVE record, and Fastify published its security advisory identifying @fastify/express 4.0.14 as the patched release.
What to do
-
Inventory affected applications
Find applications using @fastify/express below 4.0.14. Identify Express Router or sub-application mounts and unanchored regular-expression mounts that guard access to Fastify handlers.
-
Upgrade the plugin
Update @fastify/express to 4.0.14 or later. The Fastify advisory identifies 4.0.14 as the patched version for CVE-2026-135279.
-
Verify the running version and authorization
Confirm the deployed application loads @fastify/express 4.0.14 or later. Run authorized access-control tests for routes protected by Express middleware after the upgrade.
-
Apply a temporary control if upgrade is delayed
The vendor recommends authentication in a Fastify hook after routing, a static parent-path middleware mount, or a schema requiring non-empty route parameters. Validate the chosen control against the application's routes.
-
Review relevant access
Inspect access logs for unexpected requests to sensitive handlers and investigate any authorization mismatch. This is a defensive recommendation, not evidence of a confirmed incident.
What Brandefense can do
- Watch your stack for exploited flaws
Name the vendors and products you run, and Brandefense alerts you when a CVE in them is exploited.
- See CVE-2026-135279 in Brandefense Atlas
The Atlas record of CVE-2026-135279: severity, exploitation status and the sources behind it.
- Vulnerability intelligence platform
Brandefense Vulnerability Intelligence follows which vulnerabilities attackers are using, so your team can patch what is under attack first.
Frequently Asked Questions
Does @fastify/express 4.0.10 fix CVE-2026-135279?
No. Fastify says 4.0.10 covered a related bypass for paths passed directly to fastify.use(). This separate Router and sub-application path is fixed in 4.0.14.
What applications need review?
Review applications using @fastify/express before 4.0.14, especially those relying on path-specific middleware inside mounted Express Routers or sub-applications. Also review unanchored regular-expression mounts.
What is the fixed @fastify/express version?
Fastify lists @fastify/express 4.0.14 as patched. Upgrade to 4.0.14 or later and verify the version loaded by the running application.
Is exploitation confirmed?
The advisory describes a possible authentication bypass, while the documented evidence does not establish an incident. CISA KEV catalog version 2026.11.25 did not list this CVE.
Sources
- Fastify Express Router Middleware Bypass AdvisoryFastify via GitHub Security Advisories
- CVE-2026-135279 RecordOpenJS Foundation CNA via CVE Program
- Known Exploited Vulnerabilities Catalog FeedCISA