Git LFS may write to arbitrary files via crafted symlinks
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| git-lfs | git-lfs | 0.5.2 to before 3.7.1 | 3.7.1 | Patch available | CNA |
| — | github.com/git-lfs/git-lfs (Go) | 0.5.2 to before 3.7.1 | 3.7.1 | Patch available | GHSA-6pvw-g552-53c5 |
- git-lfs Vendorgit-lfs Affected 0.5.2 to before 3.7.1 Fixed in 3.7.1 Patch available CNA
- github.com/git-lfs/git-lfs (Go) Vendor— Affected 0.5.2 to before 3.7.1 Fixed in 3.7.1 Patch available GHSA-6pvw-g552-53c5
Remediation
- Fix · CNA git-lfs (git-lfs) Fixed in 3.7.1
- Fix · GHSA-6pvw-g552-53c5 github.com/git-lfs/git-lfs (Go) Fixed in 3.7.1 Advisory →
Red Hat 13 advisories
- RHSA-2026:0472 Released 2026-01-12 · Red Hat rating Importantgit-lfs security update
- Red Hat Enterprise Linux AppStream E4S (v.9.0) git-lfs-2.13.3-5.el9_0.5
- RHSA-2026:0465 Released 2026-01-12 · Red Hat rating Importantgit-lfs security update
- Red Hat Enterprise Linux AppStream AUS (v.8.6) git-lfs-2.13.3-3.el8_6.5
- Red Hat Enterprise Linux AppStream E4S (v.8.6) git-lfs-2.13.3-3.el8_6.5
- Red Hat Enterprise Linux AppStream TUS (v.8.6) git-lfs-2.13.3-3.el8_6.5
- RHSA-2026:0459 Released 2026-01-12 · Red Hat rating Importantgit-lfs security update
- Red Hat Enterprise Linux AppStream AUS (v.8.4) git-lfs-2.13.3-3.el8_4.3
- Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) git-lfs-2.13.3-3.el8_4.3
Show 10 more Red Hat advisories
- RHSA-2026:0460 Released 2026-01-12 · Red Hat rating Importantgit-lfs security update
- Red Hat Enterprise Linux AppStream E4S (v.8.8) git-lfs-3.2.0-2.el8_8.5
- Red Hat Enterprise Linux AppStream TUS (v.8.8) git-lfs-3.2.0-2.el8_8.5
- RHSA-2026:0224 Released 2026-01-07 · Red Hat rating Importantgit-lfs security update
- Red Hat Enterprise Linux AppStream EUS (v. 10.0) git-lfs-3.6.1-2.el10_0.1
- RHSA-2026:0204 Released 2026-01-07 · Red Hat rating Importantgit-lfs security update
- Red Hat Enterprise Linux AppStream EUS (v.9.4) git-lfs-3.4.1-4.el9_4.3
- RHSA-2026:0203 Released 2026-01-07 · Red Hat rating Importantgit-lfs security update
- Red Hat Enterprise Linux AppStream E4S (v.9.2) git-lfs-3.2.0-2.el9_2.4
- RHSA-2026:0199 Released 2026-01-07 · Red Hat rating Importantgit-lfs security update
- Red Hat Enterprise Linux AppStream EUS (v.9.6) git-lfs-3.6.1-2.el9_6.1
- RHSA-2025:23927 Released 2025-12-22 · Red Hat rating Moderateruby security update
- Red Hat Enterprise Linux AppStream EUS (v. 10.0) ruby-3.3.10-11.el10_0, ruby-bundled-gems-3.3.10-11.el10_0, ruby-default-gems-3.3.10-11.el10_0 +20
- Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) ruby-doc-3.3.10-11.el10_0
- RHSA-2025:23744 Released 2025-12-22 · Red Hat rating Importantgit-lfs security update
- Red Hat Enterprise Linux AppStream (v. 9) git-lfs-3.6.1-4.el9_7
- RHSA-2025:23745 Released 2025-12-22 · Red Hat rating Importantgit-lfs security update
- Red Hat Enterprise Linux AppStream (v. 8) git-lfs-3.4.1-6.el8_10
- RHSA-2025:23667 Released 2025-12-18 · Red Hat rating Importantgit-lfs security update
- Red Hat Enterprise Linux AppStream (v. 10) git-lfs-3.6.1-4.el10_1
- RHSA-2025:23648 Released 2025-12-18 · Red Hat rating Moderateruby:3.3 security update
- Red Hat Enterprise Linux AppStream EUS (v.9.6) ruby-3.3.10-5.module+el9.6.0+23780+e40d2335.aarch64::ruby:3.3, ruby-3.3.10-5.module+el9.6.0+23780+e40d2335.i686::ruby:3.3, ruby-3.3.10-5.module+el9.6.0+23780+e40d2335.ppc64le::ruby:3.3 +47
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2025:23667 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2025:23745 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2025:23744 |
| Red Hat Enterprise Linux AppStream AUS (v.8.4) | Fixed | RHSA-2026:0459 |
| Red Hat Enterprise Linux AppStream AUS (v.8.6) | Fixed | RHSA-2026:0465 |
| Red Hat Enterprise Linux AppStream E4S (v.8.6) | Fixed | RHSA-2026:0465 |
| Red Hat Enterprise Linux AppStream E4S (v.8.8) | Fixed | RHSA-2026:0460 |
| Red Hat Enterprise Linux AppStream E4S (v.9.0) | Fixed | RHSA-2026:0472 |
| Red Hat Enterprise Linux AppStream E4S (v.9.2) | Fixed | RHSA-2026:0203 |
| Red Hat Enterprise Linux AppStream EUS (v. 10.0) | Fixed | RHSA-2025:23927, RHSA-2026:0224 |
| Red Hat Enterprise Linux AppStream EUS (v.9.4) | Fixed | RHSA-2026:0204 |
| Red Hat Enterprise Linux AppStream EUS (v.9.6) | Fixed | RHSA-2025:23648, RHSA-2026:0199 |
| Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) | Fixed | RHSA-2026:0459 |
| Red Hat Enterprise Linux AppStream TUS (v.8.6) | Fixed | RHSA-2026:0465 |
| Red Hat Enterprise Linux AppStream TUS (v.8.8) | Fixed | RHSA-2026:0460 |
| Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) | Fixed | RHSA-2025:23927 |
Timeline
- 2026-10-02 Threatist record created from CVE-2025-26625
- 2026-10-03 Alias added: GHSA-6pvw-g552-53c5
References
Other 8
- 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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-26625
- https://github.com/git-lfs/git-lfs
- https://lists.debian.org/debian-lts-announce/2026/05/msg00055.html
More git-lfs vulnerabilities
- TI-2024-35726 Git LFS permits exfiltration of credentials via crafted HTTP URLs CVSS 4.0HIGH 8.5
Sources
- CVE-2025-26625 · CVE Program
- CVE-2025-26625 · NVD
- FIRST EPSS
- GHSA-6pvw-g552-53c5 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-26625 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences