Git LFS may execute arbitrary commands via crafted Git LFS configurations
- State
- Published
- Severity
- 8.6 High
- Published
- Nov 19, 2026
- Updated
- Nov 19, 2026
- Reserved
- Oct 5, 2026
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.
| Product | Versions |
|---|---|
| git-lfs git-lfs | >= 1.3.0, <= 2.13.3 Affected>= 3.0.0, < 3.8.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.6 High | GitHub_M |
Weaknesses
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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.