Check out the latest research from IONIX: NEW! State of the WAF Report

New CVE Detected

CVE-2026-112362 – Middleware Authentication Bypass – @fastify/express 4.0.5 through 4.0.8

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

Summary

CVE-2026-112362 is a path-scoped middleware bypass (CWE-436, Interpretation Conflict) in @fastify/express, the Fastify plugin that runs Express middleware inside Fastify. When Fastify runs with the non-default ignoreDuplicateSlashes option, an unauthenticated remote attacker can skip middleware on scoped routes. The CVSS v3.1 base score is 9.1 (Critical).

Technical details

  • Root cause: With ignoreDuplicateSlashes enabled, the plugin matches path-scoped Express middleware against a URL whose duplicate-slash normalization also collapses the separator after the scheme of an absolute-form request target. The Fastify router and the Express middleware layer therefore disagree on the canonical path.
  • Trigger conditions: Fastify is configured with routerOptions.ignoreDuplicateSlashes: true, which is not the default. Express middleware is registered on a specific path prefix. The attacker sends an absolute-form request target, for example GET http://host/admin/dashboard.
  • Attack vector: Network. No privileges or user interaction are required, and attack complexity is low.
  • Impact: Security middleware on scoped routes can be bypassed. This includes authentication, authorization and rate limiting. Protected handlers can be reached without those checks, which gives high confidentiality and integrity impact. The advisory reports no availability impact.

Affected software

  • @fastify/express versions 4.0.5 through 4.0.8, when ignoreDuplicateSlashes is enabled.

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/express to 4.0.9 or later.
  • If you cannot upgrade immediately:
    • Keep ignoreDuplicateSlashes disabled, which is the default.
    • Enforce authentication in a Fastify preHandler hook, which runs after routing, instead of relying only on path-scoped Express middleware.

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