Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-50135

Опубликовано: 06 июл. 2026
Источник: redhat
CVSS3: 5.5
EPSS Низкий

Описание

Hugo is a static site generator. From 0.123.0 to 0.161.1, a regression made  RootMappingFs.statRoot  use  Stat  (follows symlinks) instead of  Lstat , so a direct  resources.Get  of a symlink pointing outside its mount returned the target's contents — letting a symlink planted in a local mount (e.g. a vendored  themes/  theme) read arbitrary files accessible to the Hugo user. Go-module themes from GitHub (symlinks stripped) and directory walks were unaffected. Fixed in 0.162.0.

A flaw was found in Hugo, a static site generator. A regression in the resources.Get function caused it to follow symbolic links (symlinks), which are special files that point to other files or directories. This vulnerability allows an attacker who can place a symlink within a local mount point, such as a vendored theme, to read arbitrary files on the system that are accessible to the user running Hugo. This could lead to unauthorized information disclosure.

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-59
https://bugzilla.redhat.com/show_bug.cgi?id=2497518github.com/gohugoio/hugo: Hugo: Information disclosure due to symlink confinement bypass

EPSS

Процентиль: 19%
0.00271
Низкий

5.5 Medium

CVSS3

Связанные уязвимости

CVSS3: 5.5
ubuntu
около 1 месяца назад

Hugo is a static site generator. From 0.123.0 to 0.161.1, a regression made RootMappingFs.statRoot  use  Stat  (follows symlinks) instead of  Lstat , so a direct  resources.Get  of a symlink pointing outside its mount returned the target's contents — letting a symlink planted in a local mount (e.g. a vendored  themes/  theme) read arbitrary files accessible to the Hugo user. Go-module themes from GitHub (symlinks stripped) and directory walks were unaffected. Fixed in 0.162.0.

CVSS3: 5.5
nvd
около 1 месяца назад

Hugo is a static site generator. From 0.123.0 to 0.161.1, a regression made  RootMappingFs.statRoot  use  Stat  (follows symlinks) instead of  Lstat , so a direct  resources.Get  of a symlink pointing outside its mount returned the target's contents — letting a symlink planted in a local mount (e.g. a vendored  themes/  theme) read arbitrary files accessible to the Hugo user. Go-module themes from GitHub (symlinks stripped) and directory walks were unaffected. Fixed in 0.162.0.

CVSS3: 5.5
debian
около 1 месяца назад

Hugo is a static site generator. From 0.123.0 to 0.161.1, a regression ...

github
около 2 месяцев назад

Hugo: Symlink confinement bypass in resources.Get

EPSS

Процентиль: 19%
0.00271
Низкий

5.5 Medium

CVSS3