← Back to search

CVE-2026-100690

7.5 HIGHpublic exploit available

Published 2026-09-26 · Updated 2026-09-30

AI risk analysis

Summary
Hugo's Node.js permission model fails to detect symbolic links that escape the project sandbox, allowing attackers to read arbitrary files like /etc/passwd through PostCSS plugins. This affects builds using default security settings and can lead to sensitive data disclosure.
Exploitability
Moderately difficult to exploit as it requires an attacker with write access to commit malicious symlinks and corresponding PostCSS plugins, but the attack surface is limited to projects using Node.js tools.
Blast radius
The impact could be significant for public Hugo sites or CI/CD pipelines where attackers can submit pull requests, potentially exposing sensitive system files and configuration data.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to v0.166.0 which fixes the symlink escaping issue by scanning allowed paths and failing builds when symlinks resolve outside them.
file-disclosurepostcsssymlink

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weaknesses

CWE-59

Vendors

gohugo

Products

hugo

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.