CVE-2026-54787: sigstore-go fails to check signature timestamps against a signing key's validity period
sigstore-go fails to check signature timestamps against a signing key's validity period for self-managed long-lived keys without certificates. Impact To verify a bundle with a self-managed long-lived key, the key needs to be wrapped in an ExpiringKey type that implies expiration semantics: Despite the API contract, the validator does not check the bundle signing time against the validity window.
Published Jul 31, 2026
Affected packages
github.com/sigstore/sigstore-go
- Ecosystem
- Go
- Affected
- <= 1.2.0
- Fixed in
- 1.2.1
- Check
go list -m github.com/sigstore/sigstore-go
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
sigstore-go fails to check signature timestamps against a signing key's validity period for self-managed long-lived keys without certificates.
Impact
To verify a bundle with a self-managed long-lived key, the key needs to be wrapped in an ExpiringKey type that implies expiration semantics:
signatureVerifier, _ := signature.LoadDefaultVerifier(publicKey)
expiredKey := root.NewExpiringKey(signatureVerifier, time.Unix(0, 0), time.Unix(1, 0))Despite the API contract, the validator does not check the bundle signing time against the validity window. Attackers that obtain expired key materials may be able to sign bundles with those materials that are accepted despite a configured expiry date. This issue only impacts the long-lived signing key workflow, and not standard deployments involving a certificate authority.
Reproduction steps
Start from a sigstore-go checkout:
git clone https://github.com/sigstore/sigstore-go.git
cd sigstore-go
git checkout 8ca80c47ef03d26ebf174db7c296700b075b2c16Apply the [patch] containing the test case and associated materials:
git apply sigstore-go-public-key-validity-test.patchRun the test:
go test ./pkg/verify -run TestPublicKeyValidityCheckedAgainstSignedTimestampOn vulnerable code, the test fails because verification succeeds even though the trusted ExpiringKey is not valid at the signed timestamp:
--- FAIL: TestPublicKeyValidityCheckedAgainstSignedTimestamp
signed_entity_test.go:602:
Error: An error is expected but got nil.[patch]: https://github.com/user-attachments/files/28614520/sigstore-go-public-key-validity-test.patch
Credited to tnytown.
References
- https://github.com/sigstore/sigstore-go/security/advisories/GHSA-wqqc-jjcq-vfxm
- https://github.com/sigstore/sigstore-go/pull/642
- https://github.com/sigstore/sigstore-go/commit/4594ab4c779d08be1f4419803a8249188f35ed5f
- https://github.com/sigstore/sigstore-go/releases/tag/v1.2.1
- https://github.com/advisories/GHSA-wqqc-jjcq-vfxm
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
