> CVE-2026-6270 [CRITICAL]

« BACK_TO_HOME
PUBLISHED
2026-04-16 14:16
MODIFIED
2026-04-16 14:16
CVSS_SCORE V3
9.1
EPSS (Prob. Exploit)
0.61%
Top 51.5%
DATA SOURCES:
NVD đź”— 2026-04-16 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-10-25 GITHUB đź”— 2026-10-29

> DESCRIPTION

@fastify/middie versions 9.3.1 and earlier do not register inherited middleware directly on child plugin engine instances. When a Fastify application registers authentication middleware in a parent scope and then registers child plugins with @fastify/middie, the child scope does not inherit the parent middleware. This allows unauthenticated requests to reach routes defined in child plugin scopes, bypassing authentication and authorization checks. Upgrade to @fastify/middie 9.3.2 to fix this issue. There are no workarounds.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EXPLOITABILITY
3.9
IMPACT
5.2

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-436

> CWE DETAILED DESCRIPTIONS

CWE-436: Interpretation Conflict - Product A handles inputs or steps differently than Product B, which causes A to perform incorrect actions based on its perception of B's state.

> GITHUB SECURITY ADVISORY

GHSA-72c6-fx6q-fr5w CRITICAL

@fastify/middie vulnerable to middleware authentication bypass in child plugin scopes

AFFECTED PACKAGES:
NPM / @fastify/middie
<= 9.3.1
Fixed in: 9.3.2

> HISTORIQUE DES MODIFICATIONS

Première apparition
16/04/2026 14:16
Source: NVD
📊 ENRICHISSEMENT 01/05/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-436: Interpretation Conflict - Product A handles inputs or steps differently than Product B, which causes A to perform incorrect actions based on its perception of B's state.
Total des modifications: 1 Dernière mise à jour: 6 months ago

> REFERENCES

https://cna.openjsf.org/security-advisories.html
https://github.com/fastify/fastify-express/security/advisories/GHSA-hrwm-hgmj-7p...
https://github.com/fastify/middie/security/advisories/GHSA-72c6-fx6q-fr5w
« BACK_TO_HOME