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. 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.
CVSS

No CVSS.

Configurations

No configuration.

History

04 Dec 2026, 00:19

Type Values Removed Values Added
New CVE

Information

Published : 2026-12-04 00:19

Updated : 2026-12-04 15:17


NVD link : CVE-2026-77306

Mitre link : CVE-2026-77306

CVE.ORG link : CVE-2026-77306


JSON object : View

Products Affected

No product.

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-59

Improper Link Resolution Before File Access ('Link Following')