Vulnerability
CVE-2025-26625
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.
41 advisories report this vulnerability, across 12 ecosystems.
Advisories
-
ALAS2023-2025-1258
Amazon Linux 2023 - ALAS2023-2025-1258: Important priority package update for git-lfs
-
ALPINE-CVE-2025-26625
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…
- ALPINE-EDGE-CVE-2025-26625
-
ALSA-2025:23667
Important: git-lfs security update
-
ALSA-2025:23744
Important: git-lfs security update
-
ALSA-2025:23745
Important: git-lfs security update
-
DEBIAN-CVE-2025-26625
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…
-
DLA-4610-1
git-lfs - security update
-
DLA-4846-1
git-lfs - security update
-
ELSA-2025-23667
ELSA-2025-23667: git-lfs security update (IMPORTANT)
-
ELSA-2025-23744
ELSA-2025-23744: git-lfs security update (IMPORTANT)
-
ELSA-2025-23745
ELSA-2025-23745: git-lfs security update (IMPORTANT)
-
GHSA-6pvw-g552-53c5
Git LFS may write to arbitrary files via crafted symlinks
-
GO-2025-4038
Git LFS may write to arbitrary files via crafted symlinks in github.com/git-lfs/git-lfs
-
OESA-2026-4067
git-lfs security update
-
OESA-2026-4068
git-lfs security update
-
OESA-2026-4069
git-lfs security update
-
RHSA-2025:23648
Red Hat Security Advisory: ruby:3.3 security update
-
RHSA-2025:23667
Red Hat Security Advisory: git-lfs security update
-
RHSA-2025:23744
Red Hat Security Advisory: git-lfs security update
-
RHSA-2025:23745
Red Hat Security Advisory: git-lfs security update
-
RHSA-2025:23927
Red Hat Security Advisory: ruby security update
-
RHSA-2026:0199
Red Hat Security Advisory: git-lfs security update
-
RHSA-2026:0203
Red Hat Security Advisory: git-lfs security update
-
RHSA-2026:0204
Red Hat Security Advisory: git-lfs security update
-
RHSA-2026:0224
Red Hat Security Advisory: git-lfs security update
-
RHSA-2026:0459
Red Hat Security Advisory: git-lfs security update
-
RHSA-2026:0460
Red Hat Security Advisory: git-lfs security update
-
RHSA-2026:0465
Red Hat Security Advisory: git-lfs security update
-
RHSA-2026:0472
Red Hat Security Advisory: git-lfs security update
-
RLSA-2025:23667
Important: git-lfs security update
-
RLSA-2025:23744
Important: git-lfs security update
-
RLSA-2025:23745
Important: git-lfs security update
-
SUSE-SU-2026:3801-1
Security update for git-lfs
-
SUSEVEX-CVE-2025-26625
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…
-
UBUNTU-CVE-2025-26625
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…
-
USN-7977-1
git-lfs vulnerabilities
-
openSUSE-SU-2025:15643-1
git-lfs-3.7.1-1.1 on GA media
-
openSUSE-SU-2025:15710-1
govulncheck-vulndb-0.0.20251105T184115-1.1 on GA media
-
openSUSE-SU-2026:21483-1
Security update for govulncheck-vulndb
-
openSUSE-SU-2026:21621-1
Security update for git-lfs
References
- 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