{"schema_version":"1.3.1","id":"GO-2026-5380","modified":"2026-07-07T16:52:19Z","published":"2026-07-07T16:52:19Z","aliases":["CVE-2026-50135","GHSA-fw87-fv5r-9fpw"],"summary":"Hugo: Symlink confinement bypass in resources.Get in github.com/gohugoio/hugo","details":"Hugo: Symlink confinement bypass in resources.Get in github.com/gohugoio/hugo","affected":[{"package":{"name":"github.com/gohugoio/hugo","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.123.0"},{"fixed":"0.162.0"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/gohugoio/hugo/hugofs","symbols":["FileMeta.Open","FileMeta.ReadAll","RootMappingFs.Open","RootMappingFs.Stat","RootMappingFs.statRoot","rootMappingDir.ReadDir","rootMappingDir.Readdirnames"]}]}}],"references":[{"type":"ADVISORY","url":"https://github.com/gohugoio/hugo/security/advisories/GHSA-fw87-fv5r-9fpw"},{"type":"FIX","url":"https://github.com/gohugoio/hugo/commit/f8b5fa09a64950c32b803821ede411ebfe772b7a"},{"type":"WEB","url":"https://github.com/gohugoio/hugo/releases/tag/v0.162.0"}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2026-5380","review_status":"REVIEWED"}}