Skip to main content

@fastify/express EUVDEUVD-2026-136810

| CVE-2026-135280 HIGH
Improper Handling of Case Sensitivity (CWE-178)
2026-11-26 ce714d77-add3-4f53-aff5-83d477b104bb
7.4
CVSS 3.1 · Vendor: ce714d77-add3-4f53-aff5-83d477b104bb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify route behind case-insensitive routing
  2. Delivery
    Craft request path with special Unicode or case variant
  3. Exploit
    Mount-path auth middleware fails to match
  4. Execution
    Request reaches protected route handler
  5. Impact
    Access controls bypassed

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Case sensitivity handling
Exploitation Conditions

Exploitation requires the application to set routerOptions.caseSensitive: false (a non-default choice) AND to rely on path-scoped Express middleware that is skipped in one of two ways: (1) a string mount path or plugin prefix containing a Unicode character whose Unicode case folding diverges from JavaScript toLowerCase() - specifically İ (U+0130), ẞ (U+1E9E), K (U+212A), Ω (U+2126), or Å (U+212B); or (2) a case-sensitive matcher inside an Express Router or application - a RegExp mount path without the i flag, a Router({ caseSensitive: true }), or an app with 'case sensitive routing' enabled. Limiting factors: applications that do NOT enable case-insensitive routing are entirely unaffected; default configurations are not exposed; and the attack only bypasses middleware that is mounted in these specific vulnerable patterns. No authentication is required to send the triggering request (PR:N).

Impact

This is a credible but conditional access-control bypass, not a mass-exploitation emergency. The CVSS 3.1 vector (AV:N/AC:L... actually AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N, 7.4 High) correctly captures that exploitation is unauthenticated and remote over HTTP but of high attack complexity, because the target application must be running a specific non-default configuration (caseSensitive: false) and have a path-scoped middleware mounted in one of the vulnerable ways. No EPSS score was provided in the input and the vulnerability is NOT in CISA KEV, so there is no evidence of active or widespread exploitation - the vuln.today Decision label is 'this_week', consistent with a serious issue warranting prompt patching rather than emergency response. No SSVC decision fields (automatable, technical impact) were supplied. No public exploit code is referenced; the only references are the GHSA advisory and the OpenJSF security-advisories page. Net: real priority for teams that actually run @fastify/express with case-insensitive routing and middleware-based auth, but the required non-default config meaningfully narrows the exposed population, so it should be triaged as 'patch this week' rather than drop-everything.

Exploit ScenarioDerived

An application uses @fastify/express with routerOptions.caseSensitive: false and enforces authentication via Express middleware mounted on a path (e.g. fastify.use('/İletişim/admin', auth) or a case-sensitive router matcher). A remote unauthenticated attacker sends a request whose path spelling evades the mount's casing match - using a Unicode character whose case folding diverges from toLowerCase() or a casing the case-sensitive matcher won't match - so the request reaches the protected route handler while the auth middleware is skipped. No public working exploit code is referenced, but the advisory describes the technique in enough detail to reproduce it.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 26, 2026

Path-scoped Express middleware mounted through @fastify/express before 4.0.14 can be skipped entirely, so requests land on the Fastify route handler without the authentication or access-control middleware running. Only applications that explicitly set routerOptions.caseSensitive: false are exposed, and only where middleware sits behind a Unicode-containing string mount path or a case-sensitive matcher inside an Express Router or application. A remote attacker needs no credentials to send the triggering request, but exploitation is conditional on those specific deployment and mounting choices. No public exploit code has been identified at time of analysis; the issue is a documented follow-on to the earlier case-folding bypass CVE-2026-129850 (GHSA-6rmc-f24g-hmp6) and carries a 7.4 CVSS with high confidentiality and integrity impact.

RemediationAI

Upgrade @fastify/express to 4.0.14 or later; this is the only complete fix. In 4.0.14 string mount paths are lowercased exactly as the request path is, and a request that a case-sensitive matcher would match in the route's own spelling now fails with a 500 instead of silently skipping the middleware - operators should expect that new error behavior on affected routes and account for it in monitoring rather than treat it as a regression. If upgrading immediately is not possible, the vendor workarounds are: enforce authentication in a Fastify hook such as preHandler that runs after the router has resolved the request (so the check no longer depends on Express mount-path matching), remove characters such as İ and ẞ from string mount paths and plugin prefixes, and make matching inside Express routers and applications case-insensitive by adding the i flag to RegExp mount paths and by not enabling caseSensitive or 'case sensitive routing'. Each workaround is configuration-level and carries maintenance risk: the preHandler approach duplicates authorization logic and can drift from the Express-side rules, and renaming mount paths or forcing the i flag changes routing behavior for any application that deliberately depends on case-sensitive mounting. Note that applications which do not set caseSensitive: false require none of this. Advisory: https://github.com/fastify/fastify-express/security/advisories/GHSA-f446-h93m-fvr5.

Affected VersionsENISA

@fastify/express 0 <4.0.14

Affected Packages

euvd fastify_express fix: 4.0.14

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is an improper handling of case sensitivity (CWE-178) that escalates into an authorization bypass (CWE-863). When Fastify is configured with caseSensitive: false, its find-my-way router lowercases the incoming path via JavaScript toLowerCase() and routes the request regardless of spelling; @fastify/express 4.0.10 attempted to mirror that behavior by lowercasing the path handed to Express and adding the i flag to RegExp mount paths. That mirroring is incomplete in two documented ways. First, JavaScript's toLowerCase() and the case-insensitive regular-expression flag do not fold every code point identically: U+0130 (İ) lowers to 'i̇', U+1E9E (ẞ) to 'ß', and U+212A (K), U+2126 (Ω) and U+212B (Å) fold to ASCII or other letters, so a mount path or plugin prefix containing such a character - for example fastify.use('/İletişim/admin', auth) - never matches the lowercased request path and the middleware is silently skipped on every request beneath it (earlier versions are instead bypassed by an attacker simply spelling the request in lowercase). Second, matching performed inside an Express Router or Express application passed to fastify.use() can remain case-sensitive through a RegExp mount path without the i flag, Router({ caseSensitive: true }), or an application with 'case sensitive routing' enabled; such a mount only matches its own casing, so GET /admin/users reaches the handler for /Admin/users while router.use(/^\/Admin/, auth) is skipped. In both variants the request reaches the Fastify route handler while the path-scoped middleware does not execute.

Know when Node.js gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (ce714d77-add3-4f53-aff5-83d477b104bb) PRIMARY 7.4 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 7.4 HIGH

Remote unauthenticated HTTP request (AV:N/PR:N/UI:N); AC:H because a specific non-default config and vulnerable mount pattern must be present; bypassing auth exposes protected data and actions (C:H/I:H), no availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (ce714d77-add3-4f53-aff5-83d477b104bb).

CVSS VectorVendor: ce714d77-add3-4f53-aff5-83d477b104bb

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Nov 26, 2026 - 18:03 EUVD
CVE Published
Nov 26, 2026 - 17:17 cve.org
HIGH 7.4

DescriptionCVE.org

@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.

Technical POC Analysis

CWE-178 (Improper Handling of Case Sensitivity), with the advisory also tagging CWE-863 (Incorrect Authorization) as the downstream consequence.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity vulnerability in the @fastify/express middleware library (versions before 4.0.14) allows authentication and access-control middleware to be bypassed under specific conditions, potentially exposing sensitive data and functionality to unauthorized users. While exploitation requires particular deployment configurations-such as non-case-sensitive router options and Unicode mount paths-the impact is severe, with high confidentiality and integrity risks. Leadership should prioritize remediation for affected applications, especially those with critical data or regulatory obligations.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include disabling routerOptions.caseSensitive (set to true) and avoiding Unicode-containing mount paths for middleware, plus enforcing network-level access controls to restrict untrusted traffic.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Medium
Fastify-ecosystem npm plugin, moderate adoption, not universally deployed
Social Media
1
Sightings
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy