CVE-2026-105802
Git LFS may execute arbitrary commands via crafted Git configurations
High · 8.6Fix available
- CVSS
- 8.6
- EPSS
- 0.56% (p48)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-23
- Product
- git-lfs git-lfs
- Aliases
- GHSA-xrgv-7vx6-5vx6, GO-2026-7024
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
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.
Fixed in
3.8.1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Go | github.com/git-lfs/git-lfs | >= 0.6.0, <= 2.13.3 | — |
| Go | github.com/git-lfs/git-lfs/v3 | >= 3.0.0, < 3.8.1 | 3.8.1 |
| Go | github.com/git-lfs/git-lfs/v3 | >=3.0.0, <3.8.1 | 3.8.1 |
Sources
- NVD · first seen 15d ago · NVD terms of use
- OSV · first seen 15d ago · CC-BY 4.0
- GitHub Advisory Database · first seen 14d ago · CC-BY 4.0
- CVE List · first seen 15d ago · CVE Terms of Use
References
- https://github.com/git-lfs/git-lfs/security/advisories/GHSA-xrgv-7vx6-5vx6 x_refsource_CONFIRM
- https://github.com/git-lfs/git-lfs/commit/1b2672aaa29016e8004369df1406d2a73057f45f x_refsource_MISC
- https://github.com/git-lfs/git-lfs/commit/39b73aa4db821fea6f0da8320128e5e1b919942d x_refsource_MISC
- https://github.com/git-lfs/git-lfs/releases/tag/v3.8.1 x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105802.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-105802 advisory
- https://github.com/advisories/GHSA-xrgv-7vx6-5vx6 other
- https://github.com/git-lfs/git-lfs package