目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-89258— Hugo 0.165.0 符号链接限制绕过

一分钟漏洞结论

影响对象
gohugoio hugo
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Hugo 是一款静态站点生成器。在高于 v0.123.0 且低于 v0.165.0 的版本中,在直接资源查找过程中,父目录中的符号链接(symlinks)未被忽略,从而导致路径限制(path confinement)机制可以被绕过。 如果攻击者能够——或者能够说服站点作者在——某个已挂载的目录(例如,位于 下本地引入的主题)中放置一个符号链接,那么执行直接查找的功能(如 和 )将会跟随该符号链接,从而读取预期项目边界之外的文件,并将其内容暴露在构建好的站点中。 作为 Go 模块从 GitHub 获取的主题在下载时会

CVSS 6.3 · Medium

可能的 ATT&CK 技术 1 AI

T1082 · System Information Discovery

影响版本矩阵 2

厂商产品 版本范围状态
gohugoio hugo < 0.165.0 affected
0.165.0 unaffected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-89258 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Hugo before v0.165.0 Symlink Confinement Bypass via resources.Get
来源: CVE Program / CVE List V5
Vulnerability Description
Hugo is a static site generator. In versions after v0.123.0 and before v0.165.0, symlinks in parent directories were not dropped during direct resource lookups, allowing path confinement to be bypassed. An attacker who can place — or who convinces a site author to place — a symlink inside a mounted directory (for example, in a locally vendored theme under themes/) can cause functions that perform direct lookups, such as resources.Get and os.ReadFile, to follow that symlink and read files outside the intended project boundaries, disclosing their contents in the built site. Themes mounted as Go modules fetched from GitHub have symlinks stripped on download and are not affected, and multi-directory walks (e.g. content/asset walking) are not affected. This issue is an incomplete-fix follow-up to GHSA-c3wq-j5vh-68rc and GHSA-fw87-fv5r-9fpw; it is fixed in v0.165.0.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
在文件访问前对链接解析不恰当(链接跟随)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
gohugoio hugo 0 ~ 0.165.0 -

二、漏洞 CVE-2026-89258 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-89258 的情报信息

登录查看更多情报信息。

CVE-2026-89258 厂商安全公告 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2026-89258

暂无评论


发表评论