Advisory record · GHSA-c3wq-j5vh-68rc

Hugo: Symlink confinement bypass in os.ReadFile

CVSS 5.9 MediumEPSS 0.0047 · 41st percentile

Published by the GitHub Advisory Database at 19 Jun 2026, 17:45 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/gohugoio/hugoGo>=0.123.0, <0.163.10.163.1
Identifiers
GHSA-c3wq-j5vh-68rc · CVE-2026-58403 · GO-2026-5309
Weakness (CWE)
CWE-59
Published
19 Jun 2026
Updated
24 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Hugo versions from v0.123.0 through v0.163.0 are vulnerable to a symlink confinement bypass in os.ReadFile. An attacker who can place a symlink inside a locally mounted directory, such as a local theme under themes/, or convince a site author to do so, could read arbitrary files reachable by the user running hugo. Upgrade to Hugo v0.163.1, which fixes the issue.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.9 Medium 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0047, the 41st percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:56 UTC First seen by agentprime
  2. 31 Oct 2026, 14:56 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.