# CVE-2026-44310: gitsign --verify panics on empty-certificate PKCS7 and exits 0, bypassing exit-code callers

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-08T17:37:45.000Z
- Modified: 2026-10-26T14:10:00.130Z
- Also known as: GHSA-7c37-gx6w-8vc5, GO-2026-5212
- Weaknesses: CWE-129, CWE-390
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- sigstore gitsign: >= 0.4.0, < 0.15.0
- github.com/sigstore/gitsign (Go): from 0.4.0 before 0.15.0

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`

## References

- <https://github.com/sigstore/gitsign/security/advisories/GHSA-7c37-gx6w-8vc5> (exploit, advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44310> (advisory)
- <https://github.com/sigstore/gitsign> (package)

## Sources

- CVE List: [CVE-2026-44310](https://www.cve.org/CVERecord?id=CVE-2026-44310), CVE Terms of Use, modified 2026-05-15
- GitHub Advisory Database: [GHSA-7c37-gx6w-8vc5](https://github.com/advisories/GHSA-7c37-gx6w-8vc5), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-5212](https://pkg.go.dev/vuln/GO-2026-5212), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-44310](https://nvd.nist.gov/vuln/detail/CVE-2026-44310), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-44310 · Whole record: https://cve.day/CVE-2026-44310.json · Rebuilt by cve.day 2026-11-25T22:59:21.823Z
