{"id":"EUVD-2026-41907","revision":"7286f9705ceb46c282dd1a91a38e2c68","records":[{"revision":"7286f9705ceb46c282dd1a91a38e2c68","observedAt":"2026-11-05T12:40:46.394+00:00","statement":{"source":"euvd","id":"EUVD-2026-41907","aliases":["CVE-2026-58403"],"title":"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 follo…","description":"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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","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","score":5.9,"severity":null}],"references":["https://github.com/gohugoio/hugo/security/advisories/GHSA-c3wq-j5vh-68rc","https://github.com/gohugoio/hugo/pull/15020","https://github.com/gohugoio/hugo/commit/cf9c8f93ca2a2838ce378f9e36d052ac2f79e229","https://github.com/gohugoio/hugo/releases/tag/v0.163.1"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-41907","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jul 6, 2026, 7:25:45 PM","dateUpdated":"Jul 6, 2026, 8:51:27 PM"},"relatedAdvisories":[{"id":"RHSA-2026:36862","title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update","vulnerabilityIds":["CVE-2026-50133","CVE-2026-58402","CVE-2026-58403","CVE-2026-58404"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-41907","identifiers":["EUVD-2026-41907","CVE-2026-58403"]},"retained":false,"historicalAffected":[]}],"coverage":[]}