NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2026-44740: go-billy: Lack of depth and cycle detection in symlink resolution may lead to infinite loops and resource exhaustion

mediumCVSS 3.1 6.5GHSA-m3xc-h892-ggx6

Impact 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.

Published May 13, 2026 · Updated Jun 9, 2026

Affected packages

github.com/go-git/go-billy/v5

Ecosystem
Go
Affected
< 5.9.0
Fixed in
5.9.0
Check
go list -m github.com/go-git/go-billy/v5

github.com/go-git/go-billy/v6

Ecosystem
Go
Affected
< 6.0.0-alpha.1
Fixed in
6.0.0-alpha.1
Check
go list -m github.com/go-git/go-billy/v6

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

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.

Patches

Users should upgrade to a patched version in order to mitigate this vulnerability. Versions prior to v5 are likely to be affected, users are recommended to upgrade to a supported go-billy version.

Credits

Thanks to @faran66 for finding and reporting this issue privately to the go-git project. 🙇

Credited to faran66.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries