CVE-2026-100690: Improper Link Resolution Before File Access ('Link Following') in gohugoio hugo
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.
AI Analysis
Technical Summary
Hugo versions 0.161.0 through 0.165.0 run Node.js tools (css.PostCSS, css.TailwindCSS, js.Babel) with restricted file system permissions limited to the project directory and configured mounts. However, the Node.js permission model only validates lexical paths and follows symbolic links that may point outside the allowed directories. This allows an attacker who can contribute content (e.g., via pull requests) to commit a symlink pointing outside the sandbox (e.g., to /etc/passwd) and a PostCSS plugin that reads it. Consequently, any file readable by the Hugo build process can be disclosed and potentially embedded in the published site. The vulnerability affects builds using the default security configuration and does not impact projects that do not invoke Node.js tools. The issue is resolved in Hugo 0.166.0 by scanning allowed paths and failing the build if a symbolic link resolves outside them.
Potential Impact
An attacker with the ability to contribute content to a Hugo project can exploit this vulnerability to disclose arbitrary files readable by the Hugo build process. This can lead to sensitive information leakage by embedding such files into the published site. The vulnerability affects the default security configuration when Node.js tools are used during the build. There is no indication of active exploitation in the wild.
Mitigation Recommendations
Upgrade to Hugo version 0.166.0 or later, which includes a fix that scans allowed paths and fails the build if symbolic links resolve outside the permitted directories. Projects that do not invoke Node.js tools are not affected. No additional mitigation is required beyond applying this official fix.
CVE-2026-100690: Improper Link Resolution Before File Access ('Link Following') in gohugoio hugo
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 v4.0
Score 8.7high
Affected software
gohugoio
hugo
pkg:golang/github.com/gohugoio/hugoRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Hugo versions 0.161.0 through 0.165.0 run Node.js tools (css.PostCSS, css.TailwindCSS, js.Babel) with restricted file system permissions limited to the project directory and configured mounts. However, the Node.js permission model only validates lexical paths and follows symbolic links that may point outside the allowed directories. This allows an attacker who can contribute content (e.g., via pull requests) to commit a symlink pointing outside the sandbox (e.g., to /etc/passwd) and a PostCSS plugin that reads it. Consequently, any file readable by the Hugo build process can be disclosed and potentially embedded in the published site. The vulnerability affects builds using the default security configuration and does not impact projects that do not invoke Node.js tools. The issue is resolved in Hugo 0.166.0 by scanning allowed paths and failing the build if a symbolic link resolves outside them.
Potential Impact
An attacker with the ability to contribute content to a Hugo project can exploit this vulnerability to disclose arbitrary files readable by the Hugo build process. This can lead to sensitive information leakage by embedding such files into the published site. The vulnerability affects the default security configuration when Node.js tools are used during the build. There is no indication of active exploitation in the wild.
Mitigation Recommendations
Upgrade to Hugo version 0.166.0 or later, which includes a fix that scans allowed paths and fails the build if symbolic links resolve outside the permitted directories. Projects that do not invoke Node.js tools are not affected. No additional mitigation is required beyond applying this official fix.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-09-26T02:37:41.037Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ab7c9adf7a7c5410652fd59
Added to database: 09/26/2026, 13:33:33 UTC
Last enriched: 09/26/2026, 13:47:46 UTC
Last updated: 09/27/2026, 04:31:24 UTC
Views: 16
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.