CVE-2026-89259

published 11 Sep 2026 · updated 11 Sep 2026

Hugo before v0.165.0 Insufficient Permission Restriction via TailwindCSS

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 0.165.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
gohugoio<0.165.00.165.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-89259 severity on Zeptric[![CVE-2026-89259](https://zeptric.io/badge/cve/CVE-2026-89259.svg)](https://zeptric.io/cve/CVE-2026-89259)