CVE-2026-39395
JSON

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 packageVersionsReported by
sigstore cosign>= 3.0.0, < 3.0.6, < 2.6.3, before 2.6.3, from 3.0.0 before 3.0.6CVE List, NVD
github.com/sigstore/cosign/v3 (Go)from 3.0.0 before 3.0.6GitHub Advisory Database, Go Vulnerability Database
github.com/sigstore/cosign/v2 (Go)before 2.6.3GitHub Advisory Database, Go Vulnerability Database
github.com/sigstore/cosign (Go)up to 1.13.6, all versionsGitHub Advisory Database, Go Vulnerability Database
cosign (Bitnami)before 2.6.3, from 3.0.0 before 3.0.6Bitnami Vulnerability Database

All scores

GitHub_M4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
GitHub4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-754

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

SourceRecordLicence
CVE ListCVE-2026-39395 changed 2026-04-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-w6c6-c85g-mmv6 changed 2026-11-12CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5694 changed 2026-06-27CC-BY-4.0
NVDCVE-2026-39395 changed 2026-07-24Public domain
Bitnami Vulnerability DatabaseBIT-COSIGN-2026-39395 changed 2026-09-08Apache-2.0