EnvMap GitHub

CVE-2026-77306

go-witness: File attestor follows symlinks outside the base path and records out-of-tree files

EPSS 0.29%Received

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.

In the words of the organisation that published it (GitHub_M).

Severity

  • 4.8 Medium · CVSS 4.0 from security-advisories@github.com · 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

Affected

  • in-toto go-witness: < 0.12.0

as the publisher (GitHub_M) lists them.

Likelihood of exploitation

FIRST's EPSS gives a 0.29% chance of exploitation in the next 30 days, higher than 23% of all CVEs (as of 4 December 2026).

Weakness

CWE-22, CWE-59

References

Record

Published00:19 UTC, 4 December 2026
Last changed15:17 UTC, 4 December 2026
NVD statusReceived
Published byGitHub_M

CVE-2026-77306 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.