Vulnerability · Published Jun 1, 2026 · Assigned by GitHub_M
CVE-2026-44740go-billy: Lack of depth and cycle detection in symlink resolution may lead to infinite loops and resource exhaustion
Medium 6.5
In plain English
A medium-severity infinite loop in go-billy from go-git. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | grafana | 9.2.10-32.el8_10 | ALSA-2026:46391 |
| AlmaLinux:8 | grafana-selinux | 9.2.10-32.el8_10 | ALSA-2026:46391 |
| Debian:12 | golang-github-go-git-go-billy | no fix listed | DEBIAN-CVE-2026-44740 |
| Debian:13 | golang-github-go-git-go-billy | no fix listed | DEBIAN-CVE-2026-44740 |
| Debian:14 | golang-github-go-git-go-billy | 5.9.0-1 | DEBIAN-CVE-2026-44740 |
| Debian:14 | golang-github-go-git-go-billy-v6 | 6.0.0~alpha.1-1 | DEBIAN-CVE-2026-44740 |
| Go | github.com/go-git/go-billy/v5 | 5.9.0 | GO-2026-5490 |
| Go | github.com/go-git/go-billy/v5 | 5.9.0 | GHSA-m3xc-h892-ggx6 |
| Go | github.com/go-git/go-billy/v6 | 6.0.0-alpha.1 | GHSA-m3xc-h892-ggx6 |
| Rocky Linux:8 | grafana | 0:9.2.10-32.el8_10 | RLSA-2026:46391 |
| Ubuntu:22.04:LTS | golang-github-go-git-go-billy | no fix listed | UBUNTU-CVE-2026-44740 |
| Ubuntu:24.04:LTS | golang-github-go-git-go-billy | no fix listed | UBUNTU-CVE-2026-44740 |
| Ubuntu:25.10 | golang-github-go-git-go-billy | no fix listed | UBUNTU-CVE-2026-44740 |
| Ubuntu:26.04:LTS | golang-github-go-git-go-billy | no fix listed | UBUNTU-CVE-2026-44740 |
| Ubuntu:26.10 | golang-github-go-git-go-billy | no fix listed | UBUNTU-CVE-2026-44740 |
| Ubuntu:26.10 | golang-github-go-git-go-billy-v6 | no fix listed | UBUNTU-CVE-2026-44740 |
Affected products (as reported)
Weakness: CWE-674, CWE-835 · Vector: 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 x_refsource_CONFIRM
- https://github.com/go-git/go-billy/releases/tag/v5.9.0 x_refsource_MISC
- https://github.com/go-git/go-billy/releases/tag/v6.0.0-alpha.1 x_refsource_MISC