Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-109595— Hugo v0.84.0 before v0.167.0 Path Traversal via js.Build ESBuild Resolver

Quick assessment

Affected
gohugoio hugo
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Hugo 在 v0.84.0 至 v0.167.0 版本(不含 v0.167.0)中存在一个路径遍历漏洞,攻击者可通过恶意主题或模块,利用 、 和 中 ESBuild 的回退解析器读取项目根目录之外的文件。攻击者可通过引入相对路径导入或指向项目外部的符号链接,将构建用户有权读取的任何文件打包到发布的 JavaScript 或 CSS 输出中。

CVSS 5.5 · Medium EPSS 0.14% · P3

Affected Version Matrix 2

VendorProduct Version RangeStatus
gohugoio hugo 0.84.0< 0.167.0 affected
0.167.0 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-109595

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Hugo v0.84.0 before v0.167.0 Path Traversal via js.Build ESBuild Resolver
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
gohugoio hugo 0.84.0 ~ 0.167.0 -

II. Public POCs for CVE-2026-109595

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-109595

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-109595 (1)

Other References for CVE-2026-109595 (1)

Same Patch Batch · gohugoio · 2026-10-12 · 4 CVEs total

CVE-2026-109574 5.5 MEDIUM Hugo before v0.167.0 Path Traversal via css.Sass Import Fallback
CVE-2026-109596 5.5 MEDIUM Hugo from v0.162.0 before v0.167.0 Symlink File Disclosure via Nested Mount Ancestor
CVE-2026-109597 5.4 MEDIUM Hugo v0.60.0 before v0.167.0 Stored XSS via Table of Contents Heading IDs

IV. Related Vulnerabilities

V. Comments for CVE-2026-109595

No comments yet


Leave a comment