CVE-2026-2880

Source
https://cve.org/CVERecord?id=CVE-2026-2880
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2880.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-2880
Aliases
Published
2026-02-27T18:25:37.428Z
Modified
2026-07-15T01:48:51.981919964Z
Severity
  • 8.2 (High) CVSS_V4 - 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 CVSS Calculator
Summary
@fastify/middie has an improper path normalization vulnerability
Details

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.

Database specific
{
    "cna_assigner": "openjs",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2880.json",
    "cwe_ids": [
        "CWE-20"
    ]
}
References

Affected packages

Git / github.com/fastify/middie

Affected ranges

Type
GIT
Repo
https://github.com/fastify/middie
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:fastify:fastify\\/middie:*:*:*:*:*:node.js:*:*",
    "extracted_events": [
        {
            "introduced": "0.0.0"
        },
        {
            "fixed": "9.2.0"
        },
        {
            "introduced": "0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ]
}

Affected versions

v0.*
v0.2.0
v0.3.0
v1.*
v1.0.0
v1.1.0
v2.*
v2.0.0
v2.1.0
v2.1.1
v3.*
v3.0.0
v3.1.0
v3.2.0
v3.2.1
v4.*
v4.0.0
v4.0.1
v4.1.0
v5.*
v5.0.0
v5.1.0
v5.2.0
v5.3.0
v5.4.0
v6.*
v6.0.0
v7.*
v7.0.0
v8.*
v8.0.0
v8.1.0
v8.2.0
v8.3.0
v8.3.1
v9.*
v9.0.0
v9.0.1
v9.0.2
v9.0.3
v9.1.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2880.json"