CVE-2026-135279
Last modified
CVE-2026-135279 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. @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.
Description
@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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| @fastify/express | @fastify/express | < 4.0.14 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-135279?
How severe is CVE-2026-135279?
How do I fix CVE-2026-135279?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-135269The WPC Linked Variation for WooCommerce plugin for WordPres…6.4
- CVE-2026-13527A vulnerability has been found in SourceCodester Class and E…7.3
- CVE-2026-135270@fastify/express is the plugin that lets an application run …7.4
- CVE-2026-135271In JetBrains Kotlinx.serialization before 1.12.0 a DoS attac…3.7
- CVE-2026-135272In JetBrains Kotlinx-io before 0.9.3 information disclosure …3.3
- CVE-2026-135278A vulnerability has been identified in Mendix Runtime V10 (A…5.4
- CVE-2026-13528A vulnerability was found in YunaiV/zhijiantianya ruoyi-vue-…7.3
- CVE-2026-135280@fastify/express is the plugin that lets an application run …7.4
- CVE-2026-135286phpwcms before 1.9.53, 1.12.7 and 2.0.0-beta.4 contains a ho…5.4
- CVE-2026-135287LiteLLM Proxy 1.62.4 before 1.84.0 contains a callback injec…5.4
- CVE-2026-135288AIOStreams 2.9.0 through 2.38.1 contains an information disc…4.8
- CVE-2026-135289ERPSaaS 3.7.9 through 3.47.0 contains a stored cross-site sc…5.4
Are you affected by CVE-2026-135279?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
