{"cve":"CVE-2026-44301","nvd":{"published":"2026-05-12T22:16:36.843","modified":"2026-10-26T14:10:00.130","status":"Analyzed","description":"Hugo is a static site generator. From 0.43 to before 0.161.0, when building a Hugo site that uses Node-based asset pipelines (PostCSS, Babel, TailwindCSS), Hugo invoked the configured Node tools without restrictions on file system access. As a result, executing hugo against an untrusted site could allow code running through these tools to read or write files outside the project's working directory. Users who do not use PostCSS, Babel, or TailwindCSS, or who only build trusted sites, are not affected. This vulnerability is fixed in 0.161.0.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U","score":6.2},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":8.1},"cwes":["CWE-22"],"references":["https://github.com/gohugoio/hugo/security/advisories/GHSA-x597-9fr4-5857"],"products":["gohugo:hugo"],"source":"nvd","synced_at":"2026-10-26T14:27:29.784594657+00:00"},"epss":{"cve":"CVE-2026-44301","score":0.00274,"percentile":0.1958,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-x597-9fr4-5857","url":"https://osv.dev/vulnerability/GHSA-x597-9fr4-5857","summary":"Hugo's Node tool execution allows file system access outside the project directory","modified":"2026-07-24T19:11:22.334894707Z","packages":[{"ecosystem":"Go","name":"github.com/gohugoio/hugo","purl":"pkg:golang/github.com/gohugoio/hugo","ranges":[">=0.43.0 <0.161.0"],"fixed":["0.161.0"]}]},{"id":"GO-2026-5740","url":"https://osv.dev/vulnerability/GO-2026-5740","summary":"Hugo's Node tool execution allows file system access outside the project directory in github.com/gohugoio/hugo","modified":"2026-07-24T19:00:25.653470716Z","packages":[{"ecosystem":"Go","name":"github.com/gohugoio/hugo","purl":"pkg:golang/github.com/gohugoio/hugo","ranges":["<0.161.0"],"fixed":["0.161.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}