CVE-2026-44310 gitsign --verify panics on empty-certificate PKCS7 and exits 0, bypassing exit-code callers
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
7 packages: 2 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/gitsign(Debian 13) | = 0.13.0-2; = 0.13.0-3; = 0.13.0-4; = 0.13.0-4~exp0 +8 more | No fix listed | No fix yet |
| redhat/rhtas/gitsign-rhel9(Red Hat trusted_artifact_signer 1) | All versions | No fix listed | No fix yet |
| ubuntu/gitsign(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/gitsign(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/gitsign(Debian 14) | < 0.16.0-1; = 0.13.0-2; = 0.13.0-3; = 0.13.0-4 +3 more | 0.16.0-1 | Fixed |
| sigstore github.com/sigstore/gitsign(Go) | >= 0.4.0, < 0.15.0 | 0.15.0 | Fixed |
| sigstore github.com/sigstore/gitsign | = >= 0.4.0, < 0.15.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sigstore github.com/sigstore/gitsign(Go) | >= 0.4.0, < 0.15.0 | 0.15.0 |
| sigstore github.com/sigstore/gitsign | = >= 0.4.0, < 0.15.0 | No fix listed |
| redhat/rhtas/gitsign-rhel9(Red Hat:trusted_artifact_signer:1) | All versions | No fix listed |
| debian/gitsign(Debian:13) | All versions | No fix listed |
| debian/gitsign(Debian:13) | = 0.13.0-2 | No fix listed |
| debian/gitsign(Debian:13) | = 0.13.0-3 | No fix listed |
| debian/gitsign(Debian:13) | = 0.13.0-4 | No fix listed |
| debian/gitsign(Debian:13) | = 0.13.0-4~exp0 | No fix listed |
| debian/gitsign(Debian:13) | = 0.14.0-1 | No fix listed |
| debian/gitsign(Debian:13) | = 0.14.0-1~exp0 | No fix listed |
| debian/gitsign(Debian:13) | = 0.16.0-1 | No fix listed |
| debian/gitsign(Debian:13) | = 0.16.1-1 | No fix listed |
| debian/gitsign(Debian:13) | = 0.16.1-2 | No fix listed |
| debian/gitsign(Debian:13) | = 0.16.1-2~exp0 | No fix listed |
| debian/gitsign(Debian:13) | = 0.16.1-3 | No fix listed |
| debian/gitsign(Debian:14) | < 0.16.0-1 | 0.16.0-1 |
| debian/gitsign(Debian:14) | = 0.13.0-2 | No fix listed |
| debian/gitsign(Debian:14) | = 0.13.0-3 | No fix listed |
| debian/gitsign(Debian:14) | = 0.13.0-4 | No fix listed |
| debian/gitsign(Debian:14) | = 0.13.0-4~exp0 | No fix listed |
| debian/gitsign(Debian:14) | = 0.14.0-1 | No fix listed |
| debian/gitsign(Debian:14) | = 0.14.0-1~exp0 | No fix listed |
| ubuntu/gitsign(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/gitsign(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/sigstore/gitsign/security/advisories/GHSA-7c37-gx6w-8vc5 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2477935 issue-tracking
- www.cve.org
- Debian Security Tracker CVE-2026-44310 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking