CVE-2026-109596: Improper Link Resolution Before File Access ('Link Following') in gohugoio hugo
Description
Hugo versions from 0.162.0 up to but not including 0.167.0 contain a vulnerability in link resolution that allows malicious themes or modules to expose files outside their root directory. This occurs via nested-mount ancestor directories where an attacker can place symbolic links or NTFS junctions to access local files during site builds. The vulnerability can lead to unintended disclosure of local files.
CVSS v4.0
Score 6.7medium
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
CVE-2026-109596 describes an improper link resolution vulnerability in Hugo versions >=0.162.0 and <0.167.0. The flaw allows malicious themes or modules to exploit nested-mount ancestor directories by placing symlinks or NTFS junctions at virtual ancestor directories. This causes Hugo's resource matching process to list and publish local files outside the intended root directory during builds, potentially exposing sensitive local files.
Potential Impact
An attacker controlling a theme or module can cause Hugo to expose local files outside the intended root directory during site builds. This can lead to information disclosure of local files, which may contain sensitive data. There is no indication of remote code execution or privilege escalation. The CVSS 4.0 score is 6.7 (medium severity), reflecting local attack vector with user interaction required and high impact on confidentiality.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using untrusted themes or modules and review theme sources carefully. Monitor vendor communications for an official fix or update.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-10-12T20:59:18.909Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6acd63de2cdf04f656e1e415
Added to database: 10/12/2026, 22:49:02 UTC
Last enriched: 10/12/2026, 23:49:22 UTC
Last updated: 10/13/2026, 01:48:18 UTC
Views: 1
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.