CVE-2026-54787
JSON

3.1low

sigstore-go fails to check signature timestamps against a signing key's validity period

Severity
3.1low CVSS:3.1 by GitHub_M
Exploit likelihood
0.09% (higher than 0% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-wqqc-jjcq-vfxmGO-2026-6162

Description

sigstore-go is a Go library for Sigstore signing and verification. Prior to 1.2.1, sigstore-go does not check a bundle signing timestamp against the validity window of an ExpiringKey wrapping a self-managed long-lived signing key without a certificate, which can allow an attacker holding expired key material to sign accepted bundles. This issue is fixed in version 1.2.1.

Affected

Product or packageVersionsReported by
sigstore sigstore-go< 1.2.1CVE List
github.com/sigstore/sigstore-go (Go)before 1.2.1GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M3.1low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
GitHub3.1low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

Classification

CWE-324

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

sigstore-go is a Go library for Sigstore signing and verification. Prior to 1.2.1, sigstore-go does not check a bundle signing timestamp against the validity window of an ExpiringKey wrapping a self-managed long-lived signing key without a certificate, which can allow an attacker holding expired key material to sign accepted bundles. This issue is fixed in version 1.2.1.

GitHub Advisory Database

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 8ca80c47ef03d26ebf174db7c296700b075b2c16

Apply the patch containing the test case and associated materials:

git apply sigstore-go-public-key-validity-test.patch

Run the test:

go test ./pkg/verify -run TestPublicKeyValidityCheckedAgainstSignedTimestamp

On 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.
Go Vulnerability Database

sigstore-go fails to check signature timestamps against a signing key's validity period in github.com/sigstore/sigstore-go

NVD (es)

sigstore-go es una biblioteca Go para la firma y verificación de Sigstore. Antes de la versión 1.2.1, sigstore-go no verifica una marca de tiempo de firma de paquete contra la ventana de validez de una ExpiringKey que envuelve una clave de firma de larga duración autogestionada sin un certificado, lo que puede permitir a un atacante que posee material de clave caducado firmar paquetes aceptados. Este problema está solucionado en la versión 1.2.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-54787 changed 2026-07-31CVE Terms of Use
GitHub Advisory DatabaseGHSA-wqqc-jjcq-vfxm changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2026-6162 changed 2026-08-18CC-BY-4.0
NVDCVE-2026-54787 changed 2026-10-23Public domain