CVE-2026-89259
published critical CVSS 4.0 · 9.3Hugo before v0.165.0 Insufficient Permission Restriction via TailwindCSS
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gohugoio | — | hugo0 to < 0.165.0 (affected · semver) · 0.165.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.8 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gohugoio | hugo | 0 to < 0.165.0 (affected · semver)0.165.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-250 Execution with Unnecessary Privileges
References
2- GitHub Security Advisory (GHSA-vrm6-x8vp-mv2r) https://github.com/gohugoio/hugo/security/advisories/GHSA-vrm6-x8vp-mv2r
- VulnCheck Advisory: Hugo before v0.165.0 Insufficient Permission Restriction via TailwindCSS https://www.vulncheck.com/advisories/hugo-before-0.165.0-insufficient-permission-restriction-via-tailwindcss
Provider assertions
2VulnCheck · cna
Hugo before v0.165.0 Insufficient Permission Restriction via TailwindCSS
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 08133ec5061e652e795b7a67703434cc1cb1a174f5eb3fc3af0890eeab1e3186
- Ingested
- 23 Sep 2026, 09:38:18 UTC
- Source record
- Official CVE record