CVE-2026-6270 — Vulnerability in @fastify/middie — CVE Details
@fastify/middie vulnerable to middleware authentication bypass in child plugin scopes
Summary
Advisory Timeline
- First published April 16, 2026 (179 days ago).
- Last revised July 8, 2026 — 82 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install @fastify/middie@9.3.2
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: npm (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| @fastify/middie | npm | All versions | 9.3.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-436
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- https://github.com/fastify/fastify-express/security/advisories/GHSA-hrwm-hgmj-7p9cWEB
- https://github.com/fastify/middie/security/advisories/GHSA-72c6-fx6q-fr5wWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-6270ADVISORY
- https://cna.openjsf.org/security-advisories.htmlWEB
- https://github.com/fastify/middiePACKAGE
Frequently Asked Questions
- What is CVE-2026-6270?
- @fastify/middie vulnerable to middleware authentication bypass in child plugin scopes This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
- How do I check if my project is affected by CVE-2026-6270?
- CVE-2026-6270 affects @fastify/middie. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-6270 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-33808CRITICAL
@fastify/express has a middleware authentication bypass via URL normalization gaps (duplicate slashes and semicolons)
- CVE-2026-33805CRITICAL
Fastify's connection header abuse enables stripping of proxy-added headers
- CVE-2026-33807CRITICAL
@fastify/express's middleware path doubling causes authentication bypass in child plugin scopes
- CVE-2026-107722CRITICAL
fast-jwt: Incomplete patch of CVE-2026-34950: Non-whitespace key-prefix re-enables RSA→HS256 algorithm confusion
- CVE-2026-108261CRITICAL
TinaCMS admin preview iframe loads an attacker-controlled origin from the URL fragment
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies