{"schema_version":"1.7.5","id":"GHSA-m3xc-h892-ggx6","published":"2026-05-13T15:29:47Z","modified":"2026-07-24T19:11:21.970671803Z","aliases":["CVE-2026-44740","GO-2026-5490"],"related":["CGA-p2f4-4jq3-89hr"],"summary":"go-billy: Lack of depth and cycle detection in symlink resolution may lead to infinite loops and resource exhaustion","details":"### Impact\nMultiple components may improperly handle crafted or malformed input, resulting in panics, infinite loops, uncontrolled recursion, or excessive resource consumption.\n\nThese 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.\n\n### Patches\nUsers 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.\n\n### Credits\nThanks to @faran66 for finding and reporting this issue privately to the go-git project. 🙇","affected":[{"package":{"name":"github.com/go-git/go-billy/v5","ecosystem":"Go","purl":"pkg:golang/github.com/go-git/go-billy/v5"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.9.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-m3xc-h892-ggx6/GHSA-m3xc-h892-ggx6.json"}},{"package":{"name":"github.com/go-git/go-billy/v6","ecosystem":"Go","purl":"pkg:golang/github.com/go-git/go-billy/v6"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.0.0-alpha.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-m3xc-h892-ggx6/GHSA-m3xc-h892-ggx6.json"}}],"references":[{"type":"WEB","url":"https://github.com/go-git/go-billy/security/advisories/GHSA-m3xc-h892-ggx6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44740"},{"type":"PACKAGE","url":"https://github.com/go-git/go-billy"},{"type":"WEB","url":"https://github.com/go-git/go-billy/releases/tag/v5.9.0"},{"type":"WEB","url":"https://github.com/go-git/go-billy/releases/tag/v6.0.0-alpha.1"}],"database_specific":{"cwe_ids":["CWE-674","CWE-835"],"github_reviewed":true,"github_reviewed_at":"2026-05-13T15:29:47Z","nvd_published_at":"2026-06-01T17:17:08Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}