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

CVE-2026-100692

Hugo before v0.166.0 Path Traversal via Symlinked Mount Roots

Publiée le 26 sept. 2026 · modifiée le 29 sept. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Moyen 42/100

Résumé

Hugo is a static site generator. In versions after v0.123.0 and before v0.166.0, Hugo's symlink confinement checks stopped at the mount root itself, so a theme or module checked into themes/ (or a vendored module) could contain a symlink at a mount root (for example themes/mytheme/assets -> /some/dir/outside). Files behind such a symlink were readable during a site build through resources.Get, resources.Match and similar functions, and could be published to public/ via static mounts, bypassing the rule that theme and module mount sources must be local paths. Modules fetched via Go modules are not affected because Go module zips cannot contain symlinks, and this is not an escalation for the main project, which may already mount absolute paths by configuration. Fixed in v0.166.0, where symlinked mount roots and symlinked directories between the mount root and the module directory are treated as non-existent for all modules. As a workaround, inspect themes/ and vendored modules for symlinks at mount roots before building, or replace symlinks with explicit mounts.

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

Produits et versions affectés

gohugoio (1 ligne(s))
gohugoio
ProduitVersionsCorrigé dansSource
hugo avant 0.166.0 (exclu) — CNA (éditeur ou attributeur)
Gohugo (1 ligne(s))
Gohugo
ProduitVersionsCorrigé dansSource
Hugo de 0.123.0 (inclus) à 0.166.0 (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
CNA (éditeur ou attributeur)
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:H/I:N/A:N (CVSS 3.1, CNA:VulnCheck)
Faiblesse
CWE-59 · Autre (CWE-59)

Comment sont obtenues et calculées ces données