1. Accueil
  2. Vulnérabilités
  3. CVE-2026-7120

CVE-2026-7120

@fastify/static evaluates the allowedPath callback before normalizing dot segments and duplicate path…

Publiée le 23 juil. 2026 · modifiée le 28 juil. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 27/100

Résumé

@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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Fastify (1 ligne(s))
Fastify
ProduitVersionsCorrigé dansSource
Fastify-static avant 10.1.2 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (CVSS 3.1, CNA:ce714d77-add3-4f53-aff5-83d477b104bb)
Faiblesse
CWE-180 · Autre (CWE-180)

Comment sont obtenues et calculées ces données