Live threats

All CVEs / go-git

CVE-2026-44740go-git go-billy

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
—
Auth required
Yes
Published
Jun 1, 2026
Updated
Jul 22, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-674, CWE-835
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

Billy is an interface filesystem abstraction for Go. Prior to versions 5.9.0 and 6.0.0-alpha.1, multiple components may improperly handle crafted or malformed input, resulting in panics, infinite loops, uncontrolled recursion, or excessive resource consumption. These issues arise from insufficient validation and missing safety mechanisms such as cycle detection, recursion limits, or defensive handling of unexpected states when processing untrusted repository data and filesystem structures. This issue has been patched in versions 5.9.0 and 6.0.0-alpha.1.

Original NVD text.

What to do

  1. Apply the vendor's security update for go-billy.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/go-git/go-billy/v5 < 5.9.0 5.9.0 go get github.com/go-git/go-billy/v5@v5.9.0
Go github.com/go-git/go-billy/v5 < 5.9.0 5.9.0 go get github.com/go-git/go-billy/v5@v5.9.0
Go github.com/go-git/go-billy/v6 < 6.0.0-alpha.1 6.0.0-alpha.1 go get github.com/go-git/go-billy/v6@v6.0.0-alpha.1

Per OSV / GitHub Advisories (GHSA-m3xc-h892-ggx6, GO-2026-5490). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Also: SUSE (+18), Red Hat (+3)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.