Vulnerability in Gohugoio Hugo
CVE-2026-89259
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.006 (47.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 48th percentile — 47.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000
Affected products
Weakness classification (CWE)
References
- github.com/gohugoio/hugo/security/advisories/GHSA-vrm6-x8vp-mv2r (vendor-advisory)
- www.vulncheck.com/advisories/hugo-before-0.165.0-insufficient-permission-restri… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-89259?
- CVE-2026-89259 is a critical-severity vulnerability in Gohugoio Hugo, classified under CWE-250. CVSS score: 9.8/10. Published 2026-09-11.
- How severe is CVE-2026-89259?
- Critical severity. CVSS v3 base score is 9.8 out of 10.