gitsign — security advisory
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.
- Products
- gitsign
- Affected versions
- 0.12.0-4, 0.13.0-1, 0.13.0-2, 0.13.0-3, 0.13.0-4, 0.13.0-4ubuntu0.26.04.1~esm1, 0.16.1-2, 0.16.1-3
- Fixed versions
- Not specified
- CVEs
- CVE-2026-44310
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:12 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-44310
gitsign
Fixed versions: Not specified
gitsign
Fixed versions: Not specified
gitsign
Fixed versions: Not specified
Complete source record
{
"id": "fa7537602d4e90ee3cd95b83aa1545a5929552423df000afb0fb9465a4fb3c1b",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-44310",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-44310",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2026-44310",
"products": [
{
"name": {
"value": "gitsign",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.12.0-4",
"evidence": "/affected/0/versions"
},
{
"value": "0.13.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.13.0-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "gitsign",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.13.0-4",
"evidence": "/affected/1/versions"
},
{
"value": "0.16.1-2",
"evidence": "/affected/1/versions"
},
{
"value": "0.16.1-3",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "gitsign",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.13.0-2",
"evidence": "/affected/2/versions"
},
{
"value": "0.13.0-3",
"evidence": "/affected/2/versions"
},
{
"value": "0.13.0-4",
"evidence": "/affected/2/versions"
},
{
"value": "0.13.0-4ubuntu0.26.04.1~esm1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2026-44310",
"aliases": [
"UBUNTU-CVE-2026-44310"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gitsign",
"purl": "pkg:deb/ubuntu/gitsign?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"0.12.0-4",
"0.13.0-1",
"0.13.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44310.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gitsign",
"binary_version": "0.13.0-2"
},
{
"binary_name": "golang-github-sigstore-gitsign-dev",
"binary_version": "0.13.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gitsign",
"purl": "pkg:deb/ubuntu/gitsign?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"0.13.0-4",
"0.16.1-2",
"0.16.1-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44310.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gitsign",
"binary_version": "0.16.1-3"
},
{
"binary_name": "golang-github-sigstore-gitsign-dev",
"binary_version": "0.16.1-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gitsign",
"purl": "pkg:deb/ubuntu/gitsign?arch=source&distro=esm-apps%2Fresolute",
"ecosystem": "Ubuntu:Pro:26.04:LTS"
},
"versions": [
"0.13.0-2",
"0.13.0-3",
"0.13.0-4",
"0.13.0-4ubuntu0.26.04.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44310.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gitsign",
"binary_version": "0.13.0-4ubuntu0.26.04.1~esm1"
},
{
"binary_name": "golang-github-sigstore-gitsign-dev",
"binary_version": "0.13.0-4ubuntu0.26.04.1~esm1"
}
]
}
}
],
"modified": "2026-10-17T12:58:19.581342283Z",
"provider": "osv",
"upstream": [
"CVE-2026-44310"
],
"references": [
"https://ubuntu.com/security/CVE-2026-44310",
"https://www.cve.org/CVERecord?id=CVE-2026-44310",
"https://github.com/sigstore/gitsign/security/advisories/GHSA-7c37-gx6w-8vc5"
]
},
"related_cves": [
{
"value": "CVE-2026-44310",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 358548,
"published_at": "2026-05-15T17:16:00+00:00"
}