GHSA-m3xc-h892-ggx6

    Dashboard / Vulnerabilities / GHSA-m3xc-h892-ggx6

    GHSA-m3xc-h892-ggx6

    Published: 13 May 2026Last Modified: 10 Sept 2026

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

    Details: ### Impact 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. ### Patches Users 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. ### Credits Thanks to @faran66 for finding and reporting this issue privately to the go-git project. 🙇

    Affected packages

    Package

    Name: github.com/go-git/go-billy/v5

    Purl: pkg:golang/github.com/go-git/go-billy/v5

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -5.9.0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-m3xc-h892-ggx6 | CVE-DB