Git LFS may execute arbitrary commands via crafted Git configurations
- CVE-2026-105802
- GHSA-xrgv-7vx6-5vx6
- BIT-git-lfs-2026-105802
- GO-2026-7024
- EUVD-2026-130403
Description
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.
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 >= 0.6.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 0.6.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.