Vulnerability Description
Hugo versions from v0.161.0 through v0.165.0 run Node.js tools (css.PostCSS, css.TailwindCSS, js.Babel) under the Node.js permission model to restrict file system reads to the project directory and configured mounts. Because the Node.js permission model validates only the lexical path and follows symbolic links that point outside the allowed set, Hugo did not detect symlinks escaping the sandbox. An attacker who can contribute content to a Hugo project (for example via a pull request) can commit a symlink such as assets/css/x.css -> /etc/passwd together with a PostCSS plugin that reads it, allowing any file readable by the Hugo build process to be disclosed and potentially embedded in the published site. This affects builds using the default security configuration; projects that do not invoke Node.js tools are unaffected. Fixed in v0.166.0, which scans allowed paths and fails the build when a symbolic link resolves outside them.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gohugo | Hugo | >= 0.161.0, < 0.166.0 |
Related Weaknesses (CWE)
References
- https://github.com/gohugoio/hugo/security/advisories/GHSA-x3mx-cm49-8m9cVendor Advisory
- https://www.vulncheck.com/advisories/hugo-0.161.0-to-0.165.0-arbitrary-file-readThird Party Advisory
FAQ
What is CVE-2026-100690?
CVE-2026-100690 is a vulnerability with a CVSS score of 7.5 (HIGH). Hugo versions from v0.161.0 through v0.165.0 run Node.js tools (css.PostCSS, css.TailwindCSS, js.Babel) under the Node.js permission model to restrict file system reads to the project directory and co...
How severe is CVE-2026-100690?
CVE-2026-100690 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-100690?
Check the references section above for vendor advisories and patch information. Affected products include: Gohugo Hugo.