PT-2025-42616
CVE-2025-26625
·
Published
2025-10-06
·
Updated
2026-10-21
Description by
CVSS 3.1
10
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Git LFS versions 0.5.2 through 3.7.0
Description
Git LFS commands, specifically
git lfs checkout and git lfs pull, may write to files outside the intended Git working tree if symbolic or hard links are present that conflict with paths tracked by Git LFS. This occurs because these commands do not initially check for symbolic links before writing files. This issue also affected bare repositories, allowing writes to files outside the repository. The issue is addressed by revising the git lfs checkout and git lfs pull commands to check for symbolic links and remove existing files before writing new ones.Recommendations
Update to Git LFS version 3.7.1 or later.
As a workaround, disable symlink support in Git by setting the
core.symlinks configuration option to false. However, note that existing symbolic or hard links in repositories may still allow Git LFS to write to their targets. Found an issue in the description? Have something to add? Feel free to write us 👾