Skip to content

CVE-2026-75926 Hugo 0.162.0 to 0.164.x - Node Permission Model Bypass via Default TailwindCSS Child-Process Grant

CriticalCVSS 9.3 EPSS 0.18%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebianRed Hat

Description

Hugo 0.161.0 placed the Node asset pipelines behind the Node.js permission model so that code running through PostCSS, Babel, or TailwindCSS could not reach the file system outside the project directory. Hugo 0.162.0 added tailwindcss to the AllowChildProcess default in config/security/securityConfig.go, which makes nodePermissionArgs in common/hexec/exec.go append --allow-child-process whenever the tool being launched is named tailwindcss. TailwindCSS loads the site's tailwind.config.js through require at startup, so top-level code in that file executes inside the permitted Node process and can call child_process to spawn a shell. The spawned process is not a Node process and inherits none of the permission flags, so it runs with the full privileges of the account performing the build. Building a site whose theme, module, or starter template supplies the Tailwind configuration therefore yields arbitrary command execution rather than the confined file access the permission model was introduced to enforce. Hugo 0.165.0 removes tailwindcss from the default security.exec.allow list, so the tool is no longer launched under the default configuration.

Upgrade path

7 packages: 3 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/hugo(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/hugo(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/hugo(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/hugo(Ubuntu 26.10) All versions No fix listed No fix yet
debian/hugo(Debian 14) < 0.165.0-1; = 0.131.0-1; = 0.131.0-2; = 0.150.0-1 +40 more 0.165.0-1 Fixed
gohugo hugo >= 0.162.0, < 0.165.0 0.165.0 Fixed
gohugoio github.com/gohugoio/hugo >= 0.162.0, < 0.165.0 0.165.0 Fixed

Affected products

ProductAffected versionsFixed in
gohugoio github.com/gohugoio/hugo >= 0.162.0, < 0.165.0 0.165.0
debian/hugo(Debian:14) < 0.165.0-1 0.165.0-1
debian/hugo(Debian:14) = 0.131.0-1 No fix listed
debian/hugo(Debian:14) = 0.131.0-2 No fix listed
debian/hugo(Debian:14) = 0.150.0-1 No fix listed
debian/hugo(Debian:14) = 0.150.1-1 No fix listed
debian/hugo(Debian:14) = 0.151.0-1 No fix listed
debian/hugo(Debian:14) = 0.151.1-1 No fix listed
debian/hugo(Debian:14) = 0.151.2-1 No fix listed
debian/hugo(Debian:14) = 0.152.1-1 No fix listed
debian/hugo(Debian:14) = 0.152.2-1 No fix listed
debian/hugo(Debian:14) = 0.153.0-1 No fix listed
debian/hugo(Debian:14) = 0.153.1-1 No fix listed
debian/hugo(Debian:14) = 0.153.1-2 No fix listed
debian/hugo(Debian:14) = 0.153.1-3 No fix listed
debian/hugo(Debian:14) = 0.153.2-1 No fix listed
debian/hugo(Debian:14) = 0.154.1-1 No fix listed
debian/hugo(Debian:14) = 0.154.2-1 No fix listed
debian/hugo(Debian:14) = 0.154.2-2 No fix listed
debian/hugo(Debian:14) = 0.154.3-1 No fix listed
debian/hugo(Debian:14) = 0.154.5-1 No fix listed
debian/hugo(Debian:14) = 0.155.1-1 No fix listed
debian/hugo(Debian:14) = 0.155.2-1 No fix listed
debian/hugo(Debian:14) = 0.155.3-1 No fix listed
debian/hugo(Debian:14) = 0.157.0-1 No fix listed
Show 25 more
ProductAffected versionsFixed in
debian/hugo(Debian:14) = 0.157.0-2 No fix listed
debian/hugo(Debian:14) = 0.157.0-3 No fix listed
debian/hugo(Debian:14) = 0.158.0-1 No fix listed
debian/hugo(Debian:14) = 0.158.0-2 No fix listed
debian/hugo(Debian:14) = 0.158.0-3 No fix listed
debian/hugo(Debian:14) = 0.159.0-1 No fix listed
debian/hugo(Debian:14) = 0.159.1-1 No fix listed
debian/hugo(Debian:14) = 0.159.2-1 No fix listed
debian/hugo(Debian:14) = 0.160.0-1 No fix listed
debian/hugo(Debian:14) = 0.160.0-2 No fix listed
debian/hugo(Debian:14) = 0.160.1-1 No fix listed
debian/hugo(Debian:14) = 0.161.0-1 No fix listed
debian/hugo(Debian:14) = 0.161.1-1 No fix listed
debian/hugo(Debian:14) = 0.162.1-1 No fix listed
debian/hugo(Debian:14) = 0.162.1-2 No fix listed
debian/hugo(Debian:14) = 0.162.1-3 No fix listed
debian/hugo(Debian:14) = 0.162.1-4 No fix listed
debian/hugo(Debian:14) = 0.162.1-5 No fix listed
debian/hugo(Debian:14) = 0.162.1-6 No fix listed
debian/hugo(Debian:14) = 0.162.1-7 No fix listed
ubuntu/hugo(Ubuntu:22.04) All versions No fix listed
ubuntu/hugo(Ubuntu:24.04) All versions No fix listed
ubuntu/hugo(Ubuntu:26.04) All versions No fix listed
ubuntu/hugo(Ubuntu:26.10) All versions No fix listed
gohugo hugo >= 0.162.0, < 0.165.0 0.165.0

References