Go
CVE-2026-105803
Git LFS may execute arbitrary commands via crafted Git LFS configurations
- Severity
- High
- Published
- 20 Nov 2026
- Last changed
- 20 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 3.8.1
- Exploit chance
- 0.6% in the next 30 daysHigher than 51% of CVEs. EPSS by FIRST, 24 Nov 2026
- Also known as
- GHSA-x72p-hmqp-46hw
- Sources
- OSV.dev and GitHub
Description
When fetching objects from a malicious repository, Git LFS may execute an arbitrary command or binary after failing to sufficiently restrict the set of configuration options defined in an .lfsconfig file in the repository.
Git LFS permits a limited set of configuration options to be defined in an .lfsconfig file at the root of a Git repository, but does not filter these options correctly if their keys contain certain additional components, which allows an attacker to mimic options that configure Git LFS to use a custom command to transfer objects. An attacker can then provide an arbitrary command which Git LFS will invoke when fetching objects.
Git LFS has resolved this issue by correctly restricting the configuration of custom object transfer commands to local Git configuration files.
Workarounds
No single workaround exists other than to disable Git LFS entirely. As far as possible, users and administrators should avoid cloning repositories from untrusted sources.
Affected software
| Software | Affected versions |
|---|---|
github.com/git-lfs/git-lfsGo · osv:Go:github.com/git-lfs/git-lfs |
|
github.com/git-lfs/git-lfs/v3Go · osv:Go:github.com/git-lfs/git-lfs/v3 |
|
About github.com/git-lfs/git-lfs
Vulnerabilities in github.com/git-lfs/git-lfs
- In our list
- 4
- Published in the last 12 months
- 4
- Critical, last 12 months
- 0
- High, last 12 months
- 4
- Known exploited
- 0
- CVE-2026-105802Git LFS may execute arbitrary commands via crafted Git configurationsHigh 20 Nov 2026
- CVE-2026-69261Git LFS may leak HTTP headers after redirectionsHigh 20 Nov 2026
- CVE-2026-69260Git LFS may attempt arbitrary remote commands via crafted SSH URLsHigh 20 Nov 2026
About github.com/git-lfs/git-lfs/v3
Vulnerabilities in github.com/git-lfs/git-lfs/v3
- In our list
- 4
- Published in the last 12 months
- 4
- Critical, last 12 months
- 0
- High, last 12 months
- 4
- Known exploited
- 0
- CVE-2026-105802Git LFS may execute arbitrary commands via crafted Git configurationsHigh 20 Nov 2026
- CVE-2026-69261Git LFS may leak HTTP headers after redirectionsHigh 20 Nov 2026
- CVE-2026-69260Git LFS may attempt arbitrary remote commands via crafted SSH URLsHigh 20 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-105803
- GitHub Advisory Database https://github.com/advisories/GHSA-x72p-hmqp-46hw