CVE Catalog

CVE-2026-89259

CriticalCVSS 9.8
Published: Translated: NVD NIST

Summary

Hugo from v0.161.0 executes Node tools under Node's permission model, but TailwindCSS — included in the default security.exec.allow list — requires a highly permissive configuration (--allow-addons, --allow-child-process, --allow-worker). As a result, the restrictions intended by the fix for GHSA-x597-9fr4-5857 could still be bypassed, allowing a Node tool invoked during a build to read and write files outside the project's working directory. Affected versions are those after v0.43; the issue was fixed in v0.165.0 by removing tailwindcss from the default security.exec.allow list. Users who do not use TailwindCSS, or who only build trusted sites, are not affected. As a workaround, users can define a restrictive security.exec.allow list in hugo.toml.

Risk Assessment

An attacker could exploit the restriction bypass to read and write files outside the project's working directory, potentially leading to data leakage or file modification. This risk affects organizations using Hugo with TailwindCSS to build sites from untrusted sources.

Recommendation

Update Hugo to v0.165.0 or later, which removes tailwindcss from the default security.exec.allow list. Alternatively, define a restrictive security.exec.allow list in hugo.toml.

Other vulnerabilities in Hugo

See all
Original NVD description (English source)

Hugo is a static site generator. From v0.161.0, Hugo executes Node tools under Node's permission model, but TailwindCSS — included in the default security.exec.allow list — requires a highly permissive configuration (--allow-addons, --allow-child-process, --allow-worker). As a result, the restrictions intended by the fix for GHSA-x597-9fr4-5857 could still be bypassed, allowing a Node tool invoked during a build to read and write files outside the project's working directory. Affected versions are those after v0.43; the issue was fixed in v0.165.0 by removing tailwindcss from the default security.exec.allow list. Users who do not use TailwindCSS, or who only build trusted sites, are not affected. As a workaround, users can define a restrictive security.exec.allow list in hugo.toml.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS