{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-50135","published":"2026-07-06T21:16:56.347000Z","last_modified":"2026-10-25T20:10:00.147000Z","status":"Analyzed","cvss":{"version":"4.0","score":6.9,"severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/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.161.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-fw87-fv5r-9fpw","ecosystem":"Go","name":"github.com/gohugoio/hugo","purl":"pkg:golang/github.com/gohugoio/hugo","ranges":[{"introduced":"0.123.0","fixed":"0.162.0"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2026-5380","ecosystem":"Go","name":"github.com/gohugoio/hugo","purl":"pkg:golang/github.com/gohugoio/hugo","ranges":[{"introduced":"0.123.0","fixed":"0.162.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":56,"links":{"html_es":"/es/cve/CVE-2026-50135/","html_en":"/en/cve/CVE-2026-50135/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-50135","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-50135"},"untrusted":{"vendor_name":"Gohugo","product_name":"Hugo","desc_en":"Hugo is a static site generator. From 0.123.0 to 0.161.1, a regression made  RootMappingFs.statRoot  use  Stat  (follows symlinks) instead of  Lstat , so a direct  resources.Get  of a symlink pointing outside its mount returned the target's contents — letting a symlink planted in a local mount (e.g. a vendored  themes/  theme) read arbitrary files accessible to the Hugo user. Go-module themes from GitHub (symlinks stripped) and directory walks were unaffected. Fixed in 0.162.0.","affected":[{"untrusted_vendor":"gohugoio","untrusted_product":"hugo","versions":[]}],"references":[{"url":"https://github.com/gohugoio/hugo/commit/f8b5fa09a64950c32b803821ede411ebfe772b7a","tags":["Patch"]},{"url":"https://github.com/gohugoio/hugo/releases/tag/v0.162.0","tags":["Product","Release Notes"]},{"url":"https://github.com/gohugoio/hugo/security/advisories/GHSA-fw87-fv5r-9fpw","tags":["Patch","Vendor Advisory"]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:21483-1","url":"https://www.suse.com/support/update/","published":"2026-07-30T09:09:47+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for govulncheck-vulndb"}},{"source":"redhat","id":"RHSA-2026:24577","url":"https://access.redhat.com/errata/RHSA-2026:24577","published":"2026-06-17T10:08:02+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update"}}]}