CVE-2020-27955 in the critical feed json
Git LFS can execute a Git binary from the current directory
published 2020-11-05 6 y ago modified 2026-09-08 2 mo ago also BIT-git-lfs-2020-27955 , EUVD-2022-0812 , GHSA-4g4p-42wc-9f3m
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 82.3%
- EPSS 82.3% chance of exploitation in 30 days, percentile 99.6%
- public exploits
- 1
- Metasploit
Summary
Git LFS 2.12.0 allows Remote Code Execution.
Patch / fix
- go github.com/git-lfs/git-lfs 2.12.1
- bitnami git-lfs 2.12.1
Timeline
- First public exploit (Metasploit exploit/windows/http/git_lfs_rce)
- Published
Exploit prediction
82.32% chance of exploitation in the next 30 days, higher than 99.6% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit exploit/windows/http/git_lfs_rce Git Remote Code Execution via git-lfs (CVE-2020-27955) metasploit exploit, excellent rank, 2020-11-04
- exploitbox.io https://exploitbox.io referenced PoC, tagged "exploit" by a source, unverified
- legalhackers.com https://legalhackers.com/advisories/Git-LFS-RCE-Exploit-CVE-2020-27955.html referenced PoC, tagged "exploit" by a source, unverified
- seclists.org http://seclists.org/fulldisclosure/2020/Nov/1 referenced PoC, tagged "exploit" by a source, unverified
- packetstormsecurity.com http://packetstormsecurity.com/files/159923/git-lfs-Remote-Code-Execution.html referenced PoC, tagged "exploit" by a source, unverified
- packetstormsecurity.com http://packetstormsecurity.com/files/164180/Git-git-lfs-Remote-Code-Execution.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/git-lfs/git-lfs | <2.12.1 |
2.12.1 |
| bitnami | git-lfs | >=2.12.0, <2.12.1 |
2.12.1 |
Classification
- Weakness
-
- CWE-427 Uncontrolled Search Path Element
References
-
exploitbox.io
exploit, third-party-advisory, advisory
-
legalhackers.com
/advisories/Git-LFS-RCE-Exploit-CVE-2020-27955.html
web, exploit, third-party-advisory, advisory
-
seclists.org
/fulldisclosure/2020/Nov/1
mailing-list, web, exploit, third-party-advisory, advisory
-
packetstormsecurity.com
/files/159923/git-lfs-Remote-Code-Execution.html
exploit, third-party-advisory, vdb-entry, advisory
-
packetstormsecurity.com
/files/164180/Git-git-lfs-Remote-Code-Execution.html
exploit, third-party-advisory, vdb-entry, advisory
-
legalhackers.com
third-party-advisory, advisory
-
github.com
/git-lfs/git-lfs/releases
web, release-notes, third-party-advisory, advisory
-
github.com
/git-lfs/git-lfs/security/advisories/GHSA-4g4p-42wc-9f3m
web
-
nvd.nist.gov
/vuln/detail/CVE-2020-27955
advisory, web
-
github.com
/git-lfs/git-lfs
package
Sources
- CVE List CVE-2020-27955
- GitHub Advisory GHSA-4g4p-42wc-9f3m
- NVD CVE-2020-27955
- OSV BIT-git-lfs-2020-27955
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.