Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Go

CVE-2026-77306 — in-toto go-witness

Medium · CVSS 4.8 First seen December 04, 2026

One of 4 in-toto go-witness vulnerabilities published together by NVD: our article covers all of them.

GoVulnerabilities

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 4.8 CVSS 4.0 base score from the CNA (github.com)

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

Vector 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

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

ProductAffected versionsFixed in
in-toto go-witness< 0.12.0—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Details from NVD (public domain).

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