CVE-2020-27955
CRITICAL 9.8CVSS 3.1Git LFS can execute a Git binary from the current directory
Git LFS 2.12.0 allows Remote Code Execution.
- Published
- 5 Nov 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-427
- Also known as
- BIT-git-lfs-2020-27955GHSA-4g4p-42wc-9f3m
- Sources
- NVDJSONOSV GHSA-4g4p-42wc-9f3mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | git_large_file_storage_project | git_large_file_storagecpe:2.3:a:git_large_file_storage_project:git_large_file_storage:2.12.0:*:*:*:*:*:*:* |
= 2.12.0 | |
| OSV | Go | github.com/git-lfs/git-lfs | < 2.12.1 | 2.12.1 |
References
- http://packetstormsecurity.com/files/159923/git-lfs-Remote-Code-Execution.html · Exploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/164180/Git-git-lfs-Remote-Code-Execution.html · Exploit, Third Party Advisory, VDB Entry
- http://seclists.org/fulldisclosure/2020/Nov/1 · Exploit, Mailing List, Third Party Advisory, WEB
- https://exploitbox.io · Exploit, Third Party Advisory
- https://github.com/git-lfs/git-lfs/releases · Release Notes, Third Party Advisory, WEB
- https://legalhackers.com · Third Party Advisory
- https://legalhackers.com/advisories/Git-LFS-RCE-Exploit-CVE-2020-27955.html · Exploit, Third Party Advisory, WEB
- https://github.com/git-lfs/git-lfs/security/advisories/GHSA-4g4p-42wc-9f3m · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-27955 · ADVISORY
- https://github.com/git-lfs/git-lfs · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 5 Nov 2020)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 Feb 2022)