Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @fastify/middie
  4. ›
  5. CVE-2026-2880

CVE-2026-2880: @fastify/middie has Improper Path Normalization when Using Path-Scoped Middleware

February 28, 2026

A path normalization inconsistency in @fastify/middie can result in authentication/authorization bypass when using path-scoped middleware (for example, app.use('/secret', auth)).

When Fastify router normalization options are enabled (such as ignoreDuplicateSlashes, useSemicolonDelimiter, and related trailing-slash behavior), crafted request paths may bypass middleware checks while still being routed to protected handlers.

References

  • fluidattacks.com/advisories/jimenez
  • fluidattacks.com/advisories/policy
  • github.com/advisories/GHSA-8p85-9qpw-fwgw
  • github.com/fastify/middie
  • github.com/fastify/middie/commit/140e0dd0359d890fec7e6ea1dcc5134d6bd554d4
  • github.com/fastify/middie/releases/tag/v9.2.0
  • github.com/fastify/middie/security/advisories/GHSA-8p85-9qpw-fwgw
  • nvd.nist.gov/vuln/detail/CVE-2026-2880

Code Behaviors & Features

Detect and mitigate CVE-2026-2880 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 9.2.0

Fixed versions

  • 9.2.0

Solution

Upgrade to version 9.2.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

npm/@fastify/middie/CVE-2026-2880.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 01 Mar 2026 00:19:15 +0000.