CVE-2025-26625git-lfs
High 8.6 No auth needed
Follow: this CVE · git-lfs · git-lfs We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 4.0
- 8.6
- EPSS
- —
- Auth required
- No
- Published
- Oct 17, 2025
- Updated
- Oct 21, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-59
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
Git LFS is a Git extension for versioning large files. In Git LFS versions 0.5.2 through 3.7.0, when populating a Git repository's working tree with the contents of Git LFS objects, certain Git LFS commands may write to files visible outside the current Git working tree if symbolic or hard links exist which collide with the paths of files tracked by Git LFS. The git lfs checkout and git lfs pull commands do not check for symbolic links before writing to files in the working tree, allowing an attacker to craft a repository containing symbolic or hard links that cause Git LFS to write to arbitrary file system locations accessible to the user running these commands. As well, when the git lfs checkout and git lfs pull commands are run in a bare repository, they could write to files visible outside the repository. The vulnerability is fixed in version 3.7.1. As a workaround, support for symlinks in Git may be disabled by setting the core.symlinks configuration option to false, after which further clones and fetches will not create symbolic links. However, any symbolic or hard links in existing repositories will still provide the opportunity for Git LFS to write to their targets.
What to do
- Apply the vendor's security update for git-lfs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/git-lfs/git-lfs |
≥ 0.5.2 < 3.7.1 |
3.7.1 |
go get github.com/git-lfs/git-lfs@v3.7.1 |
| Go | github.com/git-lfs/git-lfs |
≥ 0.5.2 |
no fixed version | — |
| Go | github.com/git-lfs/git-lfs/v3 |
< 3.7.1 |
3.7.1 |
go get github.com/git-lfs/git-lfs/v3@v3.7.1 |
Per OSV / GitHub Advisories (GHSA-6pvw-g552-53c5, GO-2025-4038). Check the version in your lockfile before upgrading.
Affected products
- git-lfs · git-lfs
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for git-lfs · SUSE · SUSE-SU-2026:3801-1 · Aug 25, 2026 High
- Security update for git-lfs · SUSE · openSUSE-SU-2026:21621-1 · Aug 21, 2026 High
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Red Hat Security Advisory: git-lfs security update · Red Hat · RHSA-2026:0472 · Jan 14, 2026 High
- Red Hat Security Advisory: git-lfs security update · Red Hat · RHSA-2026:0465 · Jan 14, 2026 High
- Red Hat Security Advisory: git-lfs security update · Red Hat · RHSA-2026:0460 · Jan 14, 2026 High
Also: Red Hat (+10)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.