{"id":"GHSA-w6c6-c85g-mmv6","revision":"76d88f665e7f4bf0ae4df402e7e6bfde","records":[{"revision":"76d88f665e7f4bf0ae4df402e7e6bfde","observedAt":"2026-11-12T19:18:32.266+00:00","statement":{"source":"osv","id":"GHSA-w6c6-c85g-mmv6","aliases":["BIT-cosign-2026-39395","CVE-2026-39395","GO-2026-5694"],"title":"Cosign's verify-blob-attestation reports false positive when payload parsing fails","description":"## 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.","state":0,"publishedAt":"2026-04-08T00:15:44+00:00","modifiedAt":"2026-11-12T18:30:04.0168975+00:00","affected":[{"ecosystem":"Go","name":"github.com/sigstore/cosign/v3","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"3.0.0"},{"kind":"fixed","version":"3.0.6"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/sigstore/cosign/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.6.3"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/sigstore/cosign","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"1.13.6"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/sigstore/cosign/security/advisories/GHSA-w6c6-c85g-mmv6","https://nvd.nist.gov/vuln/detail/CVE-2026-39395","https://github.com/sigstore/cosign/pull/4801","https://github.com/sigstore/cosign/commit/f1ad3ee952313be5d74a49d67ba0aa8d0d5e351f","https://github.com/sigstore/cosign","https://github.com/sigstore/cosign/releases/tag/v2.6.3","https://github.com/sigstore/cosign/releases/tag/v3.0.6"],"sourceUrl":"https://github.com/advisories/GHSA-w6c6-c85g-mmv6","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-w6c6-c85g-mmv6","identifiers":["GHSA-w6c6-c85g-mmv6","BIT-cosign-2026-39395","CVE-2026-39395","GO-2026-5694"]},"retained":false,"historicalAffected":[]}],"coverage":[]}