CVE-2026-89259: Execution with Unnecessary Privileges in gohugoio hugo
CVE-2026-89259 is a critical vulnerability in the Hugo static site generator affecting versions prior to 0.165.0. The issue arises because TailwindCSS, included in the default security.exec.allow list, requires highly permissive Node.js execution permissions, which can bypass intended security restrictions. This allows a Node tool invoked during a build to read and write files outside the project's working directory. The vulnerability was fixed in version 0.165.0 by removing TailwindCSS from the default allow list. Users not using TailwindCSS or only building trusted sites are not affected. A workaround is to define a restrictive security.exec.allow list in the hugo.toml configuration file.
AI Analysis
Technical Summary
Hugo versions from 0 up to but not including 0.165.0 execute Node tools under Node's permission model starting from v0.161.0. TailwindCSS, included by default in the security.exec.allow list, requires permissive flags (--allow-addons, --allow-child-process, --allow-worker), which can bypass the restrictions intended by a prior fix (GHSA-x597-9fr4-5857). This allows Node tools invoked during site builds to access files outside the project directory, violating intended sandboxing. The vulnerability is resolved in v0.165.0 by removing TailwindCSS from the default allow list. Users can mitigate by customizing the security.exec.allow list to be more restrictive in hugo.toml.
Potential Impact
An attacker able to influence the build process can exploit this vulnerability to read and write files outside the intended project directory, potentially leading to unauthorized file access or modification. This breaks the sandboxing model intended to limit Node tool permissions during builds. The impact is critical given the high CVSS 4.0 score of 9.3, indicating network exploitable, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix is available in Hugo version 0.165.0, which removes TailwindCSS from the default security.exec.allow list. Users should upgrade to v0.165.0 or later. As a workaround, users can define a restrictive security.exec.allow list in the hugo.toml configuration file to exclude TailwindCSS or limit Node tool permissions. Users who do not use TailwindCSS or only build trusted sites are not affected and may not need to take action.
CVE-2026-89259: Execution with Unnecessary Privileges in gohugoio hugo
Description
CVE-2026-89259 is a critical vulnerability in the Hugo static site generator affecting versions prior to 0.165.0. The issue arises because TailwindCSS, included in the default security.exec.allow list, requires highly permissive Node.js execution permissions, which can bypass intended security restrictions. This allows a Node tool invoked during a build to read and write files outside the project's working directory. The vulnerability was fixed in version 0.165.0 by removing TailwindCSS from the default allow list. Users not using TailwindCSS or only building trusted sites are not affected. A workaround is to define a restrictive security.exec.allow list in the hugo.toml configuration file.
CVSS v4.0
Score 9.3critical
Affected software
gohugoio
hugo
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Hugo versions from 0 up to but not including 0.165.0 execute Node tools under Node's permission model starting from v0.161.0. TailwindCSS, included by default in the security.exec.allow list, requires permissive flags (--allow-addons, --allow-child-process, --allow-worker), which can bypass the restrictions intended by a prior fix (GHSA-x597-9fr4-5857). This allows Node tools invoked during site builds to access files outside the project directory, violating intended sandboxing. The vulnerability is resolved in v0.165.0 by removing TailwindCSS from the default allow list. Users can mitigate by customizing the security.exec.allow list to be more restrictive in hugo.toml.
Potential Impact
An attacker able to influence the build process can exploit this vulnerability to read and write files outside the intended project directory, potentially leading to unauthorized file access or modification. This breaks the sandboxing model intended to limit Node tool permissions during builds. The impact is critical given the high CVSS 4.0 score of 9.3, indicating network exploitable, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix is available in Hugo version 0.165.0, which removes TailwindCSS from the default security.exec.allow list. Users should upgrade to v0.165.0 or later. As a workaround, users can define a restrictive security.exec.allow list in the hugo.toml configuration file to exclude TailwindCSS or limit Node tool permissions. Users who do not use TailwindCSS or only build trusted sites are not affected and may not need to take action.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-09-11T10:52:56.668Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6aa3e6e291cc7f38481866ca
Added to database: 09/11/2026, 11:32:50 UTC
Last enriched: 09/11/2026, 11:46:50 UTC
Last updated: 09/11/2026, 17:15:46 UTC
Views: 30
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.