Skip to main content
← All vulnerabilities
CVE-2026-22703GHSA-WHQX-F9J3-CH6MBIT-COSIGN-2026-22703GO-2026-4309

Cosign verification accepts any valid Rekor entry under certain conditions

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.0.4, 2.6.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Cosign provides code signing and transparency for containers and binaries. Prior to versions 2.6.2 and 3.0.4, Cosign bundle can be crafted to successfully verify an artifact even if the embedded Rekor entry does not reference the artifact's digest, signature or public key. When verifying a Rekor entry, Cosign verifies the Rekor entry signature, and also compares the artifact's digest, the user's public key from either a Fulcio certificate or provided by the user, and the artifact signature to the Rekor entry contents. Without these comparisons, Cosign would accept any response from Rekor as valid. A malicious actor that has compromised a user's identity or signing key could construct a valid Cosign bundle by including any arbitrary Rekor entry, thus preventing the user from being able to audit the signing event. This issue has been patched in versions 2.6.2 and 3.0.4.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • sigstore cosign

    fixed in 3.0.4; fixed in 2.6.2

  • github.com/sigstore/cosign/v3Go

    fixed in 3.0.4

  • github.com/sigstore/cosign/v2Go

    fixed in 2.6.2

  • github.com/sigstore/cosignGo

    All versions

References 3

GitHub · sigstore/cosign