NetSight
high8.6

CVE-2026-105802

Git LFS may execute arbitrary commands via crafted Git configurations

Impact

Git LFS is a Git extension for versioning large files. From 0.6.0 until 3.8.1, Git LFS reads Git configuration options defined for a submodule without checking certain values for embedded line-ending control characters. A malicious repository can insert control characters such as line feed (LF) into those values to mimic options that cause Git LFS to execute an attacker-controlled command or binary while fetching or adding objects. This issue is fixed in version 3.8.1.

An attacker can exploit this over the network, without logging in, but a user has to be involved, for example by viewing content. If it succeeds: high risk of data being read, high risk of data or systems being changed.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/git-lfs/git-lfs>= 0.6.0, <= 2.13.3none recorded
gogithub.com/git-lfs/git-lfs/v3>= 3.0.0, < 3.8.13.8.1

Affected products · Git-lfs

ProductAffected versions
Git-lfs
from 3.0.0, before 3.8.1
Versions >= 0.6.0, <= 2.13.3, 0.6.0, ≤ 2.13.3

Weakness classification

References