Command Injection Vulnerability in Git LFS by Git
CVE-2026-105803
8.6HIGH
What is CVE-2026-105803?
Git LFS is a Git extension designed for versioning large files. An issue arises in versions from 1.3.0 to 3.8.1 where the application fails to properly filter the limited options permitted in a repository's .lfsconfig file. If certain crafted keys are used, they can mimic configurations to use custom commands for object transfers. This flaw permits the execution of attacker-selected commands or binaries during the fetching of objects, potentially compromising the integrity and security of the Git repository. The issue has been resolved in version 3.8.1, and users are strongly encouraged to update to this version to mitigate the risks.
Affected Version(s)
git-lfs >= 1.3.0, <= 2.13.3 <= 1.3.0, 2.13.3
git-lfs >= 3.0.0, < 3.8.1 < 3.0.0, 3.8.1
