GO-2026-5336

Source
https://pkg.go.dev/vuln/GO-2026-5336
Import Source
https://vuln.go.dev/ID/GO-2026-5336.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-5336
Aliases
Published
2026-07-24T18:35:55Z
Modified
2026-07-24T19:00:21.833598319Z
Summary
Go-git: Crafted repositories may modify main and submodule .git directories in github.com/go-git/go-git
Details

Go-git: Crafted repositories may modify main and submodule .git directories in github.com/go-git/go-git

Database specific
{
    "url": "https://pkg.go.dev/vuln/GO-2026-5336",
    "review_status": "REVIEWED"
}
References

Affected packages

Go / github.com/go-git/go-git/v5

Package

Name
github.com/go-git/go-git/v5
View open source insights on deps.dev
Purl
pkg:golang/github.com/go-git/go-git/v5

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.19.1

Ecosystem specific

{
    "imports": [
        {
            "symbols": [
                "Clone",
                "CloneContext",
                "PlainClone",
                "PlainCloneContext",
                "Submodule.Update",
                "Submodule.UpdateContext",
                "Submodules.Update",
                "Submodules.UpdateContext",
                "Worktree.Checkout",
                "Worktree.Pull",
                "Worktree.PullContext"
            ],
            "path": "github.com/go-git/go-git/v5"
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-5336.json"