Home / git-lfs / git-lfs / CVE-2025-26625
CVE-2025-26625: is it exploited, and which versions of git-lfs are affected and fixed?
CVE-2025-26625 is a link following (a symlink lets an attacker reach other files) vulnerability in git-lfs. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: github.com/git-lfs/git-lfs from 0.5.2 before 3.7.1 (GitHub advisory GHSA-6pvw-g552-53c5). Fixed in 3.7.1 (GitHub advisory GHSA-6pvw-g552-53c5). Severity: High (8.6, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:16 UTC.
What is CVE-2025-26625?
Git LFS may write to arbitrary files via crafted symlinks
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.
From the CVE record by GitHub_M, last updated October 21, 2026, 10:07 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| git-lfs | git-lfs | >= 0.5.2, < 3.7.1 |
As the CVE record by GitHub_M states it, last updated October 21, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/git-lfs/git-lfs | >= 0.5.2, < 3.7.1 | 3.7.1 | GHSA-6pvw-g552-53c5 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 31, 2026. Summary: Git LFS may write to arbitrary files via crafted symlinks.
How severe is CVE-2025-26625?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.6 | CVSS 4.0 | 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 | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-26625 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, October 17, 2025)
- EPSS
- 1.05% probability of exploitation activity in the next 30 days, percentile 65.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-59 Improper Link Resolution Before File Access
Where are the vendor advisories and references?
- https://github.com/git-lfs/git-lfs/security/advisories/GHSA-6pvw-g552-53c5 x_refsource_CONFIRM
- https://github.com/git-lfs/git-lfs/commit/0cffe93176b870055c9dadbb3cc9a4a440e98396 x_refsource_MISC
- https://github.com/git-lfs/git-lfs/commit/5c11ffce9a4f095ff356bc781e2a031abb46c1a8 x_refsource_MISC
- https://github.com/git-lfs/git-lfs/commit/d02bd13f02ef76f6807581cd6b34709069cb3615 x_refsource_MISC
- https://github.com/git-lfs/git-lfs/releases/tag/v3.7.1 x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2026/05/msg00055.html
- https://lists.debian.org/debian-lts-announce/2026/10/msg00040.html
When was it published, and where is the official record?
- Reserved
- February 12, 2025
- Published
- October 17, 2025, 15:30 UTC
- CVE record updated
- October 21, 2026, 10:07 UTC by GitHub_M
- NVD
- Deferred, last modified October 21, 2026, 10:16 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:16 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect git-lfs?
- Nov 19, 2026CVE-2026-105802 git-lfs: improper Neutralization of Line Delimiters
- Nov 19, 2026CVE-2026-69261 git-lfs: credentials insufficiently protected
- Nov 19, 2026CVE-2026-105803 git-lfs: regular Expression without Anchors
- Nov 19, 2026CVE-2026-69260 git-lfs: OS command injection
- Jan 14, 2025CVE-2024-53263 git-lfs: injection
- Apr 19, 2022CVE-2022-24826 git-lfs: untrusted Search Path
- Jan 15, 2021CVE-2021-21237 git-lfs: untrusted Search Path
Questions about CVE-2025-26625
Is CVE-2025-26625 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 1.05% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of git-lfs are affected by CVE-2025-26625?
github.com/git-lfs/git-lfs from 0.5.2 before 3.7.1, per the GitHub advisory GHSA-6pvw-g552-53c5. The tables above give every range the sources list.
Which version fixes CVE-2025-26625?
3.7.1, per the GitHub advisory GHSA-6pvw-g552-53c5. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-26625?
High (8.6, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-26625?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.