{"id":"CVE-2026-44310","summary":"gitsign --verify panics on empty-certificate PKCS7 and exits 0, bypassing exit-code callers","details":"Gitsign is a keyless Sigstore to signing tool for Git commits with your a GitHub / OIDC identity. From 0.4.0 to before 0.15.0, CertVerifier.Verify() in pkg/git/verifier.go unconditionally dereferences certs[0] after sd.GetCertificates() without checking the slice length. A CMS/PKCS7 signed message with an empty certificate set is a structurally valid DER payload; GetCertificates() returns an empty slice with no error, causing an immediate index-out-of-range panic. On the gitsign --verify code path (the GPG-compatible mode invoked by git verify-commit), the panic is silently recovered by internal/io/streams.go's Wrap() function, which returns nil instead of an error. main.go then exits with code 0, causing exit-code-only verification callers to interpret the failed verification as success. This vulnerability is fixed in 0.15.0.","aliases":["GHSA-7c37-gx6w-8vc5","GO-2026-5212"],"modified":"2026-08-07T11:50:18.796023366Z","published":"2026-05-15T16:17:53.558Z","related":["CGA-f8r5-9q74-2mw5","openSUSE-SU-2026:21483-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-129","CWE-390"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44310.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44310.json"},{"type":"ADVISORY","url":"https://github.com/sigstore/gitsign/security/advisories/GHSA-7c37-gx6w-8vc5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44310"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/sigstore/gitsign","events":[{"introduced":"e4ec0f504177676b4e3518d9e5f0743b2dc96710"},{"fixed":"d7565c405e188d1ad41d85d5f46adaeec4b85941"}],"database_specific":{"source":["AFFECTED_FIELD","DESCRIPTION"],"extracted_events":[{"introduced":"0.4.0"},{"fixed":"0.15.0"},{"introduced":"0"}]}}],"versions":["v0.14.0","v0.13.0","v0.12.0","v0.11.0","v0.10.2","v0.10.1","v0.9.1","v0.10.0","v0.9.0","v0.8.1","v0.8.0","v0.7.1","v0.7.0","v0.6.0","v0.5.2","v0.5.1","v0.5.0","v0.4.1","v0.4.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44310.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L"}]}