CVE-2026-22031 affects @fastify/middie versions prior to 9.1.0, allowing attackers to bypass middleware protection in Fastify applications. This high-severity vulnerability (CVSS 8.4) stems from the middleware engine failing to match URL-encoded path prefixes, while the Fastify router correctly decodes and processes the request, leading to unauthorized access to protected endpoints. The attack has a network vector and high impact on confidentiality and integrity, with low impact on availability. There is currently no evidence of active exploitation, public exploit code, or significant community discussion.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 9.1.0CPE matchmatch criteria | cpe:2.3:a:fastify:fastify\/middie:*:*:*:*:*:node.js:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.3 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.