CVE-2025-26625 Details
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.
A vulnerability exists in Git Large File Storage (LFS) versions 0.5.2 through 3.7.0, where the 'checkout' and 'pull' commands can inadvertently write to files outside the intended Git working tree. This issue arises when symbolic or hard links intersect with the paths of files managed by Git LFS. The commands do not verify the presence of symbolic links before writing, potentially allowing Git LFS to overwrite files in arbitrary locations accessible to the user. Additionally, in bare repositories, these commands could also write to locations outside the repository. This vulnerability has been addressed in Git LFS version 3.7.1.
Users should upgrade to Git LFS version 3.7.1, where this vulnerability has been fixed. Instructions for downloading this version are available on the Git LFS GitHub releases page.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 17, 2025CISA-ADP
Assessed Oct 17, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Git LFS | >= 0.5.2, <= 3.7.0 (semver) |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 21, 2026 | CVE Modified | CVE |
| Oct 21, 2026 | CVE Modified | [email protected] |
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 31, 2026 | CVE Modified | CVE |
| Oct 17, 2025 | New CVE Received | [email protected] |
Volerion