# CVE-2025-26625: Git LFS may write to arbitrary files via crafted symlinks

- Priority: **Routine**
- Reason: Not severe (CVSS 8.6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-10-17 · Modified: 2026-10-21
- Aliases: SUSE-SU-2026:3801-1, RHSA-2025:23667, RHSA-2025:23744, RHSA-2025:23745, RHSA-2026:0199, RHSA-2026:0203, RHSA-2026:0204, RHSA-2026:0224, RHSA-2026:0459, RHSA-2026:0460, RHSA-2026:0465, RHSA-2026:0472, UBUNTU-CVE-2025-26625, DEBIAN-CVE-2025-26625, GHSA-6pvw-g552-53c5, BIT-git-lfs-2025-26625, GO-2025-4038, openSUSE-SU-2025:15643-1, ALPINE-CVE-2025-26625, DLA-4610-1, DLA-4846-1
- Record: https://cvemate.com/vulnerability/CVE-2025-26625 · JSON: https://cvemate.com/vulnerability/CVE-2025-26625/json

## Description

```text
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.
```

## Signals

- CVSS: 8.6 high (v4.0, CVE.org) 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
- EPSS: 1.055%, percentile 65.516%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine git-lfs (Alpine Linux): \< 3.7.1-r0
- debian git-lfs (Debian): All versions (No fix recorded) \| \< 2.13.2-1+deb11u2 \| \< 3.3.0-1+deb12u2 \| \< 3.6.1-1+deb13u1 \| \< 3.7.1-1
- ubuntu git-lfs (Ubuntu): All versions (No fix recorded) \| \< 3.4.1-1ubuntu0.3+esm2 \| \< 3.6.1-1ubuntu0.1
- git-lfs git-lfs: ≥ 0.5.2, \< 3.7.1
- github.com/git-lfs git-lfs (Go): ≥ 0.5.2, \< 3.7.1 \| ≥ 0.5.2 (No fix recorded)
- github.com/git-lfs/git-lfs v3 (Go): \< 3.7.1
- opensuse git-lfs&distro=openSUSE Tumbleweed (openSUSE): \< 3.7.1-1.1
- redhat git-lfs (Red Hat): \< 0:3.6.1-4.el10\_1 \| \< 0:3.6.1-4.el9\_7 \| \< 0:3.4.1-6.el8\_10 \| \< 0:3.6.1-2.el9\_6.1 \| \< 0:3.2.0-2.el9\_2.4 \| \< 0:3.4.1-4.el9\_4.3 \| \< 0:3.6.1-2.el10\_0.1 \| \< 0:2.13.3-3.el8\_4.3 \| \< 0:3.2.0-2.el8\_8.5 \| \< 0:2.13.3-3.el8\_6.5 \| \< 0:2.13.3-5.el9\_0.5
- redhat git-lfs-debuginfo (Red Hat): \< 0:3.6.1-4.el10\_1 \| \< 0:3.6.1-4.el9\_7 \| \< 0:3.4.1-6.el8\_10 \| \< 0:3.6.1-2.el9\_6.1 \| \< 0:3.2.0-2.el9\_2.4 \| \< 0:3.4.1-4.el9\_4.3 \| \< 0:3.6.1-2.el10\_0.1 \| \< 0:2.13.3-3.el8\_4.3 \| \< 0:3.2.0-2.el8\_8.5 \| \< 0:2.13.3-3.el8\_6.5 \| \< 0:2.13.3-5.el9\_0.5
- redhat git-lfs-debugsource (Red Hat): \< 0:3.6.1-4.el10\_1 \| \< 0:3.6.1-4.el9\_7 \| \< 0:3.4.1-6.el8\_10 \| \< 0:3.6.1-2.el9\_6.1 \| \< 0:3.2.0-2.el9\_2.4 \| \< 0:3.4.1-4.el9\_4.3 \| \< 0:3.6.1-2.el10\_0.1 \| \< 0:2.13.3-3.el8\_4.3 \| \< 0:3.2.0-2.el8\_8.5 \| \< 0:2.13.3-3.el8\_6.5 \| \< 0:2.13.3-5.el9\_0.5
- suse git-lfs&distro=SUSE Linux Enterprise Module for Development Tools 15 SP7 (SUSE Linux Enterprise): \< 3.7.1-150600.13.6.1
- suse git-lfs&distro=SUSE Linux Enterprise Server 15 SP6-LTSS (SUSE Linux Enterprise): \< 3.7.1-150600.13.6.1
- suse git-lfs&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP6 (SUSE Linux Enterprise): \< 3.7.1-150600.13.6.1

## References (first 20 of 43)

- <https://github.com/git-lfs/git-lfs/security/advisories/GHSA-6pvw-g552-53c5>
- <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://lists.debian.org/debian-lts-announce/2026/05/msg00055.html>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20263801-1/>
- <https://bugzilla.suse.com/1252259>
- <https://www.suse.com/security/cve/CVE-2025-26625>
- <https://access.redhat.com/errata/RHSA-2025:23667>
- <https://access.redhat.com/security/updates/classification/#important>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2404720>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_23667.json>
- <https://access.redhat.com/security/cve/CVE-2025-26625>
- <https://www.cve.org/CVERecord?id=CVE-2025-26625>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-26625>
- <https://access.redhat.com/errata/RHSA-2025:23744>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_23744.json>
- <https://access.redhat.com/errata/RHSA-2025:23745>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_23745.json>

---

Data as of 2026-12-05T08:50:00.338Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
