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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| git-lfs | git-lfs | >= 1.3.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 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | git-lfs | 3.8.1-0.2.hum1 | RHSA-2026:91645 |
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-105803 ★ 0 · Nov 20, 2026
Git LFS 1.3.0-3.8.0: crafted .lfsconfig key lfs.customtransfer.evil.path.access passes the safe-key filter and the unanchored tq regex registers an attacker-chosen transfer binary (executed on fetch)…
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 | >= 1.3.0, <= 2.13.3 | — | GHSA-x72p-hmqp-46hw |
| Go | github.com/git-lfs/git-lfs | >= 1.3.0 | — | GO-2026-7022 |
| Go | github.com/git-lfs/git-lfs/v3 | >= 3.0.0, < 3.8.1 | 3.8.1 | GHSA-x72p-hmqp-46hw |
Advisories 2
- RHSA-2026:91645 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Dec 5, 2026
- ALAS2023-2026-3526 Important: git-lfs security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Nov 25, 2026
References
- https://github.com/git-lfs/git-lfs/security/advisories/GHSA-x72p-hmqp-46hw
- https://github.com/git-lfs/git-lfs/commit/1ecddd431e63c551ae11c153df0e07f37d2b44ef
- https://github.com/git-lfs/git-lfs/commit/45c0c51c8a2d41a7d361b79f3d37f4fec46acc68
- https://github.com/git-lfs/git-lfs/commit/5182fdeccb834ed887746a557d0c736013704f39
- https://github.com/git-lfs/git-lfs/commit/62a727e7af1b0de0237c4d288ec0e977613df064
- https://github.com/git-lfs/git-lfs/commit/c5b3bff4e863022057557ad4be2ce5b5922b1a84
- https://github.com/git-lfs/git-lfs/commit/dcfb09ff56eec5825f3e95dbefbfdd520ec76d44
- https://github.com/git-lfs/git-lfs/releases/tag/v3.8.1