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-105802: 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 0.6.0 until 3.8.1, Git LFS reads Git configuration options defined for a submodule without checking certain values for embedded line-ending control characters. A malicious repository can insert control characters such as line feed (LF) into those values to mimic options that cause Git LFS to execute an attacker-controlled command or binary while fetching or adding 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 >= 0.6.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 >= 0.6.0, <= 2.13.3; git-lfs git-lfs >= 3.0.0, < 3.8.1
| Product | Versions | Fixed in |
|---|---|---|
| github.com/git-lfs/git-lfs | >= 0.6.0, <= 2.13.3 | — |
| github.com/git-lfs/git-lfs/v3 | >= 3.0.0, < 3.8.1 | 3.8.1 |
| git-lfs git-lfs | >= 0.6.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-xrgv-7vx6-5vx6 — GHSA
- https://github.com/git-lfs/git-lfs/security/advisories/GHSA-xrgv-7vx6-5vx6 — GHSA
- https://nvd.nist.gov/vuln/detail/CVE-2026-105802 — GHSA
- https://github.com/git-lfs/git-lfs/commit/1b2672aaa29016e8004369df1406d2a73057f45f — GHSA
- https://github.com/git-lfs/git-lfs/commit/39b73aa4db821fea6f0da8320128e5e1b919942d — 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-144
Relevant change history
Published
Preliminary advisory published.