{"id":"CVE-2026-44310","published":"2026-05-15T16:17:53Z","modified":"2026-05-15T16:44:36Z","title":"gitsign --verify panics on empty-certificate PKCS7 and exits 0, bypassing exit-code callers","vendor":"sigstore","product":"gitsign","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00131,"percentile":0.02774,"provenance":"source"},"cwes":[{"id":"CWE-129","name":"Improper Validation of Array Index"},{"id":"CWE-390","name":"Detection of Error Condition Without Action"}],"references":[{"url":"https://github.com/sigstore/gitsign/security/advisories/GHSA-7c37-gx6w-8vc5","tags":["x_refsource_CONFIRM"]}],"priority":{"score":4.3,"factors":[{"name":"EPSS percentile","points":0.55},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"sigstore","affectedVersions":[{"vendor":"sigstore","product":"gitsign","versions":[">= 0.4.0, < 0.15.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-15T16:44:32.980771Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/sigstore/gitsign","vulnerableRanges":[">=0.4.0, <0.15.0"],"patched":["0.15.0"],"from":["GHSA-7c37-gx6w-8vc5","GO-2026-5212"],"provenance":"source"}],"summary":{"text":"Gitsign's CertVerifier.Verify() in pkg/git/verifier.go, in versions from 0.4.0 before 0.15.0, dereferences the first certificate without checking that one exists, so a signed message with an empty certificate set causes a panic. On the gitsign --verify path, that panic is silently recovered and the process exits with code 0, so an attacker who can supply such a signed message and get a user to process it can make a failed verification look successful to callers that rely only on the exit code.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:44Z"},"euvd":{"id":"EUVD-2026-30564","exploited":false,"provenance":"source"}}