Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/go-git/go-billy/v6
  4. ›
  5. CVE-2026-44740

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

May 13, 2026 (updated June 9, 2026)

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.

References

  • github.com/advisories/GHSA-m3xc-h892-ggx6
  • github.com/go-git/go-billy/releases/tag/v5.9.0
  • github.com/go-git/go-billy/releases/tag/v6.0.0-alpha.1
  • github.com/go-git/go-billy/security/advisories/GHSA-m3xc-h892-ggx6
  • nvd.nist.gov/vuln/detail/CVE-2026-44740

Code Behaviors & Features

Detect and mitigate CVE-2026-44740 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.0.0-alpha.1

Fixed versions

  • 6.0.0-alpha.1

Solution

Upgrade to version 6.0.0-alpha.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-674: Uncontrolled Recursion
  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')

Source file

go/github.com/go-git/go-billy/v6/CVE-2026-44740.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:22:39 +0000.