Vulnerability · Published May 15, 2026 · Assigned by GitHub_M
CVE-2026-44310gitsign --verify panics on empty-certificate PKCS7 and exits 0, bypassing exit-code callers
Medium 5.4
In plain English
A medium-severity security flaw in gitsign from sigstore. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | gitsign | no fix listed | DEBIAN-CVE-2026-44310 |
| Debian:14 | gitsign | 0.16.0-1 | DEBIAN-CVE-2026-44310 |
| Go | github.com/sigstore/gitsign | 0.15.0 | GHSA-7c37-gx6w-8vc5 |
| Go | github.com/sigstore/gitsign | 0.15.0 | GO-2026-5212 |
| Ubuntu:25.10 | gitsign | no fix listed | UBUNTU-CVE-2026-44310 |
| Ubuntu:26.10 | gitsign | no fix listed | UBUNTU-CVE-2026-44310 |
Affected products (as reported)
Weakness: CWE-129, CWE-390 · Vector: 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 x_refsource_CONFIRM