GoWorst: High3 advisories

github.com/go-git/go-git: known vulnerabilities

github.com/go-git/go-git has 3 reviewed security advisories in the GitHub Advisory Database — 1 high, 1 moderate, 1 low. The most recent was published 2026-05-27. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the github.com/go-git/go-git versions running across your servers, containers and images, and ranks what to patch first.

How to fix github.com/go-git/go-git

Upgrade github.com/go-git/go-git to a release at or above the fixed version shown for each advisory below. For Go:

go get github.com/go-git/go-git@<fixed> && go mod tidy (check govulncheck)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (3)

go-git: Crafted repositories may modify main and submodule .git directories Moderate 5.4 CWE-22 — Affected: up to and including 44.7.0. No fixed release is listed. Published 2026-05-27. GHSA-crhj-59gh-8x96 · CVE-2026-45571
go-git: Improper single-quote escaping in go-git SSH transport Low CWE-116 — Affected: up to and including 4.7.0. No fixed release is listed. Published 2026-05-27. GHSA-m7cr-m3pv-hgrp · CVE-2026-45570
go-git clients vulnerable to DoS via maliciously crafted Git server replies High 7.5 CWE-20 CWE-400 CWE-770 — Affected: 4.0.0 through 4.13.1. No fixed release is listed. Published 2025-01-06. GHSA-r9px-m959-cxf4 · CVE-2025-21614

Find github.com/go-git/go-git across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.