> CVE-2026-7120 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-07-23 04:16
MODIFIED
2026-07-23 04:16
CVSS_SCORE V3
5.3
EPSS (Prob. Exploit)
0.37%
Top 69.2%
DATA SOURCES:
NVD 🔗 2026-07-23 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-11-01 GITHUB 🔗 2026-11-05 OSV 🔗 2026-11-02

> DESCRIPTION

@fastify/static evaluates the allowedPath callback before normalizing dot segments and duplicate path separators in the pathname used for file resolution. Versions up to and including 10.1.1 are affected. An unauthenticated attacker can bypass allowedPath restrictions by requesting equivalent non-canonical pathnames, causing files that were intended to be denied to be served anyway. The bypass does not allow access outside the configured static root by itself, it defeats path-based filtering only. The issue is patched in @fastify/static 10.1.2.

> 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:L/I:N/A:N
EXPLOITABILITY
3.9
IMPACT
1.4

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/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
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-180

> CWE DETAILED DESCRIPTIONS

CWE-180: Incorrect Behavior Order: Validate Before Canonicalize - The product validates input before it is canonicalized.

> GITHUB SECURITY ADVISORY

GHSA-8pvw-jcv7-9cmj MODERATE

@fastify/static vulnerable to Authorization Bypass via Non-Canonical URL Paths

AFFECTED PACKAGES:
NPM / @fastify/static
<= 10.1.1
Fixed in: 10.1.2

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

@fastify/static vulnerable to Authorization Bypass via Non-Canonical URL Paths

AFFECTED PACKAGES:
Unknown / Unknown
100 versions affected
ALIASES:
GHSA-8pvw-jcv7-9cmj

> HISTORIQUE DES MODIFICATIONS

Première apparition
23/07/2026 04:16
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-180: Incorrect Behavior Order: Validate Before Canonicalize - The product validates input before it is canonicalized, which prevents the product from detecting data that becomes invalid after the ...
Nouvelle valeur:
CWE-180: Incorrect Behavior Order: Validate Before Canonicalize - The product validates input before it is canonicalized.
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-180: Incorrect Behavior Order: Validate Before Canonicalize - The product validates input before it is canonicalized, which prevents the product from detecting data that becomes invalid after the ...
Total des modifications: 2 Dernière mise à jour: 5 days ago

> REFERENCES

https://cna.openjsf.org/security-advisories.html
https://github.com/fastify/fastify-static/security/advisories/GHSA-8pvw-jcv7-9cm...
« BACK_TO_HOME