Skip to main content
VulnerabilityPublished Updated

CVE-2025-26625: Git LFS is a Git extension for versioning large files

Affects git-lfsSource GCVE Database

0
Compare
Authoritative record:CVE-2025-26625· High 8.6

Not known to be exploited · CVSS 8.6 High · fixed in 3.4.1-1ubuntu0.3+esm2 : patch git-lfs soon.

Data as of 24 Nov 2026, 19:55 UTC

CVSS 4.0 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 3.4.1-1ubuntu0.3+esm2, 3.6.1-1ubuntu0.1
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade the Ubuntu git-lfs to 3.4.1-1ubuntu0.3+esm2 (package) or 3.6.1-1ubuntu0.1 (package).

Affected software

ProductAffectedFixed in
Ubuntu 25.10git-lfspkg:deb/ubuntu/git-lfs?arch=source&distro=questingOther threatsAffected
  • <3.6.1-1ubuntu0.1
Fixed in
  • 3.6.1-1ubuntu0.1
Ubuntu Pro 24.04 LTSgit-lfspkg:deb/ubuntu/git-lfs?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <3.4.1-1ubuntu0.3+esm2
Fixed in
  • 3.4.1-1ubuntu0.3+esm2
Ubuntu 22.04 LTSgit-lfspkg:deb/ubuntu/git-lfs?arch=source&distro=jammyOther threatsAffected
  • 2.13.2-1 – 3.0.2-1ubuntu0.3
5 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSgit-lfspkg:deb/ubuntu/git-lfs?arch=source&distro=esm-apps/focalOther threatsAffected
  • 2.8.0-4 – 2.9.2-1ubuntu0.1~esm2
5 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSgit-lfspkg:deb/ubuntu/git-lfs?arch=source&distro=esm-apps/bionicOther threatsAffected
  • 2.2.1-1 – 2.3.4-1ubuntu0.1~esm1
4 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…