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

exploitDog

redhat логотип

CVE-2026-44301

Опубликовано: 12 мая 2026
Источник: redhat
CVSS3: 7.3
EPSS Низкий

Описание

Hugo is a static site generator. From 0.43 to before 0.161.0, when building a Hugo site that uses Node-based asset pipelines (PostCSS, Babel, TailwindCSS), Hugo invoked the configured Node tools without restrictions on file system access. As a result, executing hugo against an untrusted site could allow code running through these tools to read or write files outside the project's working directory. Users who do not use PostCSS, Babel, or TailwindCSS, or who only build trusted sites, are not affected. This vulnerability is fixed in 0.161.0.

A flaw was found in Hugo. When building a Hugo site that uses Node-based asset pipelines (such as PostCSS, Babel, or TailwindCSS), Hugo invoked the configured Node tools without restrictions on file system access. This could allow code running through these tools to read or write files outside the project's working directory when executing Hugo against an untrusted site.

Отчет

A flaw was found in Hugo when building sites configured with Node-based asset pipelines such as PostCSS, Babel, or TailwindCSS. Hugo invokes these external tools without enforcing directory confinement or file system access restrictions. By tricking a user or automated build pipeline into compiling an untrusted repository containing malicious pipeline configurations, an attacker can read or write arbitrary files outside the project root directory within the context of the user running Hugo.

Меры по смягчению последствий

Avoid building untrusted Hugo sites, or disable Node-based asset pipelines such as PostCSS, Babel, and TailwindCSS in site configurations. When processing unverified repositories, execute Hugo builds within an isolated, unprivileged container environment.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Hardened Imagesgrafana12.4Not affected
Red Hat Hardened Imagesgrafana13.1Not affected
Red Hat Hardened Imagesgrafana13.2Not affected
Red Hat OpenShift GitOpsopenshift-gitops-1/argocd-rhel9Not affected
Red Hat OpenStack Platform 18.0rhoso-operators/openstack-operator-bundleNot affected
Red Hat Hardened Imageshugo-main-0.166.0-0.1.hum1FixedRHSA-2026:6626609.09.2026

Показывать по

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

Статус:

Important
Дефект:
CWE-22
https://bugzilla.redhat.com/show_bug.cgi?id=2476862hugo: Hugo: Arbitrary file read/write via unrestricted file system access in Node-based asset pipelines

EPSS

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

7.3 High

CVSS3

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

CVSS3: 8.1
ubuntu
6 месяцев назад

Hugo is a static site generator. From 0.43 to before 0.161.0, when building a Hugo site that uses Node-based asset pipelines (PostCSS, Babel, TailwindCSS), Hugo invoked the configured Node tools without restrictions on file system access. As a result, executing hugo against an untrusted site could allow code running through these tools to read or write files outside the project's working directory. Users who do not use PostCSS, Babel, or TailwindCSS, or who only build trusted sites, are not affected. This vulnerability is fixed in 0.161.0.

CVSS3: 8.1
nvd
6 месяцев назад

Hugo is a static site generator. From 0.43 to before 0.161.0, when building a Hugo site that uses Node-based asset pipelines (PostCSS, Babel, TailwindCSS), Hugo invoked the configured Node tools without restrictions on file system access. As a result, executing hugo against an untrusted site could allow code running through these tools to read or write files outside the project's working directory. Users who do not use PostCSS, Babel, or TailwindCSS, or who only build trusted sites, are not affected. This vulnerability is fixed in 0.161.0.

CVSS3: 8.1
debian
6 месяцев назад

Hugo is a static site generator. From 0.43 to before 0.161.0, when bui ...

github
6 месяцев назад

Hugo's Node tool execution allows file system access outside the project directory

CVSS3: 8.1
altlinux
5 месяцев назад

ALT-PU-2026-8450: package `hugo` update to version 0.162.0-alt1

EPSS

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

7.3 High

CVSS3