CVE-2025-26625
published high CVSS 4.0 · 8.6Git LFS may write to arbitrary files via crafted symlinks
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| git-lfs | — | git-lfs>= 0.5.2, < 3.7.1 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1258 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | git-lfs | Advisory build | 3.6.1-4.el10_1 | ALSA-2025:23667 |
| Alpine Linux | edge | git-lfs | Fixed | 3.7.1-r0 | Package fix record |
| Debian | bookworm | git-lfs | Advisory build | 3.3.0-1+deb12u2 | DLA-4846-1 |
| Oracle Linux | 10 | git-lfsaarch64 | Advisory build | 0:3.6.1-4.el10_1 | ELSA-2025-23667 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfsaarch64 | Advisory build | 3.6.1-2.el10_0.1 | RHSA-2026:0224 |
| SUSE / openSUSE | SLE-15-SP6 | git-lfsaarch64 | Advisory build | 3.7.1-150600.13.6.1 | SUSE-SU-2026:3801-1 |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | git-lfs | Advisory build | 3.4.1-1ubuntu0.3+esm2 | USN-7977-1 |
| AlmaLinux | 8 | git-lfs | Advisory build | 3.4.1-6.el8_10 | ALSA-2025:23745 |
| AlmaLinux | 9 | git-lfs | Advisory build | 3.6.1-4.el9_7 | ALSA-2025:23744 |
| Alpine Linux | v3.23 | git-lfs | Fixed | 3.7.1-r0 | Package fix record |
| Alpine Linux | v3.24 | git-lfs | Fixed | 3.7.1-r0 | Package fix record |
| Debian | bullseye | git-lfs | Advisory build | 2.13.2-1+deb11u2 | DLA-4610-1 |
| Oracle Linux | 10 | git-lfsx86_64 | Advisory build | 0:3.6.1-4.el10_1 | ELSA-2025-23667 |
| Oracle Linux | 8 | git-lfsaarch64 | Advisory build | 0:3.4.1-6.el8_10 | ELSA-2025-23745 |
| Oracle Linux | 8 | git-lfsx86_64 | Advisory build | 0:3.4.1-6.el8_10 | ELSA-2025-23745 |
| Oracle Linux | 9 | git-lfsaarch64 | Advisory build | 0:3.6.1-4.el9_7 | ELSA-2025-23744 |
| Oracle Linux | 9 | git-lfsx86_64 | Advisory build | 0:3.6.1-4.el9_7 | ELSA-2025-23744 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfsaarch64 | Advisory build | 3.6.1-4.el10_1 | RHSA-2025:23667 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfsppc64le | Advisory build | 3.6.1-2.el10_0.1 | RHSA-2026:0224 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfsppc64le | Advisory build | 3.6.1-4.el10_1 | RHSA-2025:23667 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfss390x | Advisory build | 3.6.1-2.el10_0.1 | RHSA-2026:0224 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfss390x | Advisory build | 3.6.1-4.el10_1 | RHSA-2025:23667 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfssrc | Advisory build | 3.6.1-2.el10_0.1 | RHSA-2026:0224 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfssrc | Advisory build | 3.6.1-4.el10_1 | RHSA-2025:23667 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfsx86_64 | Advisory build | 3.6.1-2.el10_0.1 | RHSA-2026:0224 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfsx86_64 | Advisory build | 3.6.1-4.el10_1 | RHSA-2025:23667 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfsaarch64 | Advisory build | 2.13.3-3.el8_6.5 | RHSA-2026:0465 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfsaarch64 | Advisory build | 3.4.1-6.el8_10 | RHSA-2025:23745 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfsppc64le | Advisory build | 2.13.3-3.el8_6.5 | RHSA-2026:0465 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfsppc64le | Advisory build | 3.2.0-2.el8_8.5 | RHSA-2026:0460 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfsppc64le | Advisory build | 3.4.1-6.el8_10 | RHSA-2025:23745 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfss390x | Advisory build | 2.13.3-3.el8_6.5 | RHSA-2026:0465 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfss390x | Advisory build | 3.4.1-6.el8_10 | RHSA-2025:23745 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfssrc | Advisory build | 2.13.3-3.el8_4.3 | RHSA-2026:0459 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfssrc | Advisory build | 2.13.3-3.el8_6.5 | RHSA-2026:0465 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfssrc | Advisory build | 3.2.0-2.el8_8.5 | RHSA-2026:0460 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfssrc | Advisory build | 3.4.1-6.el8_10 | RHSA-2025:23745 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfsx86_64 | Advisory build | 2.13.3-3.el8_4.3 | RHSA-2026:0459 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfsx86_64 | Advisory build | 2.13.3-3.el8_6.5 | RHSA-2026:0465 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfsx86_64 | Advisory build | 3.2.0-2.el8_8.5 | RHSA-2026:0460 |
| Red Hat Enterprise Linux | RHEL-8 | git-lfsx86_64 | Advisory build | 3.4.1-6.el8_10 | RHSA-2025:23745 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfsaarch64 | Advisory build | 2.13.3-5.el9_0.5 | RHSA-2026:0472 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfsaarch64 | Advisory build | 3.2.0-2.el9_2.4 | RHSA-2026:0203 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfsaarch64 | Advisory build | 3.4.1-4.el9_4.3 | RHSA-2026:0204 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfsaarch64 | Advisory build | 3.6.1-2.el9_6.1 | RHSA-2026:0199 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfsaarch64 | Advisory build | 3.6.1-4.el9_7 | RHSA-2025:23744 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfsppc64le | Advisory build | 2.13.3-5.el9_0.5 | RHSA-2026:0472 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfsppc64le | Advisory build | 3.2.0-2.el9_2.4 | RHSA-2026:0203 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfsppc64le | Advisory build | 3.4.1-4.el9_4.3 | RHSA-2026:0204 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfsppc64le | Advisory build | 3.6.1-2.el9_6.1 | RHSA-2026:0199 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfsppc64le | Advisory build | 3.6.1-4.el9_7 | RHSA-2025:23744 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfss390x | Advisory build | 2.13.3-5.el9_0.5 | RHSA-2026:0472 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfss390x | Advisory build | 3.2.0-2.el9_2.4 | RHSA-2026:0203 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfss390x | Advisory build | 3.4.1-4.el9_4.3 | RHSA-2026:0204 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfss390x | Advisory build | 3.6.1-2.el9_6.1 | RHSA-2026:0199 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfss390x | Advisory build | 3.6.1-4.el9_7 | RHSA-2025:23744 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfssrc | Advisory build | 2.13.3-5.el9_0.5 | RHSA-2026:0472 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfssrc | Advisory build | 3.2.0-2.el9_2.4 | RHSA-2026:0203 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfssrc | Advisory build | 3.4.1-4.el9_4.3 | RHSA-2026:0204 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfssrc | Advisory build | 3.6.1-2.el9_6.1 | RHSA-2026:0199 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfssrc | Advisory build | 3.6.1-4.el9_7 | RHSA-2025:23744 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfsx86_64 | Advisory build | 2.13.3-5.el9_0.5 | RHSA-2026:0472 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfsx86_64 | Advisory build | 3.2.0-2.el9_2.4 | RHSA-2026:0203 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfsx86_64 | Advisory build | 3.4.1-4.el9_4.3 | RHSA-2026:0204 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfsx86_64 | Advisory build | 3.6.1-2.el9_6.1 | RHSA-2026:0199 |
| Red Hat Enterprise Linux | RHEL-9 | git-lfsx86_64 | Advisory build | 3.6.1-4.el9_7 | RHSA-2025:23744 |
| SUSE / openSUSE | SLE-15-SP6 | git-lfsppc64le | Advisory build | 3.7.1-150600.13.6.1 | SUSE-SU-2026:3801-1 |
| SUSE / openSUSE | SLE-15-SP6 | git-lfss390x | Advisory build | 3.7.1-150600.13.6.1 | SUSE-SU-2026:3801-1 |
| SUSE / openSUSE | SLE-15-SP6 | git-lfsx86_64 | Advisory build | 3.7.1-150600.13.6.1 | SUSE-SU-2026:3801-1 |
| SUSE / openSUSE | SLE-15-SP7 | git-lfsaarch64 | Advisory build | 3.7.1-150600.13.6.1 | SUSE-SU-2026:3801-1 |
| SUSE / openSUSE | SLE-15-SP7 | git-lfsppc64le | Advisory build | 3.7.1-150600.13.6.1 | SUSE-SU-2026:3801-1 |
| SUSE / openSUSE | SLE-15-SP7 | git-lfss390x | Advisory build | 3.7.1-150600.13.6.1 | SUSE-SU-2026:3801-1 |
| SUSE / openSUSE | SLE-15-SP7 | git-lfsx86_64 | Advisory build | 3.7.1-150600.13.6.1 | SUSE-SU-2026:3801-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | git-lfsaarch64 | Advisory build | 3.7.1-bp160.1.1 | OPENSUSE-SU-2026:21621-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | git-lfsppc64le | Advisory build | 3.7.1-bp160.1.1 | OPENSUSE-SU-2026:21621-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | git-lfss390x | Advisory build | 3.7.1-bp160.1.1 | OPENSUSE-SU-2026:21621-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | git-lfsx86_64 | Advisory build | 3.7.1-bp160.1.1 | OPENSUSE-SU-2026:21621-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | git-lfsaarch64 | Advisory build | 3.7.1-1.1 | OPENSUSE-SU-2025:15643-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | git-lfsppc64le | Advisory build | 3.7.1-1.1 | OPENSUSE-SU-2025:15643-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | git-lfss390x | Advisory build | 3.7.1-1.1 | OPENSUSE-SU-2025:15643-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | git-lfsx86_64 | Advisory build | 3.7.1-1.1 | OPENSUSE-SU-2025:15643-1 |
| Ubuntu | questing | git-lfs | Advisory build | 3.6.1-1ubuntu0.1 | USN-7977-1 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfs-debuginfoaarch64 | Advisory build | 3.6.1-2.el10_0.1 | RHSA-2026:0224 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfs-debuginfoaarch64 | Advisory build | 3.6.1-4.el10_1 | RHSA-2025:23667 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfs-debuginfoppc64le | Advisory build | 3.6.1-2.el10_0.1 | RHSA-2026:0224 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfs-debuginfoppc64le | Advisory build | 3.6.1-4.el10_1 | RHSA-2025:23667 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfs-debuginfos390x | Advisory build | 3.6.1-2.el10_0.1 | RHSA-2026:0224 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfs-debuginfos390x | Advisory build | 3.6.1-4.el10_1 | RHSA-2025:23667 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfs-debuginfox86_64 | Advisory build | 3.6.1-2.el10_0.1 | RHSA-2026:0224 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfs-debuginfox86_64 | Advisory build | 3.6.1-4.el10_1 | RHSA-2025:23667 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfs-debugsourceaarch64 | Advisory build | 3.6.1-2.el10_0.1 | RHSA-2026:0224 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfs-debugsourceaarch64 | Advisory build | 3.6.1-4.el10_1 | RHSA-2025:23667 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfs-debugsourceppc64le | Advisory build | 3.6.1-2.el10_0.1 | RHSA-2026:0224 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfs-debugsourceppc64le | Advisory build | 3.6.1-4.el10_1 | RHSA-2025:23667 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfs-debugsources390x | Advisory build | 3.6.1-2.el10_0.1 | RHSA-2026:0224 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfs-debugsources390x | Advisory build | 3.6.1-4.el10_1 | RHSA-2025:23667 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfs-debugsourcex86_64 | Advisory build | 3.6.1-2.el10_0.1 | RHSA-2026:0224 |
| Red Hat Enterprise Linux | RHEL-10 | git-lfs-debugsourcex86_64 | Advisory build | 3.6.1-4.el10_1 | RHSA-2025:23667 |
| Red Hat Enterprise Linux | RHEL-10 | rubyaarch64 | Advisory build | 3.3.10-11.el10_0 | RHSA-2025:23927 |
| Red Hat Enterprise Linux | RHEL-10 | rubyppc64le | Advisory build | 3.3.10-11.el10_0 | RHSA-2025:23927 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| git-lfs | git-lfs | >= 0.5.2, < 3.7.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-59 CWE-59: Improper Link Resolution Before File Access ('Link Following')
References
7- https://github.com/git-lfs/git-lfs/commit/0cffe93176b870055c9dadbb3cc9a4a440e98396
- https://github.com/git-lfs/git-lfs/commit/5c11ffce9a4f095ff356bc781e2a031abb46c1a8
- https://github.com/git-lfs/git-lfs/commit/d02bd13f02ef76f6807581cd6b34709069cb3615
- https://github.com/git-lfs/git-lfs/releases/tag/v3.7.1
- https://github.com/git-lfs/git-lfs/security/advisories/GHSA-6pvw-g552-53c5
- https://lists.debian.org/debian-lts-announce/2026/05/msg00055.html
- https://lists.debian.org/debian-lts-announce/2026/10/msg00040.html
Provider assertions
3GitHub_M · cna
Git LFS may write to arbitrary files via crafted symlinks
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d2ea2906138dcf42c68418f059e529b218850981d112664e866c6cacfa5b35ba
- Ingested
- 21 Oct 2026, 10:16:54 UTC
- Source record
- Official CVE record