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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-77306— go-witness 未知版本 符号链接越权漏洞

一分钟漏洞结论

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

go-witness 和 witness 是用于生成证明(attestation)的 Go 模块。在 0.12.0 之前,RecordArtifacts 会用 filepath.EvalSymlinks 解析符号链接,并且随后递归进入解析后的路径,却没有检查该目标是否仍位于被证明的基础路径之内。如果被证明目录树中的符号链接指向其外部,文件证明器会打开、哈希并记录该外部目标。因此,在受攻击者影响的目录上运行 witness run(例如检出的仓库、拉取请求构建或解压后的归档)会读取预定工作区之外的文件(例如机密信息、

CVSS 4.8 · Medium
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
go-witness: File attestor follows symlinks outside the base path and records out-of-tree files
来源: CVE Program / CVE List V5
Vulnerability Description
go-witness and witness are Go modules for generating attestations. Prior to version 0.12.0, RecordArtifacts resolves a symbolic link with filepath.EvalSymlinks and then recurses into the resolved path with no check that the target stays within the base path being attested. A symlink in the attested directory tree that points outside it causes the file attestor to open, hash, and record the out-of-tree target. Running witness run over an attacker-influenced directory (a checked-out repository, a pull-request build, an unpacked archive) therefore reads files outside the intended workspace (secrets, system files) and records their digests and paths into the attestation. This issue has been patched in version 0.12.0.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
in-toto go-witness < 0.12.0 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-77306 其他参考 (4)

同批安全公告 · in-toto · 2026-12-03 · 共 5 条

CVE-2026-77308 9.3 CRITICAL Witness CI/CD 密钥窃取漏洞
CVE-2026-77302 7.0 HIGH go-witness 策略签名校验绕过漏洞
CVE-2026-77303 5.6 MEDIUM go-witness 版本未标注 制品流判定缺陷
CVE-2026-77305 5.6 MEDIUM go-witness SHA-1哈希降级篡改漏洞

IV. Related Vulnerabilities