Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft request with encoded backslash, double-encoded percent, or leading asterisk
-
ExploitFastify router and Express normalize path differently
-
ExecutionPath-scoped auth/authz/rate-limit middleware skipped
-
ImpactProtected route handler executes for unauthenticated client
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Requires that the application run Express middleware through @fastify/express before version 4.0.10 AND rely on path-scoped middleware - mounted like |
| Impact | Multiple signals converge on genuine high priority. The supplied CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N, 9.1) describes remote, low-complexity, unauthenticated exploitation requiring no user interaction, and the GHSA advisory confirms no special configuration is needed - the bypass works against default deployments that use path-scoped Express middleware for security. The vuln.today decision label is act_now, reinforcing urgency. However, key quantitative signals are absent: no EPSS probability is provided, and there is no CISA KEV entry, so active exploitation is NOT confirmed and widespread-versus-targeted exploitation cannot be judged from this data. No packaged proof-of-concept is listed either, but the GHSA advisory publishes exact trigger payloads (for example |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted request - such as a URL containing an encoded backslash plus whitespace ( |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 21, 2026
Path-scoped Express middleware can be skipped while the Fastify route handler still executes in @fastify/express before 4.0.10, because the plugin hands Express a request URL that does not match the path Fastify's find-my-way router dispatched. Unauthenticated remote attackers can therefore reach handlers that authentication, authorization or rate-limiting middleware was meant to guard - for example a mount such as app.use('/tenant/:id/admin', authMiddleware) - with no special configuration required on default deployments, yielding high confidentiality and integrity impact. The backslash and double-percent decoding variants affect releases from 4.0.3 onward, while a request target beginning with * (for example GET *admin) bypasses every prior release, including static mounts; no public exploit code was identified at time of analysis, but the disclosed trigger forms make the bypass straightforward to reproduce.
RemediationAI
Vendor-released patch: upgrade @fastify/express to 4.0.10 or later, which passes Express the path the router actually matched, rejects request targets that do not start with / with a 400, keeps the query string encoded in req.url, and matches RegExp mount paths against the percent-encoded path as Express does - upgrading is the complete fix per the advisory (GHSA-w877-hjcp-88rc, https://github.com/fastify/fastify-express/security/advisories/GHSA-w877-hjcp-88rc). If upgrading cannot be done immediately, the advisory's workaround is to enforce authentication in a Fastify hook such as preHandler that runs after the router has resolved the request, basing the decision on the matched route (request.routeOptions.url) rather than on Express path mounts; note this shifts where the security decision lives and only protects handlers covered by that hook. To block only the two described bypasses, reject request targets that start with * or whose path contains a backslash in an onRequest hook registered before @fastify/express, accepting that such requests are refused rather than served.
Affected VersionsENISA
Affected Packages
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 interpretation conflict (CWE-436) rooted in double/rewritten percent-decoding (CWE-174) between two routers stacked in one process: Fastify's find-my-way router decides which route is dispatched, while Express separately parses req.url to decide which path-scoped middleware mounts match. Since 4.0.3 the plugin percent-decodes the URL before Express parses it, so a backslash combined with whitespace or # (for instance /tenant/x%5C%20/admin) causes Express to rewrite \ to / and miss parameterized, prefixed and RegExp mounts; %25 is decoded twice, so middleware and handler disagree on parameter and query values (/acct/%2561lice yields alice in middleware but %61lice in the handler). Independently of version, a request target starting with * (e.g. GET *admin) is routed to /admin by Fastify while Express matches no mount on /admin, skipping static mounts as well. The result is that the component enforcing the security decision (Express middleware) and the component executing the business logic (the route handler) resolve different paths or parameter values. The CVSS vector (AV:N/AC:L/PR:N/UI:N) confirms the attack is remote and unauthenticated, which is precisely what makes a skipped authentication middleware meaningful; the trigger requires the application to enforce security in path-scoped Express middleware rather than in a Fastify hook keyed on the matched route.
Know when the next one hits your stack
- 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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Remote, unauthenticated, no interaction and no config needed (AV:N/AC:L/PR:N/UI:N); bypassing security middleware exposes protected handlers that can read and modify state, so C:H/I:H, A:N with no scope change.
Primary rating from Vendor (ce714d77-add3-4f53-aff5-83d477b104bb).
CVSS VectorVendor: ce714d77-add3-4f53-aff5-83d477b104bb
Lifecycle Timeline
2DescriptionCVE.org
@fastify/express is a compatibility layer that lets Express middleware run inside the Fastify web framework. In versions before 4.0.10, the plugin passes Express a request URL that does not always match the path Fastify's router dispatched, so path-scoped Express middleware can be skipped while the route handler still runs. Several request forms trigger the mismatch, including percent-decoding that rewrites a backslash to a slash or double-decodes an encoded percent sign, and a request target that begins with an asterisk, so the middleware and the handler disagree on the path or on parameter and query values. An unauthenticated client can therefore reach a handler that an authentication, authorization, or rate-limiting middleware was meant to protect, with no special configuration required. The issue is fixed in @fastify/express 4.0.10, and users should upgrade to 4.0.10 or later.
Technical POC Analysis
The flaw is an interpretation conflict between Fastify's find-my-way router and Express's request URL handling (CWE-436), with one trigger being double percent-decoding (CWE-174).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-133120 is a critical vulnerability in the @fastify/express middleware integration (versions before 4.0.10) that allows unauthenticated attackers to bypass authentication and authorization controls by crafting malicious request paths. Any organization using Fastify with Express middleware to protect sensitive routes-particularly multi-tenant applications relying on path-based middleware-is exposed to unauthorized access, data breaches, and integrity compromise, with no patch currently available.
No vendor-released patch identified at time of analysis. Interim mitigations include enforcing request URL validation via a global Fastify hook, configuring WAF rules to block paths with backslashes, double-encoding, or leading asterisks, disabling the @fastify/express plugin if not operationally required, and adding secondary authentication and authorization checks within route handlers.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-132558
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB