{"id":"CVE-2026-24122","aliases":["CVE-2026-24122","GHSA-wfqv-66vq-46rm","BIT-COSIGN-2026-24122","GO-2026-4529"],"related":["CGA-f8vm-jvxx-v2rp"],"kind":"vulnerability","state":"published","title":"Cosign Certificate Chain Expiry Validation Issue Allows Issuing Certificate Expiry to Be Overlooked","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nWhen 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. 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.\n\n## Impact\n\nNo impact to users of the public Sigstore infrastructure. This may affect private deployments with customized PKIs. In practice, this is unlikely to occur as CAs should not be issuing certificates that outlive the validity of the CA and its parents.\n\n## Workarounds\n\nUpgrade to the latest release, or verify the certificate chain out of band.\n\n## Example to Reproduce\n\n* Root CA certificate is valid from 12pm-2pm\n* Intermediate CA certificate is valid from 12:30pm-1:30pm\n* Leaf certificate is valid from 1pm-3pm - **Note that this is unlikely to happen in practice**, as a CA shouldn't issue a certificate that would be valid after the issuing CA certificate expires\n* Signature generated at 2:30pm with a signed timestamp\n* During verification, the leaf certificate's not before time (1pm) is used to verify the chain - 1pm is in the validity windows for the root and intermediate CA certificates\n* The timestamp's time is checked to be in the validity window of only the leaf certificate - 2:30pm is in the validity window for the leaf\n* Even though the root and intermediate would be expired at 2:30pm, verification succeeds","format":"markdown","source":"ghsa"},{"lang":"en","text":"Cosign considered signatures valid with expired intermediate certificates when transparency log verification is skipped in github.com/sigstore/cosign","format":"markdown","source":"go"},{"lang":"es","text":"Cosign proporciona firma de código y transparencia para contenedores y binarios. En las versiones 3.0.4 e inferiores, un certificado emisor con una validez que expira antes que el certificado hoja se considerará válido durante la verificación, incluso si la marca de tiempo proporcionada significaría que el certificado emisor debería considerarse expirado. Al verificar firmas de artefactos usando un certificado, Cosign primero verifica la cadena de certificados usando la marca de tiempo 'no antes de' del certificado hoja y luego verifica la caducidad del certificado hoja usando una marca de tiempo firmada proporcionada por el registro de transparencia de Rekor o de una autoridad de marca de tiempo, o usando la hora actual. Se asume que el certificado raíz y todos los certificados emisores son válidos durante la validez del certificado hoja. No hay impacto para los usuarios de la infraestructura pública de Sigstore. Esto puede afectar a despliegues privados con PKIs personalizadas. Este problema ha sido corregido en la versión 3.0.5.","source":"nvd"}],"published":"2026-02-19T22:09:12.000Z","modified":"2026-09-10T03:50:36.127Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7,"rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"LOW"}],"cwes":["CWE-295"],"affected":[{"ranges":[{"version":"< 3.0.5","status":"affected"}],"vendor":"sigstore","product":"cosign","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.0.5"}],"ecosystem":"Go","package":"github.com/sigstore/cosign","purl":"pkg:golang/github.com/sigstore/cosign","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/sigstore/cosign","purl":"pkg:golang/github.com/sigstore/cosign","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/sigstore/cosign/v2","purl":"pkg:golang/github.com/sigstore/cosign/v2","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.0.5"}],"ecosystem":"Go","package":"github.com/sigstore/cosign/v3","purl":"pkg:golang/github.com/sigstore/cosign/v3","source":"go"},{"ranges":[{"status":"affected","fixed":"3.0.5"}],"vendor":"sigstore","product":"cosign","cpe":"cpe:2.3:a:sigstore:cosign:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.0.5"}],"ecosystem":"Bitnami","package":"cosign","purl":"pkg:bitnami/cosign","source":"bitnami"}],"references":[{"url":"https://github.com/sigstore/cosign/security/advisories/GHSA-wfqv-66vq-46rm","tags":["advisory","exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/sigstore/cosign/commit/3c9a7363f563db76d78e2de2cabd945450f3781e","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/sigstore/cosign/releases/tag/v3.0.5","tags":["article","product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-24122","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/sigstore/cosign","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-02-20T15:27:28.783Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-24122","url":"https://www.cve.org/CVERecord?id=CVE-2026-24122","licence":"CVE Terms of Use","modified":"2026-02-20T15:41:03.939Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wfqv-66vq-46rm","url":"https://github.com/advisories/GHSA-wfqv-66vq-46rm","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:36.127Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4529","url":"https://pkg.go.dev/vuln/GO-2026-4529","licence":"CC-BY-4.0","modified":"2026-06-16T16:44:28.615Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-24122","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-24122","licence":"Public domain","modified":"2026-06-17T10:22:39.833Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-COSIGN-2026-24122","url":"https://osv.dev/vulnerability/BIT-COSIGN-2026-24122","licence":"Apache-2.0","modified":"2026-09-08T08:46:01.366Z"}],"updatedAt":"2026-11-25T22:59:14.276Z","epss":{"score":0.00212,"percentile":0.12224,"date":"2026-12-01T12:00:22.000Z"}}