CVE-2020-27955
CriticalPublic exploitGit LFS can execute a Git binary from the current directory
Published Feb 11, 2022 · Updated Sep 8, 2026 · Also known as BIT-git-lfs-2020-27955, GHSA-4g4p-42wc-9f3m
Key Facts
Patch immediately- CVE-2020-27955 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Git Large File Storage (Git Large File Storage Project), git-lfs (bitnami), github.com/git-lfs/git-lfs (go).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 82% probability of exploitation in the next 30 days.
- Fixed versions are available, including git-lfs 2.12.1, git-lfs 3.2.0-1.ph4, git-lfs NA.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
82%
Higher than 99.6% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2020-27955 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
Git LFS 2.12.0 allows Remote Code Execution.
Affected Products
10 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Git Large File StorageGit Large File Storage Project | 2.12.0 | n/a |
| git-lfsbitnami | >= 2.12.0 | 2.12.1 |
| github.com/git-lfs/git-lfsgo | See advisory | 2.12.1 |
Patched Releases
git-lfs
2.12.1, 3.2.0-1.ph4, NA
github.com/git-lfs/git-lfs
2.12.1
Timeline
Publicly disclosed
Feb 11, 2022
Last updated
Sep 8, 2026
Weakness Type
- CWE-427 Uncontrolled Search Path Element
References
- advisoryGHSA advisory
- advisoryhttps://legalhackers.com
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2020-27955
- exploithttp://packetstormsecurity.com/files/159923/git-lfs-Remote-Code-Execution.html
- exploithttp://packetstormsecurity.com/files/164180/Git-git-lfs-Remote-Code-Execution.html
FAQ
Common Questions.
Git LFS 2.12.0 allows Remote Code Execution.
Affected: Git Large File Storage (Git Large File Storage Project) versions 2.12.0; git-lfs (bitnami) versions >= 2.12.0; github.com/git-lfs/git-lfs (go). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including git-lfs 2.12.1, git-lfs 3.2.0-1.ph4, git-lfs NA.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2020-27955 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo