All vulnerabilities

Go

CVE-2026-105803

Git LFS may execute arbitrary commands via crafted Git LFS configurations

Severity
High
Published
20 Nov 2026
Last changed
20 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
3.8.1
Exploit chance
0.6% in the next 30 daysHigher than 51% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
CWE-1286CWE-777
Also known as
GHSA-x72p-hmqp-46hw
Sources
OSV.dev and GitHub

Description

When fetching objects from a malicious repository, Git LFS may execute an arbitrary command or binary after failing to sufficiently restrict the set of configuration options defined in an .lfsconfig file in the repository.

Git LFS permits a limited set of configuration options to be defined in an .lfsconfig file at the root of a Git repository, but does not filter these options correctly if their keys contain certain additional components, which allows an attacker to mimic options that configure Git LFS to use a custom command to transfer objects. An attacker can then provide an arbitrary command which Git LFS will invoke when fetching objects.

Git LFS has resolved this issue by correctly restricting the configuration of custom object transfer commands to local Git configuration files.

From the GitHub Advisory Database, CC BY 4.0.

Workarounds

No single workaround exists other than to disable Git LFS entirely. As far as possible, users and administrators should avoid cloning repositories from untrusted sources.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
github.com/git-lfs/git-lfsGo · osv:Go:github.com/git-lfs/git-lfs
  • From 1.3.0 up to 2.13.3
github.com/git-lfs/git-lfs/v3Go · osv:Go:github.com/git-lfs/git-lfs/v3
  • From 3.0.0 before 3.8.1

About github.com/git-lfs/git-lfs

Vulnerabilities in github.com/git-lfs/git-lfs

In our list
4
Published in the last 12 months
4
Critical, last 12 months
0
High, last 12 months
4
Known exploited
0
Search the list for github.com/git-lfs/git-lfs

About github.com/git-lfs/git-lfs/v3

Vulnerabilities in github.com/git-lfs/git-lfs/v3

In our list
4
Published in the last 12 months
4
Critical, last 12 months
0
High, last 12 months
4
Known exploited
0
Search the list for github.com/git-lfs/git-lfs/v3

References