LowGO-2025-4038BIT-git-lfs-2025-26625CVE-2025-26625GHSA-6pvw-g552-53c5
Git LFS may write to arbitrary files via crafted symlinks in github.com/git-lfs/git-lfs
Published 30 Oct 2025 · Updated 3 Mar 2026
Is your project on an affected github.com/git-lfs/git-lfs?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=0.5.2
- Fixed in
- No fix released
- Affected
- <3.7.1
- Fixed in
- 3.7.1
Update to the fixed version for your release line, for example:
go get github.com/git-lfs/git-lfs/v3@v3.7.1Details
Git LFS may write to arbitrary files via crafted symlinks in github.com/git-lfs/git-lfs
Is GO-2025-4038 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/git-lfs/git-lfs, and gives you the command that fixes it.
More advisories for github.com/git-lfs/git-lfs
- LowCVE-2024-53263Git LFS permits exfiltration of credentials via crafted HTTP URLs in github.com/git-lfs/git-lfs · 15 Jan 2025
- HighCVE-2024-53263Git LFS permits exfiltration of credentials via crafted HTTP URLs · 14 Jan 2025
- HighCVE-2017-17831GitHub Git LFS Arbitrary command execution vulnerability · 14 May 2022
- CriticalCVE-2022-24826Git LFS can execute a binary from the current directory on Windows · 22 Apr 2022
- HighCVE-2021-21237Git LFS can execute a Git binary from the current directory on Windows · 15 Feb 2022
- CriticalCVE-2020-27955Git LFS can execute a Git binary from the current directory · 11 Feb 2022
References
- Advisorygithub.com/git-lfs/git-lfs/security/advisories/GHSA-6pvw-g552-53c5
- Fixgithub.com/git-lfs/git-lfs/commit/0cffe93176b870055c9dadbb3cc9a4a440e98396
- Fixgithub.com/git-lfs/git-lfs/commit/5c11ffce9a4f095ff356bc781e2a031abb46c1a8
- Fixgithub.com/git-lfs/git-lfs/commit/d02bd13f02ef76f6807581cd6b34709069cb3615
- Linkgithub.com/git-lfs/git-lfs/releases/tag/v3.7.1
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.