Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-105803: high-severity vulnerability (CVSS 8.6) in git-lfs git-lfs.
What happened
Original description from the source: 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
High severity, CVSS 8.6.
Affected products and versions
github.com/git-lfs/git-lfs >= 1.3.0, <= 2.13.3; github.com/git-lfs/git-lfs/v3 >= 3.0.0, < 3.8.1 (fixed in 3.8.1); git-lfs git-lfs >= 1.3.0, <= 2.13.3; git-lfs git-lfs >= 3.0.0, < 3.8.1
| Product | Versions | Fixed in |
|---|---|---|
| github.com/git-lfs/git-lfs | >= 1.3.0, <= 2.13.3 | — |
| github.com/git-lfs/git-lfs/v3 | >= 3.0.0, < 3.8.1 | 3.8.1 |
| git-lfs git-lfs | >= 1.3.0, <= 2.13.3 | — |
| git-lfs git-lfs | >= 3.0.0, < 3.8.1 | — |
Action recommended by the source
Upgrade to a fixed version: 3.8.1.
Fixed in: 3.8.1
Sources and references
- https://github.com/advisories/GHSA-x72p-hmqp-46hw — GHSA
- https://github.com/git-lfs/git-lfs/security/advisories/GHSA-x72p-hmqp-46hw — GHSA
- https://nvd.nist.gov/vuln/detail/CVE-2026-105803 — GHSA
- https://github.com/git-lfs/git-lfs/commit/1ecddd431e63c551ae11c153df0e07f37d2b44ef — GHSA
- https://github.com/git-lfs/git-lfs/commit/45c0c51c8a2d41a7d361b79f3d37f4fec46acc68 — GHSA
- https://github.com/git-lfs/git-lfs/commit/5182fdeccb834ed887746a557d0c736013704f39 — GHSA
- https://github.com/git-lfs/git-lfs/commit/62a727e7af1b0de0237c4d288ec0e977613df064 — GHSA
- https://github.com/git-lfs/git-lfs/commit/c5b3bff4e863022057557ad4be2ce5b5922b1a84 — GHSA
- https://github.com/git-lfs/git-lfs/commit/dcfb09ff56eec5825f3e95dbefbfdd520ec76d44 — GHSA
- https://github.com/git-lfs/git-lfs/releases/tag/v3.8.1 — GHSA
- https://github.com/git-lfs/git-lfs — OSV
Weaknesses (CWE): CWE-777, CWE-1286
Relevant change history
Published
Preliminary advisory published.