CVE-2026-77306

medium

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.

References

https://github.com/in-toto/go-witness/security/advisories/GHSA-v6px-jqx8-8xwj

https://github.com/in-toto/go-witness/releases/tag/v0.12.0

https://github.com/in-toto/go-witness/pull/784

https://github.com/in-toto/go-witness/commit/2f6295cb342a893a460fe85bacb8f5ee0e41eb699

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-143768

Details

Source: Mitre, NVD

Published: 2026-12-04

Updated: 2026-12-04

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

Severity: Medium

CVSS v3

Base Score: 5.3

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Severity: Medium

CVSS v4

Base Score: 4.8

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

Severity: Medium

EPSS

EPSS: 0.00288