4.3medium
Cosign's verify-blob-attestation reports false positive when payload parsing fails
- Severity
- 4.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-w6c6-c85g-mmv6BIT-COSIGN-2026-39395GO-2026-5694
Description
Cosign provides code signing and transparency for containers and binaries. Prior to 3.0.6 and 2.6.3, cosign verify-blob-attestation may erroneously report a "Verified OK" result for attestations with malformed payloads or mismatched predicate types. For old-format bundles and detached signatures, this was due to a logic flaw in the error handling of the predicate type validation. For new-format bundles, the predicate type validation was bypassed completely. This vulnerability is fixed in 3.0.6 and 2.6.3.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| sigstore cosign | >= 3.0.0, < 3.0.6, < 2.6.3, before 2.6.3, from 3.0.0 before 3.0.6 | CVE List, NVD |
| github.com/sigstore/cosign/v3 (Go) | from 3.0.0 before 3.0.6 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/sigstore/cosign/v2 (Go) | before 2.6.3 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/sigstore/cosign (Go) | up to 1.13.6, all versions | GitHub Advisory Database, Go Vulnerability Database |
| cosign (Bitnami) | before 2.6.3, from 3.0.0 before 3.0.6 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| GitHub | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Cosign provides code signing and transparency for containers and binaries. Prior to 3.0.6 and 2.6.3, cosign verify-blob-attestation may erroneously report a "Verified OK" result for attestations with malformed payloads or mismatched predicate types. For old-format bundles and detached signatures, this was due to a logic flaw in the error handling of the predicate type validation. For new-format bundles, the predicate type validation was bypassed completely. This vulnerability is fixed in 3.0.6 and 2.6.3.
GitHub Advisory Database
Description
cosign verify-blob-attestation may erroneously report a "Verified OK" result for attestations with malformed payloads or mismatched predicate types. For old-format bundles and detached signatures, this was due to a logic flaw in the error handling of the predicate type validation. For new-format bundles, the predicate type validation was bypassed completely.
Impact
When cosign verify-blob-attestation is used without --check-claims set to true, an attestation that has a valid signature but a malformed or unparsable payload would be incorrectly validated. Additionally, systems relying on --type <predicate type> to reject attestations with mismatched types would be lead to trust the unexpected attestation type.
Patches
v3.0.6, v2.6.3
Workarounds
Always set --check-claims=true for attestation verification.
Go Vulnerability Database
Cosign's verify-blob-attestation reports false positive when payload parsing fails in github.com/sigstore/cosign
NVD (es)
Cosign proporciona firma de código y transparencia para contenedores y binarios. Antes de 3.0.6 y 2.6.3, cosign verify-blob-attestation podría informar erróneamente un resultado de 'Verified OK' para atestaciones con cargas útiles malformadas o tipos de predicado no coincidentes. Para paquetes de formato antiguo y firmas separadas, esto se debía a un fallo lógico en el manejo de errores de la validación del tipo de predicado. Para paquetes de formato nuevo, la validación del tipo de predicado fue omitida por completo. Esta vulnerabilidad está corregida en 3.0.6 y 2.6.3.
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-39395 changed 2026-04-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-w6c6-c85g-mmv6 changed 2026-11-12 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-5694 changed 2026-06-27 | CC-BY-4.0 |
| NVD | CVE-2026-39395 changed 2026-07-24 | Public domain |
| Bitnami Vulnerability Database | BIT-COSIGN-2026-39395 changed 2026-09-08 | Apache-2.0 |