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.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.4%top 66.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
AlmaLinux:8grafana9.2.10-32.el8_10ALSA-2026:46391
AlmaLinux:8grafana-selinux9.2.10-32.el8_10ALSA-2026:46391
Debian:12golang-github-go-git-go-billyno fix listedDEBIAN-CVE-2026-44740
Debian:13golang-github-go-git-go-billyno fix listedDEBIAN-CVE-2026-44740
Debian:14golang-github-go-git-go-billy5.9.0-1DEBIAN-CVE-2026-44740
Debian:14golang-github-go-git-go-billy-v66.0.0~alpha.1-1DEBIAN-CVE-2026-44740
Gogithub.com/go-git/go-billy/v55.9.0GO-2026-5490
Gogithub.com/go-git/go-billy/v55.9.0GHSA-m3xc-h892-ggx6
Gogithub.com/go-git/go-billy/v66.0.0-alpha.1GHSA-m3xc-h892-ggx6
Rocky Linux:8grafana0:9.2.10-32.el8_10RLSA-2026:46391
Ubuntu:22.04:LTSgolang-github-go-git-go-billyno fix listedUBUNTU-CVE-2026-44740
Ubuntu:24.04:LTSgolang-github-go-git-go-billyno fix listedUBUNTU-CVE-2026-44740
Ubuntu:25.10golang-github-go-git-go-billyno fix listedUBUNTU-CVE-2026-44740
Ubuntu:26.04:LTSgolang-github-go-git-go-billyno fix listedUBUNTU-CVE-2026-44740
Ubuntu:26.10golang-github-go-git-go-billyno fix listedUBUNTU-CVE-2026-44740
Ubuntu:26.10golang-github-go-git-go-billy-v6no fix listedUBUNTU-CVE-2026-44740

Affected products (as reported)

VendorProductVersions
go-git go-billy < 5.9.0< 6.0.0-alpha.1

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