CVE-2026-105803

Git LFS may execute arbitrary commands via crafted Git LFS configurations

High published · updated · also known as GHSA-X72P-HMQP-46HW

8.6
CVSS score out of 10 · NVD (github.com)

Description

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
github.com/git-lfs/git-lfs go >= 1.3.0, <= 2.13.3— GitHub
github.com/git-lfs/git-lfs/v3 go >= 3.0.0, < 3.8.13.8.1 GitHub

References