- Accueil
- Vulnérabilités
- CVE-2026-140395
CVE-2026-140395
Hugo 0.56.0 before 0.170.0 Path Traversal via _vendor/modules.txt
Moyen
47/100
Résumé
Hugo from 0.56.0 before 0.170.0 contains a path traversal vulnerability that allows malicious themes or modules to read arbitrary build host files by supplying '..' segments in _vendor/modules.txt import paths. Attackers can make Hugo treat any directory as a module root and use readFile or static mounts to publish secrets, credentials, and system files in the generated site.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
gohugoio (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| hugo | de 0.56.0 (inclus) à 0.170.0 (exclu) |
— | CNA (éditeur ou attributeur) |
Go (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| github.com/gohugoio/hugo | de 0.56.0 (inclus) à 0.170.0 (exclu) |
0.170.0 |
GitHub Advisory |
Correctif
Mise à jour — Go/github.com/gohugoio/hugo 0.170.0source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-r48v-r4vw-h9v8 — Hugo: Build-host file disclosure through path traversal in vendored module metadata 1 déc. 2026
Références
- https://github.com/gohugoio/hugo/security/advisories/GHSA-r48v-r4vw-h9v8vendor-advisory
- https://www.vulncheck.com/advisories/hugo-0.56.0-before-0.170.0-path-traversal-via-vendor-modules-txtthird-party-advisory
- https://github.com/gohugoio/hugo/pull/15564WEB
- https://github.com/gohugoio/hugo/commit/d41a8a196e6b2fd5e5aa886c790d6c679dd73be0WEB
- https://github.com/gohugoio/hugoPACKAGE
- https://github.com/gohugoio/hugo/releases/tag/v0.170.0WEB
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- NVD
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N(CVSS 3.1, NVD)- Faiblesse
- CWE-22 · Traversée de chemin / fichiers