Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-89259

Hugo before v0.165.0 Insufficient Permission Restriction via TailwindCSS
Back to all
CVE

CVE-2026-89259

Hugo before v0.165.0 Insufficient Permission Restriction via TailwindCSS

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.3
-
4.0
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
C
H
U
0
-
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Related Resources

No items found.

References

https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89259.json, https://github.com/gohugoio/hugo/security/advisories/GHSA-vrm6-x8vp-mv2r, https://nvd.nist.gov/vuln/detail/CVE-2026-89259, https://www.vulncheck.com/advisories/hugo-before-0.165.0-insufficient-permission-restriction-via-tailwindcss

Severity

9.8

CVSS Score
0
10

Basic Information

Base CVSS
9.8
EPSS Probability
0.00587%
EPSS Percentile
0.46395%
Introduced Version
0,v0.161.0,v0.160.2-0.20260422134734-a54c398b9382,v0.128.0,v0.127.1-0.20240625134802-e1317dd32281,v0.91.0,v0.90.2-0.20211216084022-f4389e48ce0a,v0.70.0,v0.69.3-0.20200429085133-6add6d77b48c,v0.69.3-0.20200429085133-2a171ff1c5d9,v0.54.0,v0.49.3-0.20190102132537-ce8a09a4c066,v0.49.3-0.20190102132537-669ada436787,v0.45.1,v0.42.3-0.20180706094612-dea71670c059
Fix Available
76a5e1880ab46688155b02e99bab9be2a6134492,v0.165.0,v0.164.1-0.20260810135957-8a55df7af2e6

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading