Command execution in Git LFS via crafted .lfsconfig keys
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Partial Red Hat: 1 fixed, 3 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
Git LFS from 1.3.0 through 2.13.3 and from 3.0.0 before 3.8.1 does not correctly filter the options it accepts from a repository's .lfsconfig file. Option keys with certain extra components can mimic options that set a custom transfer command (CWE-1286). A remote attacker needs a user to interact with a crafted repository, and the attacker-selected command then runs when Git LFS fetches objects.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| git-lfs | git-lfs | 1.3.0 – 2.13.3; 3.0.0 to before 3.8.1 | 3.8.1 | Patch available | CNA |
| — | github.com/git-lfs/git-lfs (Go) | 1.3.0 – 2.13.3 | — | No fix listed | GHSA-x72p-hmqp-46hw |
| — | github.com/git-lfs/git-lfs/v3 (Go) | 3.0.0 to before 3.8.1 | 3.8.1 | Patch available | GHSA-x72p-hmqp-46hw |
- git-lfs Vendorgit-lfs Affected 1.3.0 – 2.13.3; 3.0.0 to before 3.8.1 Fixed in 3.8.1 Patch available CNA
- github.com/git-lfs/git-lfs (Go) Vendor— Affected 1.3.0 – 2.13.3 Fixed in — No fix listed GHSA-x72p-hmqp-46hw
- github.com/git-lfs/git-lfs/v3 (Go) Vendor— Affected 3.0.0 to before 3.8.1 Fixed in 3.8.1 Patch available GHSA-x72p-hmqp-46hw
Remediation
Update git-lfs and github.com/git-lfs/git-lfs/v3 to 3.8.1. Red Hat Hardened Images is fixed by RHSA-2026:91645, released 2026-10-28. Red Hat Enterprise Linux 8, 9 and 10 are affected without a fix. The sources list no fixed version for github.com/git-lfs/git-lfs.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
- Fix · CNA git-lfs (git-lfs) Fixed in 3.8.1
- Fix · GHSA-x72p-hmqp-46hw github.com/git-lfs/git-lfs/v3 (Go) Fixed in 3.8.1 Advisory →
Red Hat 1 advisory
- RHSA-2026:91645 Released 2026-10-28 · Red Hat rating ImportantRed Hat Hardened Images RPMs Security Update
- Red Hat Hardened Images git-lfs-3.8.1-0.2.hum1@aarch64, git-lfs-3.8.1-0.2.hum1@s390x, git-lfs-3.8.1-0.2.hum1@src +1
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | — |
| Red Hat Enterprise Linux 8 | Affected | — |
| Red Hat Enterprise Linux 9 | Affected | — |
| Red Hat Hardened Images | Fixed | RHSA-2026:91645 |
Timeline
- 2026-11-19 Threatist record created from CVE-2026-105803
- 2026-11-19 CISA SSVC decision points changed
- 2026-11-20 Affected versions changed · Red Hat
- 2026-11-20 CVSS score added · Red Hat
- 2026-11-20 Alias added: GHSA-x72p-hmqp-46hw
- 2026-11-20 Fix available: Go/github.com/git-lfs/git-lfs/[email protected] · GHSA-x72p-hmqp-46hw
- 2026-11-20 CVSS score added · GHSA-x72p-hmqp-46hw
- 2026-11-20 Weakness changed · GHSA-x72p-hmqp-46hw
- 2026-11-20 10 new references · GHSA-x72p-hmqp-46hw
- 2026-11-21 EPSS moved to the 50th–90th percentile
- 2026-11-23 Fix available: RHSA-2026:91645 · Red Hat
- 2026-11-23 Fix available: Red Hat Hardened Images · Red Hat
- 2026-11-25 EPSS moved to the below the 50th percentile
- 2026-11-27 Affected versions changed · Red Hat
References
Other 9
- 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
- https://github.com/git-lfs/git-lfs
More git-lfs vulnerabilities
- TI-2025-19562 Git LFS may write to arbitrary files via crafted symlinks CVSS 4.0HIGH 8.6
- TI-2024-35726 Git LFS permits exfiltration of credentials via crafted HTTP URLs CVSS 4.0HIGH 8.5
- TI-2026-95003 Git LFS can run attacker commands through crafted Git configuration CVSS 4.0HIGH 8.6
- TI-2026-94996 OS command injection in Git LFS via crafted SSH URLs CVSS 4.0HIGH 7.6
- TI-2026-95001 Git LFS forwards cookies to other hosts after HTTP redirects CVSS 4.0HIGH 7.6
Sources
- CVE-2026-105803 · CVE Program
- CVE-2026-105803 · NVD
- FIRST EPSS
- GHSA-x72p-hmqp-46hw · GitHub Advisory Database · CC BY 4.0
- CVE-2026-105803 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences