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 Details
- CVSS 4.0 Base Score: 8.6 (HIGH)
- CVSS 4.0 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)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade git-lfs | Dec 23, 2025 | Dec 22, 2025 |
| Alpine Linux | — | Upgrade git-lfs | Jun 18, 2026 | Oct 17, 2025 |
| Amazon_linux_2023 | — | Upgrade git-lfs-debugsourceUpgrade git-lfsUpgrade git-lfs-debuginfo | Nov 11, 2025 | Oct 17, 2025 |
| Debian | — | Upgrade git-lfs | Jun 1, 2026 | Jun 1, 2026 |
| Freebsd | — | Upgrade git-lfs | Sep 18, 2026 | Sep 14, 2026 |
| Oracle_linux | — | Upgrade git-lfs | Dec 22, 2025 | Oct 17, 2025 |
| Redhat_linux | — | Upgrade git-lfs-debuginfoUpgrade rubygem-pg-docUpgrade rubygem-io-console-debuginfoUpgrade rubygem-pgUpgrade ruby-libs-debuginfoUpgrade rubygem-rbsUpgrade rubygem-raccUpgrade rubyUpgrade rubygem-rakeUpgrade rubygem-racc-debuginfoUpgrade rubygem-irbUpgrade rubygem-rexmlUpgrade ruby-bundled-gems-debuginfoUpgrade rubygem-pg-debugsourceUpgrade rubygem-rdocUpgrade rubygem-mysql2-debuginfoUpgrade rubygem-test-unitUpgrade ruby-default-gemsUpgrade rubygem-mysql2-docUpgrade ruby-docUpgrade rubygem-bundlerUpgrade rubygem-mysql2Upgrade ruby-develUpgrade rubygem-rbs-debuginfoUpgrade rubygemsUpgrade ruby-libsUpgrade git-lfs-debugsourceUpgrade rubygem-json-debuginfoUpgrade rubygems-develUpgrade rubygem-mysql2-debugsourceUpgrade ruby-debugsourceUpgrade git-lfsUpgrade rubygem-rssUpgrade rubygem-jsonUpgrade rubygem-minitestUpgrade rubygem-bigdecimal-debuginfoUpgrade ruby-debuginfoUpgrade rubygem-psychUpgrade rubygem-typeprofUpgrade rubygem-bigdecimalUpgrade rubygem-pg-debuginfoUpgrade ruby-bundled-gemsUpgrade rubygem-io-consoleUpgrade rubygem-psych-debuginfoUpgrade rubygem-power_assert | Dec 19, 2025 | Oct 17, 2025 |
| Rocky_linux | — | Upgrade git-lfs-debugsourceUpgrade git-lfs-debuginfoUpgrade git-lfs | Feb 5, 2026 | Dec 23, 2025 |
| Ubuntu | — | Upgrade git-lfsUpgrade golang-github-git-lfs-git-lfs-devUpgrade golang-github-git-lfs-git-lfs-dev (Ubuntu Pro)Upgrade git-lfs (Ubuntu Pro) | Jan 27, 2026 | Oct 17, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Feb 9, 2026 | Oct 17, 2025 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub