CVE-2026-100690Hugo v0.161.0 to v0.165.0 Arbitrary File Read via Symlinks
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | hugo | Fix pending | UBUNTU-CVE-2026-100690 | |
| Ubuntu 26.04 | hugo | Under investigation | UBUNTU-CVE-2026-100690 | |
| Ubuntu 24.04 | hugo | Fix pending | UBUNTU-CVE-2026-100690 | |
| Ubuntu 22.04 | hugo | Under investigation | UBUNTU-CVE-2026-100690 | |
| Ubuntu 20.04 | hugo | Fix pending | UBUNTU-CVE-2026-100690 | |
| Ubuntu 18.04 | hugo | Fix pending | UBUNTU-CVE-2026-100690 | |
| Ubuntu 16.04 | hugo | Fix pending | UBUNTU-CVE-2026-100690 | |
| Debian 14 | hugo | Fixed | 0.166.0-1 | DEBIAN-CVE-2026-100690 |
| Red Hat Enterprise Linux 10 | grafana | Not affected | ||
| Red Hat Enterprise Linux 10 | grafana-selinux | Not affected |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- gohugoio hugo: affected: 0.161.0 to before 0.166.0, 0.166.0 not affected; fixed in
0.166.0
Vendor advisories:
- https://github.com/gohugoio/hugo/security/advisories/GHSA-x3mx-cm49-8m9c (vendor-advisory)
References
- https://github.com/gohugoio/hugo/security/advisories/GHSA-x3mx-cm49-8m9c
- https://www.vulncheck.com/advisories/hugo-0.161.0-to-0.165.0-arbitrary-file-read-via-symlinks
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.