Lookup for vulnerable packages by Package URL.

Purlpkg:deb/debian/git-lfs@0?distro=trixie
Typedeb
Namespacedebian
Namegit-lfs
Version0
Qualifiers
distro trixie
Subpath
Is_vulnerablefalse
Next_non_vulnerable_version2.13.2-1+deb11u1
Latest_non_vulnerable_version3.7.1-1
Affected_by_vulnerabilities
Fixing_vulnerabilities
0
url VCID-9dw1-pfyv-67hq
vulnerability_id VCID-9dw1-pfyv-67hq
summary
Git LFS can execute a Git binary from the current directory
### Impact
On Windows, if Git LFS operates on a malicious repository with a `git.bat` or `git.exe` file in the current directory, that program would be executed, permitting the attacker to execute arbitrary code.  This does not affect Unix systems.

This occurs because on Windows, Go includes (and prefers) the current directory when the name of a command run does not contain a directory separator.

### Patches
This version should be patched in v2.12.1, which will be released in coordination with this security advisory.

### Workarounds
Other than avoiding untrusted repositories, there is no workaround.

### For more information
If you have any questions or comments about this advisory:
* Start a discussion in [the Git LFS discussion page](https://github.com/git-lfs/git-lfs/discussions).
* If you cannot open a discussion, please email the core team using their usernames at `github.com`.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2020-27955
reference_id
reference_type
scores
0
value 0.93606
scoring_system epss
scoring_elements 0.99836
published_at 2026-04-21T12:55:00Z
1
value 0.93606
scoring_system epss
scoring_elements 0.99834
published_at 2026-04-07T12:55:00Z
2
value 0.93606
scoring_system epss
scoring_elements 0.99835
published_at 2026-04-13T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2020-27955
1
reference_url http://seclists.org/fulldisclosure/2020/Nov/1
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url http://seclists.org/fulldisclosure/2020/Nov/1
2
reference_url https://github.com/git-lfs/git-lfs
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://github.com/git-lfs/git-lfs
3
reference_url https://github.com/git-lfs/git-lfs/releases
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://github.com/git-lfs/git-lfs/releases
4
reference_url https://github.com/git-lfs/git-lfs/security/advisories/GHSA-4g4p-42wc-9f3m
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://github.com/git-lfs/git-lfs/security/advisories/GHSA-4g4p-42wc-9f3m
5
reference_url https://legalhackers.com/advisories/Git-LFS-RCE-Exploit-CVE-2020-27955.html
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://legalhackers.com/advisories/Git-LFS-RCE-Exploit-CVE-2020-27955.html
6
reference_url https://nvd.nist.gov/vuln/detail/CVE-2020-27955
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2020-27955
fixed_packages
0
url pkg:deb/debian/git-lfs@0?distro=trixie
purl pkg:deb/debian/git-lfs@0?distro=trixie
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/git-lfs@0%3Fdistro=trixie
1
url pkg:deb/debian/git-lfs@2.13.2-1?distro=trixie
purl pkg:deb/debian/git-lfs@2.13.2-1?distro=trixie
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-3954-3k4u-xbhr
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/git-lfs@2.13.2-1%3Fdistro=trixie
2
url pkg:deb/debian/git-lfs@3.3.0-1%2Bdeb12u1?distro=trixie
purl pkg:deb/debian/git-lfs@3.3.0-1%2Bdeb12u1?distro=trixie
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-3954-3k4u-xbhr
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/git-lfs@3.3.0-1%252Bdeb12u1%3Fdistro=trixie
3
url pkg:deb/debian/git-lfs@3.6.1-1?distro=trixie
purl pkg:deb/debian/git-lfs@3.6.1-1?distro=trixie
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-3954-3k4u-xbhr
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/git-lfs@3.6.1-1%3Fdistro=trixie
4
url pkg:deb/debian/git-lfs@3.7.1-1?distro=trixie
purl pkg:deb/debian/git-lfs@3.7.1-1?distro=trixie
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/git-lfs@3.7.1-1%3Fdistro=trixie
aliases CVE-2020-27955, GHSA-4g4p-42wc-9f3m
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-9dw1-pfyv-67hq
1
url VCID-cnnc-st29-t3eh
vulnerability_id VCID-cnnc-st29-t3eh
summary
GitHub Git LFS Arbitrary command execution vulnerability
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
references
0
reference_url http://blog.recurity-labs.com/2017-08-10/scm-vulns
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url http://blog.recurity-labs.com/2017-08-10/scm-vulns
1
reference_url https://api.first.org/data/v1/epss?cve=CVE-2017-17831
reference_id
reference_type
scores
0
value 0.00724
scoring_system epss
scoring_elements 0.726
published_at 2026-04-18T12:55:00Z
1
value 0.00724
scoring_system epss
scoring_elements 0.72547
published_at 2026-04-13T12:55:00Z
2
value 0.00724
scoring_system epss
scoring_elements 0.72557
published_at 2026-04-12T12:55:00Z
3
value 0.00724
scoring_system epss
scoring_elements 0.72574
published_at 2026-04-11T12:55:00Z
4
value 0.00724
scoring_system epss
scoring_elements 0.72551
published_at 2026-04-09T12:55:00Z
5
value 0.00724
scoring_system epss
scoring_elements 0.72538
published_at 2026-04-08T12:55:00Z
6
value 0.00724
scoring_system epss
scoring_elements 0.72523
published_at 2026-04-04T12:55:00Z
7
value 0.00724
scoring_system epss
scoring_elements 0.72507
published_at 2026-04-02T12:55:00Z
8
value 0.00724
scoring_system epss
scoring_elements 0.725
published_at 2026-04-07T12:55:00Z
9
value 0.00724
scoring_system epss
scoring_elements 0.7259
published_at 2026-04-21T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2017-17831
2
reference_url https://confluence.atlassian.com/sourcetreekb/sourcetree-security-advisory-2018-01-24-942834324.html
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://confluence.atlassian.com/sourcetreekb/sourcetree-security-advisory-2018-01-24-942834324.html
3
reference_url https://github.com/git-lfs/git-lfs
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/git-lfs/git-lfs
4
reference_url https://github.com/git-lfs/git-lfs/commit/f913f5f9c7c6d1301785fdf9884a2942d59cdf19
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/git-lfs/git-lfs/commit/f913f5f9c7c6d1301785fdf9884a2942d59cdf19
5
reference_url https://github.com/git-lfs/git-lfs/pull/2241
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/git-lfs/git-lfs/pull/2241
6
reference_url https://github.com/git-lfs/git-lfs/pull/2242
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/git-lfs/git-lfs/pull/2242
7
reference_url https://github.com/git-lfs/git-lfs/releases/tag/v2.1.1
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/git-lfs/git-lfs/releases/tag/v2.1.1
8
reference_url https://nvd.nist.gov/vuln/detail/CVE-2017-17831
reference_id
reference_type
scores
0
value 6.8
scoring_system cvssv2
scoring_elements AV:N/AC:M/Au:N/C:P/I:P/A:P
1
value 8.8
scoring_system cvssv3
scoring_elements CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
2
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
3
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2017-17831
9
reference_url https://pkg.go.dev/vuln/GO-2021-0073
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://pkg.go.dev/vuln/GO-2021-0073
10
reference_url https://web.archive.org/web/20200227131639/http://www.securityfocus.com/bid/102926
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://web.archive.org/web/20200227131639/http://www.securityfocus.com/bid/102926
11
reference_url http://www.securityfocus.com/bid/102926
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url http://www.securityfocus.com/bid/102926
12
reference_url https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:git_large_file_storage_project:git_large_file_storage:*:*:*:*:*:*:*:*
reference_id cpe:2.3:a:git_large_file_storage_project:git_large_file_storage:*:*:*:*:*:*:*:*
reference_type
scores
url https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:git_large_file_storage_project:git_large_file_storage:*:*:*:*:*:*:*:*
fixed_packages
0
url pkg:deb/debian/git-lfs@0?distro=trixie
purl pkg:deb/debian/git-lfs@0?distro=trixie
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/git-lfs@0%3Fdistro=trixie
1
url pkg:deb/debian/git-lfs@2.13.2-1?distro=trixie
purl pkg:deb/debian/git-lfs@2.13.2-1?distro=trixie
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-3954-3k4u-xbhr
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/git-lfs@2.13.2-1%3Fdistro=trixie
2
url pkg:deb/debian/git-lfs@3.3.0-1%2Bdeb12u1?distro=trixie
purl pkg:deb/debian/git-lfs@3.3.0-1%2Bdeb12u1?distro=trixie
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-3954-3k4u-xbhr
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/git-lfs@3.3.0-1%252Bdeb12u1%3Fdistro=trixie
3
url pkg:deb/debian/git-lfs@3.6.1-1?distro=trixie
purl pkg:deb/debian/git-lfs@3.6.1-1?distro=trixie
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-3954-3k4u-xbhr
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/git-lfs@3.6.1-1%3Fdistro=trixie
4
url pkg:deb/debian/git-lfs@3.7.1-1?distro=trixie
purl pkg:deb/debian/git-lfs@3.7.1-1?distro=trixie
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/git-lfs@3.7.1-1%3Fdistro=trixie
aliases CVE-2017-17831, GHSA-w4xh-w33p-4v29
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-cnnc-st29-t3eh
2
url VCID-ej86-jpcj-hqav
vulnerability_id VCID-ej86-jpcj-hqav
summary
Git LFS can execute a Git binary from the current directory on Windows
### Impact
On Windows, if Git LFS operates on a malicious repository with a git.bat or git.exe file in the current directory, that program would be executed, permitting the attacker to execute arbitrary code. This does not affect Unix systems.

This is the result of an incomplete fix for CVE-2020-27955.

This issue occurs because on Windows, [Go includes (and prefers) the current directory when the name of a command run does not contain a directory separator](https://github.com/golang/go/issues/38736).

### Patches
This version should be patched in v2.13.2, which will be released in coordination with this security advisory.

### Workarounds
Other than avoiding untrusted repositories or using a different operating system, there is no workaround.

### References
_Are there any links users can visit to find out more?_

### For more information
If you have any questions or comments about this advisory:

- Start a discussion in [the Git LFS discussion page](https://github.com/git-lfs/git-lfs/discussions).
- If you cannot open a discussion, please email the core team using their usernames at `github.com`.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2021-21237
reference_id
reference_type
scores
0
value 0.00197
scoring_system epss
scoring_elements 0.4175
published_at 2026-04-02T12:55:00Z
1
value 0.00197
scoring_system epss
scoring_elements 0.41687
published_at 2026-04-21T12:55:00Z
2
value 0.00197
scoring_system epss
scoring_elements 0.41761
published_at 2026-04-18T12:55:00Z
3
value 0.00197
scoring_system epss
scoring_elements 0.41787
published_at 2026-04-16T12:55:00Z
4
value 0.00197
scoring_system epss
scoring_elements 0.4174
published_at 2026-04-13T12:55:00Z
5
value 0.00197
scoring_system epss
scoring_elements 0.41754
published_at 2026-04-12T12:55:00Z
6
value 0.00197
scoring_system epss
scoring_elements 0.41788
published_at 2026-04-11T12:55:00Z
7
value 0.00197
scoring_system epss
scoring_elements 0.41706
published_at 2026-04-07T12:55:00Z
8
value 0.00197
scoring_system epss
scoring_elements 0.41778
published_at 2026-04-04T12:55:00Z
9
value 0.00197
scoring_system epss
scoring_elements 0.41685
published_at 2026-04-01T12:55:00Z
10
value 0.00197
scoring_system epss
scoring_elements 0.41765
published_at 2026-04-09T12:55:00Z
11
value 0.00197
scoring_system epss
scoring_elements 0.41756
published_at 2026-04-08T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2021-21237
1
reference_url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27955
reference_id
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27955
2
reference_url https://github.com/git-lfs/git-lfs
reference_id
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/git-lfs/git-lfs
3
reference_url https://github.com/git-lfs/git-lfs/commit/fc664697ed2c2081ee9633010de0a7f9debea72a
reference_id
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/git-lfs/git-lfs/commit/fc664697ed2c2081ee9633010de0a7f9debea72a
4
reference_url https://github.com/git-lfs/git-lfs/releases/tag/v2.13.2
reference_id
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/git-lfs/git-lfs/releases/tag/v2.13.2
5
reference_url https://github.com/git-lfs/git-lfs/security/advisories/GHSA-cx3w-xqmc-84g5
reference_id
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/git-lfs/git-lfs/security/advisories/GHSA-cx3w-xqmc-84g5
6
reference_url https://nvd.nist.gov/vuln/detail/CVE-2021-21237
reference_id
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2021-21237
7
reference_url https://pkg.go.dev/vuln/GO-2021-0098
reference_id
reference_type
scores
0
value 7.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://pkg.go.dev/vuln/GO-2021-0098
8
reference_url https://security.archlinux.org/AVG-1458
reference_id AVG-1458
reference_type
scores
0
value High
scoring_system archlinux
scoring_elements
url https://security.archlinux.org/AVG-1458
fixed_packages
0
url pkg:deb/debian/git-lfs@0?distro=trixie
purl pkg:deb/debian/git-lfs@0?distro=trixie
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/git-lfs@0%3Fdistro=trixie
1
url pkg:deb/debian/git-lfs@2.13.2-1?distro=trixie
purl pkg:deb/debian/git-lfs@2.13.2-1?distro=trixie
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-3954-3k4u-xbhr
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/git-lfs@2.13.2-1%3Fdistro=trixie
2
url pkg:deb/debian/git-lfs@3.3.0-1%2Bdeb12u1?distro=trixie
purl pkg:deb/debian/git-lfs@3.3.0-1%2Bdeb12u1?distro=trixie
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-3954-3k4u-xbhr
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/git-lfs@3.3.0-1%252Bdeb12u1%3Fdistro=trixie
3
url pkg:deb/debian/git-lfs@3.6.1-1?distro=trixie
purl pkg:deb/debian/git-lfs@3.6.1-1?distro=trixie
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-3954-3k4u-xbhr
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/git-lfs@3.6.1-1%3Fdistro=trixie
4
url pkg:deb/debian/git-lfs@3.7.1-1?distro=trixie
purl pkg:deb/debian/git-lfs@3.7.1-1?distro=trixie
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/git-lfs@3.7.1-1%3Fdistro=trixie
aliases CVE-2021-21237, GHSA-cx3w-xqmc-84g5
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-ej86-jpcj-hqav
Risk_scorenull
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:deb/debian/git-lfs@0%3Fdistro=trixie