Path Traversal in Gohugoio Hugo

CVE-2026-109595

Hugo from v0.84.0 before v0.167.0 contains a path traversal vulnerability that allows malicious themes or modules to read files outside the project root via ESBuild's fallback resolver in js.Build, js.Batch, and css.Build. Attackers can ship relative imports or symlinks pointing outside the project to bundle any file readable by the build user into published JavaScript or CSS output.

Vulnerability class: Path Traversal (Directory Traversal)

Published .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N.

EPSS exploit prediction

No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-109595?
CVE-2026-109595 is a medium-severity vulnerability in Gohugoio Hugo, classified under Path Traversal. CVSS score: 5.5/10. Published 2026-10-12.
How severe is CVE-2026-109595?
Medium severity. CVSS v3 base score is 5.5 out of 10.