—
GO-2026-4309
Cosign verification accepts any valid Rekor entry under certain conditions in github.com/sigstore/cosign
Quick fix
GO-2026-4309 — github.com/sigstore/cosign/v2: upgrade to the fixed version with the command below.
go get github.com/sigstore/cosign/v2@v2.6.2 Details
Cosign verification accepts any valid Rekor entry under certain conditions in github.com/sigstore/cosign
Are you affected?
Enter the version of the package you're using.
Affected packages
Go / github.com/sigstore/cosign
Introduced in:
0 No fixed version published yet for github.com/sigstore/cosign (go modules). Pin to a known-safe version or switch to an alternative.
Go / github.com/sigstore/cosign/v2
Introduced in:
0 Fixed in: 2.6.2 Fix
go get github.com/sigstore/cosign/v2@v2.6.2 Go / github.com/sigstore/cosign/v3
Introduced in:
0 Fixed in: 3.0.4 Fix
go get github.com/sigstore/cosign/v3@v3.0.4