CVE-2026-77306 — in-toto go-witness
One of 4 in-toto go-witness vulnerabilities published together by NVD: our article covers all of them.
GoVulnerabilitiesSummary
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.
Severity breakdown
Medium · 4.8
An attacker with a normal user account can exploit this with local access, without any user action.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- yes, a normal user account
- User action needed
- no
- Impact
- low on confidentiality and integrity, none on availability
- Impact on other systems
- none
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-59: Improper Link Resolution Before File Access ('Link Following')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| in-toto go-witness | < 0.12.0 | — |
References by type
Vendor advisories
Patches and fixed releases
Affected
- in-toto go-witness
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-77306?
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. Weakness type: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22).
How severe is CVE-2026-77306?
CVE-2026-77306 has a CVSS 4.0 base score of 4.8 (medium), from the CNA (github.com). An attacker with a normal user account can exploit this with local access, without any user action.
Is CVE-2026-77306 being exploited?
Not as far as is known: CVE-2026-77306 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026.
Which versions are affected by CVE-2026-77306?
in-toto go-witness < 0.12.0.
How do I fix CVE-2026-77306?
Apply the update or mitigation in the vendor's advisory, linked on this page under Vendor advisories.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-77302 — in-toto go-witness
- Go Security Update Addresses Multiple Vulnerabilities
- NATS Server CVE-2026-58250: unauthenticated leafnode handshake crash via repeated INFO messages with compression enabled
- GHSA-vx8c-f5hh-c8pf / CVE-2026-137182 — Tinyauth: Nginx authentication bypass via spoofed X-Original-URL header
- GHSA-f9h7-4mmq-vgcq / CVE-2026-58262 — Klever Go counts bitmap padding bits toward BLS quorum, allowing blocks with insufficient signatures