Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-100692

HIGH · 7.5 CVSS Gepubliceerd: CWE-59

Beschrijving NL

Hugo is een statische sitegenerator. In versies na v0.123.0 en vóór v0.166.0 zijn de symlink-beperkingscontroles van Hugo gestopt bij de mount root zelf, dus een thema of module die is ingecheckt in thema's/ (of een verkochte module) kan een symlink bevatten bij een mount root (bijvoorbeeld thema's/mythema/assets -> /some/dir/outside). Bestanden achter een dergelijke symlink waren leesbaar tijdens het bouwen van een site via resources.Get, resources.Match en soortgelijke functies, en konden worden gepubliceerd naar het publiek/ via statische mounts, waarbij de regel werd omzeild dat thema- en module-mountbronnen lokale paden moeten zijn. Modules opgehaald via Go-modules worden niet beïnvloed omdat Go-module ritsen geen symlinks kunnen bevatten, en dit is geen escalatie voor het hoofdproject, dat al absolute paden kan aankoppelen door configuratie. Vastgesteld in v0.166.0, waar symlinked mount roots en symlinked directory's tussen de mount root en de module directory worden behandeld als niet-bestaand voor alle modules. Inspecteer als tijdelijke oplossing thema's/ en modules van leveranciers op symlinks bij mount roots voordat u gaat bouwen, of vervang symlinks door expliciete mounts.

Origineel (Engels) tonen

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.

Vendors

Gohugo

Affected products

Hugo

References