Home › CVE › Network devices
CVE-2026-135280 — @fastify/express
One of 5 @fastify/express vulnerabilities published together by NVD: our article covers all of them.
Network devicesVulnerabilitiesResearch article
CVE-2026-135280: @fastify/express Case Sensitivity Handling Flaw
| CVE | CVE-2026-135280 |
|---|---|
| Vendor and product | @fastify/express |
| Published | November 26, 2026 21:10 UTC |
| Research cut-off | November 26, 2026 20:30 UTC |
| Sources reviewed | 2: NVD record (last modified 2026-11-26); CISA KEV catalog |
Executive summary
CVE-2026-135280 impacts the @fastify/express plugin when case-insensitive routing is activated, enabling bypass of middleware-based access controls. The CVSS 3.1 score is 7.4 HIGH, with a vector of AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N, scored by ce714d77-add3-4f53-aff5-83d477b104bb [1]. The issue is resolved in version 4.0.14 [1], and the reviewed sources do not mention exploitation [2]. Users are advised to update to the fixed version to reduce the risk.
Key points
- CVE-2026-135280 impacts @fastify/express when case-insensitive routing is enabled [1].
- The CVSS 3.1 score is 7.4 HIGH, with a vector of AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N [1].
- The vulnerability is resolved in version 4.0.14 [1].
- The reviewed sources do not report exploitation [2].
- Users should upgrade to 4.0.14 or later to reduce the risk [1].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-135280 | Fastify | @fastify/express | CWE-178, CWE-863 | 7.4 HIGH | 2026-11-26 | 2026-11-26 | Received |
Vulnerability description
This flaw occurs in @fastify/express versions prior to 4.0.14 when case-insensitive routing is enabled. In such cases, middleware may be skipped if a string mount path or plugin prefix includes a character from Unicode whose case mapping diverges from simple lowercase conversion, or if a matcher that respects letter case inside an Express Router or application is used [1]. This allows an attacker to bypass authentication or other access control measures on the affected routes [1].
Attack surface and exploitation prerequisites
The CVSS vector indicates the vulnerability is reachable over the network (AV:N) with high attack complexity (AC:H) and no privileges required (PR:N) [1]. No user interaction is needed (UI:N), and the impact on confidentiality and integrity is high (C:H, I:H), with no effect on availability (A:N) [1].
Impact analysis
The vulnerability enables an attacker to bypass authentication or other access control mechanisms, potentially granting unauthorized access to sensitive routes. The CVSS vector highlights a high impact on confidentiality and integrity, with no impact on availability [1].
Affected products and versions
| Affected Version | Fixed Version |
|---|---|
| < 4.0.14 | 4.0.14 |
Exploitation and threat intelligence status
CVE-2026-135280 is not included in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-26 [2]. The reviewed sources do not report any exploitation attempts.
Detection and exposure assessment
Users should verify if their installed version of @fastify/express is below 4.0.14 [1]. There are no specific detection steps provided by the sources.
Remediation
The issue is resolved in version 4.0.14 [1]. Users are advised to update to version 4.0.14 or a newer release. As a temporary solution, enforce authentication using a Fastify hook like preHandler that runs after routing, avoid using Unicode characters in mount paths that could cause case folding issues, and ensure case-insensitive matching inside Express routers and applications [1].
Remediation checklist
- Upgrade @fastify/express to version 4.0.14 or later [1].
- Enforce authentication using a Fastify hook like preHandler that runs after routing [1].
- Avoid using Unicode characters in mount paths that could cause case folding issues [1].
- Ensure case-insensitive matching inside Express routers and applications [1].
Evidence gaps
- The sources do not describe the internal workings of the affected component.
- The sources do not mention a workaround.
- The sources do not provide a scenario for exploitation.
- The sources do not list indicators of compromise.
- The sources do not specify a fixed version for all affected products.
References
- CVE-2026-135280 record. NIST National Vulnerability Database (NVD), 2026-11-26. https://nvd.nist.gov/vuln/detail/CVE-2026-135280. Accessed 2026-11-26.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-26. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-26.
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, when an application enables case-insensitive routing, middleware mounted on a path can still be skipped in two cases: a string mount path or plugin prefix containing a Unicode character whose case folding differs from a plain lowercase conversion fails to match the lowercased request path, and a matcher that stays case-sensitive inside an Express Router or application, such as a regular expression without the ignore-case flag or an explicitly case-sensitive router, only matches its own casing. In both cases a request reaches the Fastify route handler while the path-scoped middleware does not run. An attacker can use this to bypass authentication or other middleware-based access controls on the affected routes, and only applications that enable case-insensitive routing are affected. 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, avoid such Unicode characters in mount paths, and match case-insensitively inside Express routers and applications.
Severity breakdown
High · 7.4
An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality and integrity, none on availability
Weakness
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| @fastify/express | < 4.0.14 | 4.0.14 |
References by type
Vendor advisories
Other references
Affected
- @fastify/express
Frequently asked questions
What is CVE-2026-135280?
CVE-2026-135280 impacts the @fastify/express plugin when case-insensitive routing is activated, enabling bypass of middleware-based access controls. The CVSS 3.1 score is 7.4 HIGH, with a vector of AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N, scored by ce714d77-add3-4f53-aff5-83d477b104bb. The issue is resolved in version 4.0.14, and the reviewed sources do not mention exploitation. Weakness type: Improper Handling of Case Sensitivity (CWE-178).
How severe is CVE-2026-135280?
CVE-2026-135280 has a CVSS 3.1 base score of 7.4 (high), from the CNA. An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-135280 being exploited?
Not as far as is known: CVE-2026-135280 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026.
Which versions are affected by CVE-2026-135280?
@fastify/express < 4.0.14 (fixed in 4.0.14).
How do I fix CVE-2026-135280?
Upgrade @fastify/express to version 4.0.14 or later. Enforce authentication using a Fastify hook like preHandler that runs after routing. Avoid using Unicode characters in mount paths that could cause case folding issues.