GO-2025-4038

Source
https://pkg.go.dev/vuln/GO-2025-4038
Import Source
https://vuln.go.dev/ID/GO-2025-4038.json
JSON Data
https://api.test.osv.dev/v1/vulns/GO-2025-4038
Aliases
Published
2025-10-30T15:02:47Z
Modified
2025-11-05T19:58:35.784414Z
Summary
Git LFS may write to arbitrary files via crafted symlinks in github.com/git-lfs/git-lfs
Details

Git LFS may write to arbitrary files via crafted symlinks in github.com/git-lfs/git-lfs

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

Affected packages

Go / github.com/git-lfs/git-lfs

Package

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

Affected ranges

Type
SEMVER
Events
Introduced
0.5.2

Database specific

source

"https://vuln.go.dev/ID/GO-2025-4038.json"

Go / github.com/git-lfs/git-lfs/v3

Package

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

Affected ranges

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

Ecosystem specific

{
    "imports": [
        {
            "symbols": [
                "checkoutCommand",
                "checkoutConflict",
                "newSingleCheckout",
                "singleCheckout.Run"
            ],
            "path": "github.com/git-lfs/git-lfs/v3/commands"
        },
        {
            "symbols": [
                "GitFilter.SmudgeToFile"
            ],
            "path": "github.com/git-lfs/git-lfs/v3/lfs"
        }
    ]
}

Database specific

source

"https://vuln.go.dev/ID/GO-2025-4038.json"