Advisory record · GHSA-x597-9fr4-5857

Hugo's Node tool execution allows file system access outside the project directory

CVSS 6.2 MediumEPSS 0.0027 · 19th percentile

Published by the GitHub Advisory Database at 6 May 2026, 20:59 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/gohugoio/hugoGo>=0.43.0, <0.161.00.161.0
Identifiers
GHSA-x597-9fr4-5857 · CVE-2026-44301 · GO-2026-5740
Weakness (CWE)
CWE-22
Published
6 May 2026
Updated
24 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Hugo (github.com/gohugoio/hugo) versions 0.43.0 up to 0.161.0 are vulnerable when building sites that use Node-based asset tools such as PostCSS, Babel, or TailwindCSS. An attacker who can supply an untrusted site to build can run code through these tools and read or write files outside the project directory. Upgrade to Hugo 0.161.0, which runs Node tools with restricted file access, or block these tools using security.exec.allow.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.2 Medium 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0027, the 19th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:57 UTC First seen by agentprime
  2. 31 Oct 2026, 14:57 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.