Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
8.6
CVE-2026-105803: Git LFS can run attacker commands via .lfsconfig
CVE-2026-105803 · published today
Summary
Git LFS versions 1.3.0 through 3.8.0 allow specially crafted settings in the .lfsconfig file to trigger any command the attacker chooses when files are downloaded. This could let an attacker run malicious code on your system during normal Git operations. Upgrade Git LFS to version 3.8.1 or later to stop the problem.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| git-lfs | git-lfs | >= 1.3.0, <= 2.13.3 |
Original advisory text
Git LFS may execute arbitrary commands via crafted Git LFS configurations
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.
References
- https://github.com/git-lfs/git-lfs/commit/1ecddd431e63c551ae11c153df0e07f37d2b44... x_refsource_MISC
- https://github.com/git-lfs/git-lfs/commit/45c0c51c8a2d41a7d361b79f3d37f4fec46acc... x_refsource_MISC
- https://github.com/git-lfs/git-lfs/security/advisories/GHSA-x72p-hmqp-46hw x_refsource_CONFIRM
- https://github.com/git-lfs/git-lfs/commit/5182fdeccb834ed887746a557d0c736013704f... x_refsource_MISC
- https://github.com/git-lfs/git-lfs/commit/62a727e7af1b0de0237c4d288ec0e977613df0... x_refsource_MISC
- https://github.com/git-lfs/git-lfs/commit/c5b3bff4e863022057557ad4be2ce5b5922b1a... x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-1058... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-105803 Vendor Advisory
- https://github.com/git-lfs/git-lfs/commit/dcfb09ff56eec5825f3e95dbefbfdd520ec76d... x_refsource_MISC
- https://github.com/git-lfs/git-lfs/releases/tag/v3.8.1 x_refsource_MISC
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker full control (estimated)
Type
CWE-777Regular Expression without Anchors
CWE-1286Improper Validation of Syntactic Correctness of Input
Timeline
Published19 Nov 2026
Updated19 Nov 2026
First seen19 Nov 2026
Sources
CVE-2026-105803 · NVD
CVE-2026-105803 · MITRE
CVE-2026-105803 · OSV
GHSA-x72p-hmqp-46hw · GHSA
Track software like this
Free during beta