CVEfocus › CVE database › CVE-2025-26625

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

CVSS 8.6 HighEPSS 1.1% (higher than 66% of CVEs)Published 2025-10-17Updated 2026-10-21Assigner: GitHub_M

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.

CWE-59

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Go, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

17Fixed
4Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10git-lfsFixed3.6.1-1ubuntu0.1UBUNTU-CVE-2025-26625
Ubuntu 24.04git-lfsFix pending3.4.1-1ubuntu0.3+esm2 (Ubuntu Pro)UBUNTU-CVE-2025-26625
Ubuntu 22.04git-lfsFix pendingUBUNTU-CVE-2025-26625
Ubuntu 20.04git-lfsFix pendingUBUNTU-CVE-2025-26625
Ubuntu 18.04git-lfsFix pendingUBUNTU-CVE-2025-26625
Debian 14git-lfsFixed3.7.1-1DEBIAN-CVE-2025-26625
Debian 13git-lfsFixed3.6.1-1+deb13u1DEBIAN-CVE-2025-26625
Debian 12git-lfsFixed3.3.0-1+deb12u2DEBIAN-CVE-2025-26625
Red Hat Enterprise Linux 10git-lfsFixed0:3.6.1-4.el10_1RHSA-2025:23667
Red Hat Enterprise Linux 9git-lfsFixed0:3.6.1-4.el9_7RHSA-2025:23744
Red Hat Enterprise Linux 8git-lfsFixed0:3.4.1-6.el8_10RHSA-2025:23745
AlmaLinux 10git-lfsFixed3.6.1-4.el10_1ALSA-2025:23667
AlmaLinux 9git-lfsFixed3.6.1-4.el9_7ALSA-2025:23744
AlmaLinux 8git-lfsFixed3.4.1-6.el8_10ALSA-2025:23745
Rocky Linux 10git-lfsFixed0:3.6.1-4.el10_1RLSA-2025:23667
Rocky Linux 9git-lfsFixed0:3.6.1-4.el9_7RLSA-2025:23744
Rocky Linux 8git-lfsFixed0:3.4.1-6.el8_10RLSA-2025:23745
Alpine Linux 3.24git-lfsFixed3.7.1-r0ALPINE-CVE-2025-26625
Alpine Linux 3.23git-lfsFixed3.7.1-r0ALPINE-CVE-2025-26625
Go librarygithub.com/git-lfs/git-lfsFixed3.7.1GHSA-6pvw-g552-53c5
Go librarygithub.com/git-lfs/git-lfs/v3Fixed3.7.1GO-2025-4038

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.