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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-77306— go-witness: File attestor follows symlinks outside the base path and records out-of-tree files

Quick assessment

Affected
in-toto go-witness
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.

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

CVSS 4.8 · Medium
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-77306

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
go-witness: File attestor follows symlinks outside the base path and records out-of-tree files
Source: 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.
Source: 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
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
in-toto go-witness < 0.12.0 -

II. Public POCs for CVE-2026-77306

# 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-77306

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

Other References for CVE-2026-77306 (4)

Same Patch Batch · in-toto · 2026-12-03 · 5 CVEs total

CVE-2026-77308 9.3 CRITICAL Witness: CI/CD secret exfiltration via .witness.yaml auto-load in untrusted repository
CVE-2026-77302 7.0 HIGH go-witness: Policy-signature verification accepts certificates whose signature failed, all
CVE-2026-77303 5.6 MEDIUM go-witness: artifactsFrom edge can be satisfied with no genuine artifact flow (one-directi
CVE-2026-77305 5.6 MEDIUM go-witness: Cross-step artifact comparison downgrades to the weakest shared hash, allowing

IV. Related Vulnerabilities