Bug 2537825 - CVE-2026-89258 hugo: Hugo: Information disclosure via symlink confinement bypass [fedora-all]
Summary: CVE-2026-89258 hugo: Hugo: Information disclosure via symlink confinement byp...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: hugo
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Athos Ribeiro
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["a37ac0fd-0a0a-4ba8-83c4-1...
Depends On:
Blocks: CVE-2026-89258
TreeView+ depends on / blocked
 
Reported: 2026-09-22 12:39 UTC by Laura Pardo
Modified: 2026-09-22 12:39 UTC (History)
7 users (show)

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


Attachments (Terms of Use)

Description Laura Pardo 2026-09-22 12:39:29 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Hugo is a static site generator. In versions after v0.123.0 and before v0.165.0, symlinks in parent directories were not dropped during direct resource lookups, allowing path confinement to be bypassed. An attacker who can place — or who convinces a site author to place — a symlink inside a mounted directory (for example, in a locally vendored theme under themes/) can cause functions that perform direct lookups, such as resources.Get and os.ReadFile, to follow that symlink and read files outside the intended project boundaries, disclosing their contents in the built site. Themes mounted as Go modules fetched from GitHub have symlinks stripped on download and are not affected, and multi-directory walks (e.g. content/asset walking) are not affected. This issue is an incomplete-fix follow-up to GHSA-c3wq-j5vh-68rc and GHSA-fw87-fv5r-9fpw; it is fixed in v0.165.0.


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