All reports
High

cosign's `cosign verify-attestaton --type` can report a false positive if any attestation exists

Affected versions

Version ranges need review.

Affected versions
< 1.10.1
Fixed version
1.10.1
Affected versions
<1.10.1
Fixed version
1.10.1
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-35929

Probability of exploitation in the next 30 days: 0.68%

FIRST EPSS · 2026-11-19

Description

cosign verify-attestation used with the --type flag will report a false positive verification when:

  • There is at least one attestation with a valid signature

  • There are NO attestations of the type being verified (--type defaults to "custom")

This can happen when signing with a standard keypair and with "keyless" signing with Fulcio. Users should upgrade to cosign version 1.10.1 or greater for a patch. Currently the only workaround is to upgrade.

Links