CVE-2026-89259
9.8gohugoio · Hugo
A privilege escalation vulnerability in Hugo allows Node tools triggered during builds to bypass security restrictions, enabling unauthorized file system access outside the working directory.
Executive summary
Hugo versions prior to 0.165.0 contain a critical vulnerability that allows unauthenticated attackers to execute arbitrary file operations by leveraging permissive TailwindCSS configurations.
Vulnerability
The flaw stems from the inclusion of TailwindCSS in the default security.exec.allow list, which forces Node tools to run with highly permissive flags. This allows a build process to bypass intended sandbox restrictions and perform arbitrary read or write operations on the host system.
Business impact
Successful exploitation of this vulnerability poses a severe risk to build infrastructure, as an attacker could modify or exfiltrate sensitive source code, configuration files, or environment secrets. Given the CVSS score of 9.8, this vulnerability is categorized as critical, representing a direct threat to the integrity and confidentiality of the entire development and deployment pipeline.
Remediation
Immediate Action: Update gohugoio Hugo to version 0.165.0 or later immediately to remove TailwindCSS from the default security.exec.allow list.
Proactive Monitoring: Review build logs for unexpected file system access patterns or the invocation of unauthorized Node processes.
Compensating Controls: For environments unable to update immediately, manually modify the hugo.toml configuration file to define a restrictive security.exec.allow list, effectively disabling the permissive TailwindCSS execution.
Exploitation status
Public Exploit Available: No
Analyst recommendation
The severity of this vulnerability, combined with its potential for total system impact, necessitates an immediate update to version 0.165.0. Organizations should prioritize patching their CI/CD build environments to ensure that build processes remain isolated and protected from unauthorized file system access.
History
- Disclosed CVE record published
- Collected by CVE Brief via github
- Analyst report written
- Published in the daily brief critical section
Sources
Originally found and disclosed by mtholmquist, per the CVE Program record.
- GitHub Security Advisory (GHSA-vrm6-x8vp-mv2r) Vendor advisory
- VulnCheck Advisory: Hugo before v0.165.0 Insufficient Permission Restriction via TailwindCSS Third-party advisory