Cosign Certificate Chain Expiry Validation Issue Allows Issuing Certificate Expiry to Be Overlooked
Description
Cosign provides code signing and transparency for containers and binaries. In versions 3.0.4 and below, an issuing certificate with a validity that expires before the leaf certificate will be considered valid during verification even if the provided timestamp would mean the issuing certificate should be considered expired. When verifying artifact signatures using a certificate, Cosign first verifies the certificate chain using the leaf certificate's "not before" timestamp and later checks expiry of the leaf certificate using either a signed timestamp provided by the Rekor transparency log or from a timestamp authority, or using the current time. The root and all issuing certificates are assumed to be valid during the leaf certificate's validity. There is no impact to users of the public Sigstore infrastructure. This may affect private deployments with customized PKIs. This issue has been fixed in version 3.0.5.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/sigstore/cosignGo | < 3.0.5 | 3.0.5 |
Affected products
30- osv-coords29 versionspkg:apk/chainguard/kopkg:apk/chainguard/ko-fipspkg:apk/chainguard/kyverno-1.17pkg:apk/chainguard/kyverno-background-controller-1.17pkg:apk/chainguard/kyverno-cleanup-controller-1.17pkg:apk/chainguard/kyverno-cli-1.17pkg:apk/chainguard/kyverno-init-container-1.17pkg:apk/chainguard/kyverno-notation-awspkg:apk/chainguard/kyverno-notation-aws-fipspkg:apk/chainguard/kyverno-reports-controller-1.17pkg:apk/chainguard/reports-serverpkg:apk/wolfi/kopkg:apk/wolfi/kyverno-1.17pkg:apk/wolfi/kyverno-background-controller-1.17pkg:apk/wolfi/kyverno-cleanup-controller-1.17pkg:apk/wolfi/kyverno-cli-1.17pkg:apk/wolfi/kyverno-init-container-1.17pkg:apk/wolfi/kyverno-notation-awspkg:apk/wolfi/kyverno-reports-controller-1.17pkg:bitnami/cosignpkg:golang/github.com/sigstore/cosignpkg:rpm/opensuse/cosign&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/cosign&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/cosign&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/hauler&distro=openSUSE%20Tumbleweedpkg:rpm/suse/cosign&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7pkg:rpm/suse/cosign&distro=SUSE%20Linux%20Enterprise%20Server%2016.0pkg:rpm/suse/cosign&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0
< 0.19.0-r0+ 28 more
- (no CPE)range: < 0.19.0-r0
- (no CPE)range: < 0.19.0-r0
- (no CPE)range: < 1.17.2-r11
- (no CPE)range: < 1.17.2-r11
- (no CPE)range: < 1.17.2-r11
- (no CPE)range: < 1.17.2-r11
- (no CPE)range: < 1.17.2-r11
- (no CPE)range: < 1.1-r59
- (no CPE)range: < 1.1-r52
- (no CPE)range: < 1.17.2-r11
- (no CPE)range: < 0
- (no CPE)range: < 0.19.0-r0
- (no CPE)range: < 1.17.2-r11
- (no CPE)range: < 1.17.2-r11
- (no CPE)range: < 1.17.2-r11
- (no CPE)range: < 1.17.2-r11
- (no CPE)range: < 1.17.2-r11
- (no CPE)range: < 1.1-r59
- (no CPE)range: < 1.17.2-r11
- (no CPE)range: < 3.0.5
- (no CPE)range: < 3.0.5
- (no CPE)range: < 3.0.5-150400.3.35.1
- (no CPE)range: < 3.0.5-160000.1.1
- (no CPE)range: < 3.0.5-1.1
- (no CPE)range: < 0.0.20260226T182644-150000.1.149.1
- (no CPE)range: < 1.4.2-1.1
- (no CPE)range: < 3.0.5-150400.3.35.1
- (no CPE)range: < 3.0.5-160000.1.1
- (no CPE)range: < 3.0.5-160000.1.1
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-wfqv-66vq-46rmghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-24122ghsaADVISORY
- github.com/sigstore/cosign/commit/3c9a7363f563db76d78e2de2cabd945450f3781eghsax_refsource_MISCWEB
- github.com/sigstore/cosign/releases/tag/v3.0.5ghsax_refsource_MISCWEB
- github.com/sigstore/cosign/security/advisories/GHSA-wfqv-66vq-46rmghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.