CVE-2026-140395
high
CVSS v3
7.5
CVSS v4 NEW
8.7
VIR risk
7.5
Description
Hugo: Build-host file disclosure through path traversal in vendored module metadata
Predictions
Exploit likelihood
83%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Go | github.com/gohugoio/hugo | >=0.56.0,<0.170.0 | 0.170.0 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| gohugoio | hugo | {"startIncluding":"0.56.0","endExcluding":"0.170.0"} | 0.170.0 |
References
- https://github.com/gohugoio/hugo/security/advisories/GHSA-r48v-r4vw-h9v8
- https://www.vulncheck.com/advisories/hugo-0.56.0-before-0.170.0-path-traversal-via-vendor-modules-txt
- https://github.com/gohugoio/hugo/pull/15564
- https://github.com/gohugoio/hugo/commit/d41a8a196e6b2fd5e5aa886c790d6c679dd73be0
- https://github.com/gohugoio/hugo
- https://github.com/gohugoio/hugo/releases/tag/v0.170.0
CWEs
CWE-22
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.