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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| git-lfs | git-lfs | >= 0.6.0, <= 2.13.3, >= 3.0.0, < 3.8.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | git-lfs | 3.8.1-1 | — |
| Debian 13 | git-lfs | No fix yet | — |
| Debian 12 | git-lfs | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | git-lfs | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | git-lfs | No fix yet | — |
| Ubuntu Pro 24.04 LTS | git-lfs | No fix yet | — |
| Ubuntu Pro 22.04 LTS | git-lfs | No fix yet | — |
| Ubuntu Pro 20.04 LTS | git-lfs | No fix yet | — |
| Ubuntu Pro 18.04 LTS | git-lfs | No fix yet | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.25 | git-lfs | 3.8.1-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | git-lfs | 3.8.1-1.amzn2023 | ALAS2023-2026-3526 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | git-lfs | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
googlesky/CVE-2026-105802 ★ 0 · Nov 20, 2026
Git LFS 0.6.0-3.8.0: LF embedded in a submodule config value forges an option under newline-split git config -l parsing, registering an attacker-chosen transfer binary (executed on fetch). Real pipel…
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/git-lfs/git-lfs | >= 0.6.0, <= 2.13.3 | — | GHSA-xrgv-7vx6-5vx6 |
| Go | github.com/git-lfs/git-lfs | >= 0.6.0 | — | GO-2026-7024 |
| Go | github.com/git-lfs/git-lfs/v3 | >= 3.0.0, < 3.8.1 | 3.8.1 | GHSA-xrgv-7vx6-5vx6 |
Advisories 1
- ALAS2023-2026-3526 Important: git-lfs security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Nov 25, 2026