New CVE Detected

CVE-2026-133250 – Authentication Bypass (Path-Scoped Middleware Bypass) – @fastify/middie 9.3.7 and

Get a free Attack Surface scan to see if you’re exposed.

Be the first to know when new zero-days emerge:

Summary

CVE-2026-133250 is a path-scoped middleware bypass (authentication bypass through an interpretation conflict) in @fastify/middie, the middleware engine for the Fastify Node.js framework. Middie matches path-scoped middleware against its own reading of the request path. That reading can differ from the path Fastify’s router uses to dispatch the request. Unauthenticated clients can then reach handlers that authentication, authorization or rate-limiting middleware was meant to protect. The severity is Critical (CVSS 9.1).

Technical details

  • Root cause: Middie’s path matching diverges from the path interpretation of Fastify’s router (find-my-way). A request can be routed to a protected handler without matching the middleware mounted for that path. CWE-288 (Authentication Bypass Using an Alternate Path or Channel) and CWE-436 (Interpretation Conflict).
  • Trigger conditions: The advisory describes three request patterns.
    • Empty parameter or wildcard values. For example, /tenant//admin matches the router’s /tenant/:id/admin route with an empty id, but middie’s path matching does not allow empty values. Similar cases are /user/ against /user/:id and /files/ against /files/*path.
    • Asterisk-form request targets. A target such as *admin is routed to /admin by the router, which strips the leading asterisk, while middie processes the target as-is.
    • Encoded percent signs. A literal % in a mount path stays encoded as %25 in the router, but middie decodes it once more. As a result, /100%25 matches a /100% mount.
  • Attack vector: Network. The attacker needs no authentication, no privileges and no user interaction. The attack uses crafted HTTP request paths.
  • Impact: Handlers protected only by path-scoped middie middleware (authentication, authorization or rate limiting) can be reached without passing that middleware. This leads to high confidentiality and integrity impact.

Affected software

  • @fastify/middie versions 0 through 9.3.7 (all versions before 9.3.8)

Severity

  • CVSS v3.1 base score: 9.1 (Critical)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Mitigation and recommended actions

  • Immediate: Upgrade @fastify/middie to 9.3.8 or later.
  • If you cannot patch immediately: Enforce authentication and authorization in a Fastify lifecycle hook that runs after route resolution, such as preHandler, instead of relying only on path-scoped middie middleware. Base authorization decisions on request.routeOptions.url rather than request.url.
  • Review applications that mount authentication, authorization or rate-limiting middleware on specific paths through @fastify/middie, particularly routes with parameters, wildcards or % in the path.

References

Get a free Attack Surface scan to see if you’re exposed.

Get a free Attack Surface scan to see if you’re exposed.

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge