All reports
High

GitHub Git LFS Arbitrary command execution vulnerability

Affected versions

Version ranges need review.

Affected versions
<2.1.1-0.20170519163204-f913f5f9c7c6+incompatible
Fixed version
2.1.1-0.20170519163204-f913f5f9c7c6+incompatible
Affected versions
< 2.1.1-0.20170519163204-f913f5f9c7c6
Fixed version
2.1.1-0.20170519163204-f913f5f9c7c6

Exploitation

CVE-2017-17831

Probability of exploitation in the next 30 days: 3.68%

FIRST EPSS · 2026-11-23

Description

GitHub Git LFS before 2.1.1 allows remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, located on a url = line in a .lfsconfig file within a repository.

Specific Go Packages Affected

github.com/git-lfs/git-lfs/lfsapi

Links