Skip to content
Heist/ feed
Back to feed
MediumFix available

gitsign — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-44310

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.13.0-2, 0.13.0-3, 0.13.0-4, 0.13.0-4~exp0, 0.14.0-1, 0.14.0-1~exp0, 0.16.0-1, 0.16.1-1, 0.16.1-2, 0.16.1-2~exp0, 0.16.1-3
Fixed versions
0.16.0-1
CVEs
CVE-2026-44310
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 17:48 UTC · Revision 2

Source evidence

DEBIAN-CVE-2026-44310

core-osv · Original source

Published 15 May 2026, 17:16 UTC

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:DEBIAN-CVE-2026-44310

gitsign

Fixed versions: Not specified

gitsign

Fixed versions: 0.16.0-1

Complete source record
{
  "id": "15083d8d0dbe41a073feeea243ebec54da3f760173cfaee5a792a415a470b664",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-44310",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-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:DEBIAN-CVE-2026-44310",
    "products": [
      {
        "name": {
          "value": "gitsign",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.13.0-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.13.0-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.13.0-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.13.0-4~exp0",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.14.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.14.0-1~exp0",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.16.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.16.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.16.1-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.16.1-2~exp0",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.16.1-3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gitsign",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.16.0-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "0.13.0-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.13.0-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.13.0-4",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.13.0-4~exp0",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.14.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.14.0-1~exp0",
            "evidence": "/affected/1/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2026-44310",
      "aliases": [
        "DEBIAN-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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gitsign",
            "purl": "pkg:deb/debian/gitsign?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "0.13.0-2",
            "0.13.0-3",
            "0.13.0-4",
            "0.13.0-4~exp0",
            "0.14.0-1",
            "0.14.0-1~exp0",
            "0.16.0-1",
            "0.16.1-1",
            "0.16.1-2",
            "0.16.1-2~exp0",
            "0.16.1-3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-44310.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.16.0-1"
                }
              ]
            }
          ],
          "package": {
            "name": "gitsign",
            "purl": "pkg:deb/debian/gitsign?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "0.13.0-2",
            "0.13.0-3",
            "0.13.0-4",
            "0.13.0-4~exp0",
            "0.14.0-1",
            "0.14.0-1~exp0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-44310.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-27T09:47:40.660216830Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-44310"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-44310"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-44310",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 461221,
  "published_at": "2026-05-15T17:16:47.43+00:00"
}