Improper Certificate Validation Affecting cg package, versions <0.2.261-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.16% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-CG-16722705
  • published17 May 2026
  • disclosed15 May 2026

Introduced: 15 May 2026

CVE-2026-44309  (opens in a new tab)
CWE-295  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

Upgrade Chainguard cg to version 0.2.261-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cg package and not the cg package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

Gitsign is a keyless Sigstore to signing tool for Git commits with your a GitHub / OIDC identity. Prior to 0.16.0, gitsign verify and gitsign verify-tag re-encode commit/tag objects through go-git's EncodeWithoutSignature before checking the signature, instead of verifying against the raw git object bytes. For malformed objects with duplicate tree headers, git-core and go-git parse different trees: git-core uses the first, go-git uses the second. A signature crafted over the go-git-normalized form (second tree) passes gitsign verify while git-core resolves the commit to a completely different tree. This breaks the invariant that a verified signature, the commit semantics git-core presents to users, and the object hash logged in Rekor all refer to the same content. This vulnerability is fixed in 0.16.0.