CVE-2025-26625: git-lfs Link Following
Vulnerability summary
CVE-2025-26625 is a high (CVSS 8.6) Link Following vulnerability in git-lfs. EPSS estimates a 1.03% chance of exploitation in the next 30 days, higher than 63.1% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 6 · Related 4Timeline
- 17-10-2025PublishedVulnerability first disclosed.
- 31-05-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 6 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.6HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated8.6HighCVSS: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
- OSV · GoEcosystem advisory · calculated8.6HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- NVDNIST8.6HighCVSS: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
EPSS trend
Probability
1.03%
Chance of exploitation in the next 30 days
Percentile
63%
Versus all other CVEs
30-day change
+0.28 pp
From 0.75% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Redhat3 products
- git-lfs< 0:2.13.3-3.el8_6.5 | < 0:2.13.3-5.el9_0.5 | < 0:3.6.1-4.el10_1 | < 0:3.6.1-4.el9_7 | < 0:3.4.1-6.el8_10 | < 0:3.6.1-2.el9_6.1 | < 0:3.2.0-2.el9_2.4 | < 0:3.4.1-4.el9_4.3 | < 0:3.6.1-2.el10_0.1 | < 0:2.13.3-3.el8_4.3 | < 0:3.2.0-2.el8_8.5
- git-lfs-debuginfo< 0:2.13.3-3.el8_6.5 | < 0:2.13.3-5.el9_0.5 | < 0:3.6.1-4.el10_1 | < 0:3.6.1-4.el9_7 | < 0:3.4.1-6.el8_10 | < 0:3.6.1-2.el9_6.1 | < 0:3.2.0-2.el9_2.4 | < 0:3.4.1-4.el9_4.3 | < 0:3.6.1-2.el10_0.1 | < 0:2.13.3-3.el8_4.3 | < 0:3.2.0-2.el8_8.5
- git-lfs-debugsource< 0:2.13.3-3.el8_6.5 | < 0:2.13.3-5.el9_0.5 | < 0:3.6.1-4.el10_1 | < 0:3.6.1-4.el9_7 | < 0:3.4.1-6.el8_10 | < 0:3.6.1-2.el9_6.1 | < 0:3.2.0-2.el9_2.4 | < 0:3.4.1-4.el9_4.3 | < 0:3.6.1-2.el10_0.1 | < 0:2.13.3-3.el8_4.3 | < 0:3.2.0-2.el8_8.5
Suse3 products
- git-lfs&distro=SUSE Linux Enterprise Module for Development Tools 15 SP7< 3.7.1-150600.13.6.1
- git-lfs&distro=SUSE Linux Enterprise Server 15 SP6-LTSS< 3.7.1-150600.13.6.1
- git-lfs&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP6< 3.7.1-150600.13.6.1
Debian1 product
- git-lfsAll versions (No fix recorded) | < 3.6.1-1+deb13u1 | < 3.7.1-1
Git-lfs1 product
- git-lfs≥ 0.5.2, < 3.7.1
Github.com/git-lfs1 product
- git-lfs≥ 0.5.2, < 3.7.1 | ≥ 0.5.2 (No fix recorded)
Github.com/git-lfs/git-lfs1 product
- v3< 3.7.1
Opensuse1 product
- git-lfs&distro=openSUSE Tumbleweed< 3.7.1-1.1
Ubuntu1 product
- git-lfsAll versions (No fix recorded) | < 3.4.1-1ubuntu0.3+esm2 | < 3.6.1-1ubuntu0.1
8 vendors · 12 products
References
41 links- github.com/git-lfs/git-lfs/security/advisories/GHSA-6pvw-g552-53c5X Refsource CONFIRMARTICLEREPORTWEBAdvisory
- github.com/git-lfs/git-lfs/commit/0cffe93176b870055c9dadbb3cc9a4a440e98396X Refsource MISCARTICLEREPORTWEBFIX
- github.com/git-lfs/git-lfs/commit/5c11ffce9a4f095ff356bc781e2a031abb46c1a8X Refsource MISCARTICLEREPORTWEBFIX
- github.com/git-lfs/git-lfs/commit/d02bd13f02ef76f6807581cd6b34709069cb3615X Refsource MISCARTICLEREPORTWEBFIX
Show all 41 references
- github.com/git-lfs/git-lfsPACKAGE