Bug 2587951 (CVE-2026-140395) - CVE-2026-140395 github.com/gohugoio/hugo: Hugo: Information disclosure via path traversal in vendored module paths
Summary: CVE-2026-140395 github.com/gohugoio/hugo: Hugo: Information disclosure via pa...
Keywords:
Status: NEW
Alias: CVE-2026-140395
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-01 14:44 UTC by OSIDB Bzimport
Modified: 2026-12-01 15:00 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-01 14:44:00 UTC
Hugo from 0.56.0 before 0.170.0 contains a path traversal vulnerability that allows malicious themes or modules to read arbitrary build host files by supplying '..' segments in _vendor/modules.txt import paths. Attackers can make Hugo treat any directory as a module root and use readFile or static mounts to publish secrets, credentials, and system files in the generated site.


Note You need to log in before you can comment on or make changes to this bug.