{"id":"CVE-2026-39395","aliases":["CVE-2026-39395","GHSA-w6c6-c85g-mmv6","BIT-COSIGN-2026-39395","GO-2026-5694"],"related":["CGA-ppcm-jcwg-gwm4"],"kind":"vulnerability","state":"published","title":"Cosign's verify-blob-attestation reports false positive when payload parsing fails","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Description\n\n`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.\n\n## Impact\n\nWhen `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.\n\n## Patches\n\nv3.0.6, v2.6.3\n\n## Workarounds\n\nAlways set `--check-claims=true` for attestation verification.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Cosign's verify-blob-attestation reports false positive when payload parsing fails in github.com/sigstore/cosign","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-04-07T20:06:28.798Z","modified":"2026-11-12T18:30:04.016Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-754"],"affected":[{"ranges":[{"version":">= 3.0.0, < 3.0.6","status":"affected"},{"version":"< 2.6.3","status":"affected"}],"vendor":"sigstore","product":"cosign","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.0.6"}],"ecosystem":"Go","package":"github.com/sigstore/cosign/v3","purl":"pkg:golang/github.com/sigstore/cosign/v3","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.6.3"}],"ecosystem":"Go","package":"github.com/sigstore/cosign/v2","purl":"pkg:golang/github.com/sigstore/cosign/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.13.6"}],"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","fixed":"2.6.3"}],"ecosystem":"Go","package":"github.com/sigstore/cosign/v2","purl":"pkg:golang/github.com/sigstore/cosign/v2","source":"go"},{"ranges":[{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.0.6"}],"ecosystem":"Go","package":"github.com/sigstore/cosign/v3","purl":"pkg:golang/github.com/sigstore/cosign/v3","source":"go"},{"ranges":[{"status":"affected","fixed":"2.6.3"},{"status":"affected","introduced":"3.0.0","fixed":"3.0.6"}],"vendor":"sigstore","product":"cosign","cpe":"cpe:2.3:a:sigstore:cosign:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.6.3"},{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.0.6"}],"ecosystem":"Bitnami","package":"cosign","purl":"pkg:bitnami/cosign","source":"bitnami"}],"references":[{"url":"https://github.com/sigstore/cosign/security/advisories/GHSA-w6c6-c85g-mmv6","tags":["advisory","mitigation","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39395","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/sigstore/cosign/pull/4801","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/sigstore/cosign/commit/f1ad3ee952313be5d74a49d67ba0aa8d0d5e351f","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/sigstore/cosign","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/sigstore/cosign/releases/tag/v2.6.3","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/sigstore/cosign/releases/tag/v3.0.6","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-08T15:49:08.895Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-39395","url":"https://www.cve.org/CVERecord?id=CVE-2026-39395","licence":"CVE Terms of Use","modified":"2026-04-08T15:49:16.587Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w6c6-c85g-mmv6","url":"https://github.com/advisories/GHSA-w6c6-c85g-mmv6","licence":"CC-BY-4.0","modified":"2026-11-12T18:30:04.016Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5694","url":"https://pkg.go.dev/vuln/GO-2026-5694","licence":"CC-BY-4.0","modified":"2026-06-27T02:14:27.010Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-39395","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39395","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-COSIGN-2026-39395","url":"https://osv.dev/vulnerability/BIT-COSIGN-2026-39395","licence":"Apache-2.0","modified":"2026-09-08T08:46:04.125Z"}],"updatedAt":"2026-11-25T22:59:18.170Z","epss":{"score":0.00256,"percentile":0.18319,"date":"2026-12-01T12:00:22.000Z"}}