go-witness 0.12.0 Patched Symlink Path Traversal Flaw

GitHub disclosed CVE-2026-77306, a medium-severity vulnerability in the go-witness and witness Go modules for software supply chain attestations. The flaw allowed attackers to bypass directory restrictions by using symbolic links to read and hash files outside the intended workspace. The issue, classified as a path traversal weakness, was fixed in version 0.12.0, which is now available to users.
Key points
- The vulnerability affected versions of go-witness and witness prior to 0.12.0, where the RecordArtifacts function resolved symbolic links without verifying if the target remained within the base path.
- An attacker could place a symlink in an attested directory pointing to sensitive files outside the workspace, causing the tool to record the digest and path of those out-of-tree files into the attestation.
- The flaw was rated 4.8 (Medium) on the CVSS 4.0 scale, with low attack complexity and no user interaction required, but it required local access and low privileges to exploit.
- The issue is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) and CWE-59 (Improper Link Resolution Before File Access), with MITRE rating the likelihood of exploit for this weakness type as high.
- The fix was released in version 0.12.0, with references to the GitHub advisory GHSA-v6px-jqx8-8xwj and the corresponding pull request and commit.
Background
go-witness is a Go client library for the Witness project, part of the in-toto ecosystem maintained by the CNCF community. It is used for generating and verifying software supply chain attestations, integrating with platforms like GitHub, GitLab, and cloud providers. Recent disclosures in November and December 2026 have highlighted similar path traversal and symlink manipulation flaws in other software, including WooCommerce plugins, NVIDIA AIStore, TeamViewer, and Vesta Control Panel, indicating a broader trend in directory traversal vulnerabilities.
Why it matters
This vulnerability undermines the integrity of software supply chain attestations, which are critical for verifying the provenance and security of software artifacts. By allowing out-of-tree files to be recorded, the flaw could expose sensitive data or compromise the trust in attestation records, potentially affecting organizations relying on in-toto for security and compliance.
What to watch
Users of go-witness and witness should upgrade to version 0.12.0 or later to mitigate the vulnerability. Developers should review their attestation workflows to ensure symbolic links are properly restricted, and organizations using in-toto for supply chain security should verify their configurations to prevent similar path traversal issues.
Want the full story? Read the original reporting
Read on CVEs | Zero Wire | Cloudflare Radar