Fastify Middie Middleware Path Bypass
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| fastify | middie | affected |
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Fastify | Fastify | — |
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-cxrg-g7r8-w69p | Fastify Middie Middleware Path Bypass |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.532% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Fastify fastify\/middie
|
|
| CPEs | cpe:2.3:a:fastify:fastify\/middie:*:*:*:*:*:node.js:*:* | |
| Vendors & Products |
Openjsf
Openjsf \@fastify\/middie |
Fastify fastify\/middie
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Openjsf
Openjsf \@fastify\/middie |
|
| CPEs | cpe:2.3:a:openjsf:\@fastify\/middie:*:*:*:*:*:fastify:*:* | |
| Vendors & Products |
Openjsf
Openjsf \@fastify\/middie |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Fastify
Fastify fastify |
|
| Vendors & Products |
Fastify
Fastify fastify |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | @fastify/middie is the plugin that adds middleware support on steroids to Fastify. A security vulnerability exists in @fastify/middie prior to version 9.1.0 where middleware registered with a specific path prefix can be bypassed using URL-encoded characters (e.g., `/%61dmin` instead of `/admin`). While the middleware engine fails to match the encoded path and skips execution, the underlying Fastify router correctly decodes the path and matches the route handler, allowing attackers to access protected endpoints without the middleware constraints. Version 9.1.0 fixes the issue. | |
| Title | Fastify Middie Middleware Path Bypass | |
| Weaknesses | CWE-177 | |
| References |
| |
| Metrics |
cvssV3_1
|