CVE-2026-105803: Git LFS may execute arbitrary commands via crafted Git LFS configurations
Published 2026-11-20 · Updated 2026-11-27 · Also known as BIT-git-lfs-2026-105803, GHSA-x72p-hmqp-46hw, GO-2026-7022
Summary
Git LFS fails to properly restrict configuration options in repository `.lfsconfig` files, allowing malicious repositories to execute arbitrary commands. All developers and administrators using affected versions of Git LFS should upgrade immediately.
Who is affected
Affected deployments include users of GitHub.com/git-lfs/git-lfs versions 1.3.0 through 2.13.3, and v3.x up to v3.8.0. An attacker can exploit this when a victim fetches objects from a malicious repository by leveraging key components that mimic custom object transfer command configurations.
Exploitability
The vulnerability has a CVSS 4.0 base score evaluated with network attack vector (AV:N), low attack complexity (AC:L), no attack requirements (AT:N), no privileges required (PR:N), and user interaction required (UI:P), resulting in high impacts to confidentiality and integrity (VC:H, VI:H). The EPSS score is 0.006 (433rd percentile), and it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade github.com/git-lfs/git-lfs or github.com/git-lfs/git-lfs/v3 to version 3.8.1.
- Avoid cloning repositories from untrusted sources.
How to check your project
- Check project dependencies and Go module manifests for github.com/git-lfs/git-lfs versions between 1.3.0 and 2.13.3, or v3.0.0 through v3.8.0.
- Inspect the version of the installed Git LFS binary by running 'git lfs --version'.
Automated analysis of the published advisory data, generated 2026-11-27. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | github.com/git-lfs/git-lfs |
>= 1.3.0, <= 2.13.3 | not published | - |
| Go | github.com/git-lfs/git-lfs |
>= 1.3.0 (no fix published) | not published | - |
| Go | github.com/git-lfs/git-lfs/v3 |
>= 3.0.0, < 3.8.1 | 3.8.1 | go get github.com/git-lfs/git-lfs/[email protected] |
CVSS 4.0 vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Attack requirements | None |
| Privileges required | None |
| User interaction | Passive |
| Confidentiality (vulnerable system) | High |
| Integrity (vulnerable system) | High |
| Availability (vulnerable system) | None |
| Confidentiality (subsequent systems) | None |
| Integrity (subsequent systems) | None |
| Availability (subsequent systems) | None |
Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.
FAQ
What causes the vulnerability in Git LFS?
Git LFS does not correctly filter configuration options defined in repository `.lfsconfig` files if their keys contain certain additional components, allowing attackers to mimic custom object transfer commands.
Which versions of Git LFS are affected?
All versions since 1.3.0 up to 2.13.3, and v3.x versions prior to 3.8.1, are affected.
Is there a workaround if I cannot upgrade immediately?
No single workaround exists other than disabling Git LFS entirely and avoiding the cloning of repositories from untrusted sources.
Original advisory description
References
- WEB https://github.com/git-lfs/git-lfs/security/advisories/GHSA-x72p-hmqp-46hw
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-105803
- WEB https://github.com/git-lfs/git-lfs/commit/1ecddd431e63c551ae11c153df0e07f37d2b44ef
- WEB https://github.com/git-lfs/git-lfs/commit/45c0c51c8a2d41a7d361b79f3d37f4fec46acc68
- WEB https://github.com/git-lfs/git-lfs/commit/5182fdeccb834ed887746a557d0c736013704f39
- WEB https://github.com/git-lfs/git-lfs/commit/62a727e7af1b0de0237c4d288ec0e977613df064
- WEB https://github.com/git-lfs/git-lfs/commit/c5b3bff4e863022057557ad4be2ce5b5922b1a84
- WEB https://github.com/git-lfs/git-lfs/commit/dcfb09ff56eec5825f3e95dbefbfdd520ec76d44
- PACKAGE https://github.com/git-lfs/git-lfs
- WEB https://github.com/git-lfs/git-lfs/releases/tag/v3.8.1
Source records: GHSA-x72p-hmqp-46hw, GO-2026-7022 (OSV.dev) · EPSS by FIRST, 2026-11-27.