CVE-2026-135264
Last modified
CVE-2026-135264 is a high-severity vulnerability rated 7.4/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 from 4.0.7 before 4.0.14, when middleware is mounted on a nested array of mount paths the plugin rewrites only the top level of the array, so paths inside a nested array are not adjusted for a plugin registered under a prefix and the middleware never runs for them, a nested regular-expression mount keeps its global or sticky flag and is matched statefully so it is skipped on alternating requests, a nested regular expression is not matched case-insensitively when case sensitivity is disabled, and nested dynamic paths are not covered by the earlier empty-segment check.
Description
@fastify/express is the plugin that lets an application run Express middleware and Express applications inside the Fastify web framework. In versions from 4.0.7 before 4.0.14, when middleware is mounted on a nested array of mount paths the plugin rewrites only the top level of the array, so paths inside a nested array are not adjusted for a plugin registered under a prefix and the middleware never runs for them, a nested regular-expression mount keeps its global or sticky flag and is matched statefully so it is skipped on alternating requests, a nested regular expression is not matched case-insensitively when case sensitivity is disabled, and nested dynamic paths are not covered by the earlier empty-segment check. An attacker can use any of these to bypass authentication or other middleware-based access controls on the affected routes. The issue is fixed in @fastify/express 4.0.14, and users should upgrade to 4.0.14 or later. As a workaround, flatten mount path arrays before passing them to the plugin, or enforce authentication in a Fastify hook such as preHandler that runs after the router resolves the request.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| @fastify/express | @fastify/express | >= 4.0.7, < 4.0.14 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-135264?
How severe is CVE-2026-135264?
How do I fix CVE-2026-135264?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- 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-135258MISP contains multiple related authorization and input-valid…7.1
- CVE-2026-135259MISP contains a type confusion vulnerability in the authenti…5.3
- CVE-2026-13526A flaw has been found in SourceCodester Class and Exam Timet…7.3
- CVE-2026-135260MISP contains multiple flaws in its login and one-time-passw…6.9
- CVE-2026-135261MISP's brute-force lockout mechanism for login and one-time-…6.9
- CVE-2026-135262MISP contains a DOM-based cross-site scripting (XSS) vulnera…6.2
- CVE-2026-135266The Music Player for WooCommerce plugin for WordPress is vul…7.5
- CVE-2026-135267The Relevanssi – A Better Search plugin for WordPress is vul…6.4
- 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
Are you affected by CVE-2026-135264?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
