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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-05-13T15:29:47.000Z
- Modified: 2026-09-10T03:50:55.263Z
- Also known as: GHSA-m3xc-h892-ggx6, GO-2026-5490
- Related: CGA-p2f4-4jq3-89hr
- Weaknesses: CWE-674, CWE-835
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- go-git go-billy: < 5.9.0; < 6.0.0-alpha.1
- github.com/go-git/go-billy/v5 (Go): before 5.9.0
- github.com/go-git/go-billy/v6 (Go): before 6.0.0-alpha.1

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/go-git/go-billy/security/advisories/GHSA-m3xc-h892-ggx6> (advisory, web)
- <https://github.com/go-git/go-billy/releases/tag/v5.9.0> (web)
- <https://github.com/go-git/go-billy/releases/tag/v6.0.0-alpha.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44740> (advisory)
- <https://github.com/go-git/go-billy> (package)
- <https://github.com/go-git/go-billy/pull/203> (fix)

## Sources

- CVE List: [CVE-2026-44740](https://www.cve.org/CVERecord?id=CVE-2026-44740), CVE Terms of Use, modified 2026-06-01
- GitHub Advisory Database: [GHSA-m3xc-h892-ggx6](https://github.com/advisories/GHSA-m3xc-h892-ggx6), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-5490](https://pkg.go.dev/vuln/GO-2026-5490), CC-BY-4.0, modified 2026-08-08
- NVD: [CVE-2026-44740](https://nvd.nist.gov/vuln/detail/CVE-2026-44740), Public domain, modified 2026-07-22

---

Page: https://cve.day/CVE-2026-44740 · Whole record: https://cve.day/CVE-2026-44740.json · Rebuilt by cve.day 2026-11-25T22:59:23.462Z
