What’s Vulnerable › Vulnerabilities
CVE-2026-44310: gitsign --verify panics on empty-certificate PKCS7 and exits 0, bypassing exit-code callers
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-15 · updated 2026-10-26
- Weakness: CWE-129
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.
Affected products
- sigstore gitsign: from 0.4.0, < 0.15.0
References
- https://github.com/sigstore/gitsign/security/advisories/GHSA-7c37-gx6w-8vc5
- https://github.com/sigstore/gitsign/security/advisories/GHSA-7c37-gx6w-8vc5
Get alerted when CVE-2026-44310 or the next vulnerability affects your stack