Git-lfs
Git LFS may execute arbitrary commands via crafted Git configurations
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.6.0, <= 2.13.3
- >= 3.0.0, < 3.8.1
Fixed in 3.8.1
Mitigation
Upgrade git-lfs to 3.8.1 or later.
References
- Vendor advisory github.com/git-lfs/git-lfs/security/advisories…
- Patch github.com/git-lfs/git-lfs/commit/1b2672aaa290…
- Patch github.com/git-lfs/git-lfs/commit/39b73aa4db82…
1 more
- Release notes github.com/git-lfs/git-lfs/releases/tag/v3.8.1
Timeline
Days relative to CVE publicationFirst public PoC 1.1 days after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-105802 (created 20 Nov 2026, found by us: 20 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-105802 | 20 Nov 2026 +1.1 d | 20 Nov 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.