Git LFS may execute arbitrary commands via crafted Git LFS configurations
- CVE-2026-105803
- GHSA-x72p-hmqp-46hw
- BIT-git-lfs-2026-105803
- GO-2026-7022
- EUVD-2026-130399
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.
Text from the CVE.org record.
Recommendation
github.com/git-lfs/git-lfs/v3
- If you run a version from 3.0.0 to before 3.8.1update to 3.8.1 or laterMinor version change: check the release notesgithub.com/git-lfs/git-lfs/v3 3.8.1 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
git-lfs
Affected versions Fixed in >= 1.3.0, <= 2.13.3 none stated >= 3.0.0, < 3.8.1 none stated github.com/git-lfs/git-lfsGo
Affected versions Fixed in from 1.3.0 up to 2.13.3 none stated github.com/git-lfs/git-lfs/v3Go
Affected versions Fixed in from 3.0.0 to before 3.8.1 3.8.1
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.