CVE-2026-44310
published medium CVSS 3.1 · 5.4gitsign --verify panics on empty-certificate PKCS7 and exits 0, bypassing exit-code callers
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sigstore | — | gitsign>= 0.4.0, < 0.15.0 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sigstore | gitsign | >= 0.4.0, < 0.15.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-129 CWE-129: Improper Validation of Array Index
- CWE-390 CWE-390: Detection of Error Condition Without Action
References
1Provider assertions
2GitHub_M · cna
gitsign --verify panics on empty-certificate PKCS7 and exits 0, bypassing exit-code callers
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0a1b09baeac7f09eb4f9906a6e40ce433f500ecffcfff3839ae12cb5362c51ad
- Ingested
- 23 Sep 2026, 09:15:17 UTC
- Source record
- Official CVE record