CVE-2026-105803
Git LFS may execute arbitrary commands via crafted Git LFS configurations
8.6
Description
Git LFS is a Git extension for versioning large files. From 1.3.0 until 3.8.1, Git LFS does not correctly filter the limited set of options permitted in a repository's .lfsconfig file when option keys contain certain additional components. Crafted keys can mimic options that configure Git LFS to use a custom command to transfer objects, causing Git LFS to execute an attacker-selected command or binary while fetching objects. This issue is fixed in version 3.8.1.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| github.com/git-lfs/git-lfs | go | >= 1.3.0, <= 2.13.3 | — | GitHub |
| github.com/git-lfs/git-lfs/v3 | go | >= 3.0.0, < 3.8.1 | 3.8.1 | GitHub |