LiveActive security incident?Get immediate response
CVE Record

CVE-2026-2880: @fastify/middie has an improper path normalization vulnerability

A vulnerability in @fastify/middie versions < 9.2.0 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.

HighCVSS 8.2Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2026-2880 can let attackers reach routes that were intended to require authentication or authorization in Fastify apps using @fastify/middie. The risk is specific to path-scoped middleware and certain router path-normalization settings. If affected, protected business functions or data could be exposed without valid access checks.

Executive priority

Prioritize within the next patch cycle, faster for internet-facing services or applications protecting sensitive data. The business concern is unauthorized access to protected functions, not system takeover. Scope depends heavily on application routing and middleware configuration.

Technical view

@fastify/middie versions before 9.2.0 have improper path normalization affecting path-scoped middleware such as middleware mounted for a protected path. With Fastify router normalization options enabled, crafted paths may avoid middleware checks while still routing to protected handlers. CVSS v4.0 is 8.2, high, with network attack vector and no privileges or user interaction required.

Likely exposure

Internet-facing Fastify applications are most exposed if they use @fastify/middie below 9.2.0, path-scoped authentication or authorization middleware, and Fastify path-normalization options such as duplicate-slash, semicolon-delimiter, or trailing-slash behavior.

Exploitation context

The sources do not show known active exploitation, and the CVE is not marked KEV in the provided bundle. Exploitation depends on application configuration: attackers need a routable protected handler where middleware path matching differs from router normalization.

Researcher notes

The source bundle’s affected metadata is sparse and appears inconsistent, but the description and advisory reference identify @fastify/middie versions below 9.2.0. Focus review on normalization mismatch between middleware path checks and Fastify route resolution. Do not assume exposure without confirming configuration.

Mitigation direction

  • Upgrade @fastify/middie to version 9.2.0 or later.
  • Review Fastify router normalization settings used in protected routes.
  • Avoid relying only on path-scoped middleware for critical authorization decisions.
  • Check the GitHub advisory for any updated vendor guidance.

Validation and detection

  • Inventory applications using @fastify/middie.
  • Confirm installed @fastify/middie version is 9.2.0 or later.
  • Identify path-scoped authentication or authorization middleware.
  • Review enabled Fastify path-normalization options.
  • Test authorization coverage through approved internal security testing only.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-20: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Credential and access behavior lookup

The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
description · low confidence lookup

Privilege behavior lookup

The CVE wording references privilege impact, so privilege escalation and authorization behavior review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-2880 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.2 (4.0)
Known Exploited
No
Published

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.2CVSS 4.0HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N——Primary CVE score

Vulnerability scoring details

Base CVSS 4.0 score

8.2High
CVSS 4.0 vector shape for CVE-2026-2880Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
@fastify/middie@fastify/middie0.0.0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-20 · source CWE mapping

Improper Input Validation

Improper Input Validation represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.