{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-58403","published":"2026-07-06T20:16:38.173000Z","last_modified":"2026-10-25T20:10:00.147000Z","status":"Analyzed","cvss":{"version":"4.0","score":5.9,"severity":"MEDIUM","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-59"],"cpes":[{"criteria":"cpe:2.3:a:gohugo:hugo:*:*:*:*:*:*:*:*","part":"a","vendor":"gohugo","product":"hugo","version_start_including":"0.123.0","version_end_excluding":"0.163.1"}],"cpes_truncated":false,"vendors":["gohugo"],"products":["gohugo/hugo"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-c3wq-j5vh-68rc","ecosystem":"Go","name":"github.com/gohugoio/hugo","purl":"pkg:golang/github.com/gohugoio/hugo","ranges":[{"introduced":"0.123.0","fixed":"0.163.1"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2026-5309","ecosystem":"Go","name":"github.com/gohugoio/hugo","purl":"pkg:golang/github.com/gohugoio/hugo","ranges":[{"introduced":"0.123.0","fixed":"0.163.1"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":50,"links":{"html_es":"/es/cve/CVE-2026-58403/","html_en":"/en/cve/CVE-2026-58403/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-58403","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-58403"},"untrusted":{"vendor_name":"Gohugo","product_name":"Hugo","desc_en":"Hugo is a static site generator. From v0.123.0 through v0.163.0, Hugo's virtual filesystem is designed so that files under a mount cannot reach outside the mount tree, but a regression caused RootMappingFs.statRoot to call Stat, which follows symlinks, instead of Lstat, so a direct os.ReadFile \"somefile\" where somefile was a symlink pointing outside the mount would return the target's contents. This effectively let a symlink planted inside a theme or local mount read arbitrary files reachable to the user running hugo. This issue is fixed in v0.163.1.","affected":[{"untrusted_vendor":"gohugoio","untrusted_product":"hugo","versions":[]}],"references":[{"url":"https://github.com/gohugoio/hugo/commit/cf9c8f93ca2a2838ce378f9e36d052ac2f79e229","tags":["Patch"]},{"url":"https://github.com/gohugoio/hugo/pull/15020","tags":["Issue Tracking"]},{"url":"https://github.com/gohugoio/hugo/releases/tag/v0.163.1","tags":["Release Notes"]},{"url":"https://github.com/gohugoio/hugo/security/advisories/GHSA-c3wq-j5vh-68rc","tags":["Vendor Advisory"]}]},"bulletins":[{"source":"redhat","id":"RHSA-2026:36862","url":"https://access.redhat.com/errata/RHSA-2026:36862","published":"2026-07-29T10:09:26+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update"}}]}