Path Traversal Vulnerability in Hugo by GoHugoIO
CVE-2026-109595

6.7MEDIUM

Key Information:

Vendor

Gohugoio

Status
Vendor
CVE Published:
12 October 2026

What is CVE-2026-109595?

Hugo versions from v0.84.0 to v0.167.0 contain a vulnerability allowing attackers to exploit the ESBuild's fallback resolver. The flaw enables the inclusion of malicious themes or modules, which can access files beyond the project root. By leveraging relative imports or symlinks that point to directories outside the intended path, attackers can bundle unauthorized files into the generated JavaScript or CSS output, posing a significant risk to applications and users relying on this framework.

Affected Version(s)

hugo 0.84.0 < 0.167.0

hugo 0.167.0

References

CVSS V4

Score:
6.7
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
None
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Hama1cco
.