CVE-2020-27955
highpriority · attend · 78EPSS 0.823 · 100 %ileexploit · weaponizedDEEUUSEPSS · scored 2026-10-26
Git LFS 2.12.0 allows Remote Code Execution.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 9.8–10
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (19)
Public proof-of-concept and weaponised exploit code.
- exploit/windows/http/git_lfs_rceGit Remote Code Execution via git-lfs (CVE-2020-27955)weaponized · metasploit
- Arnoldqqq/CVE-2020-27955Arnoldqqq/CVE-2020-27955PoC · poc_in_github
- DeeLMind/CVE-2020-27955-LFSDeeLMind/CVE-2020-27955-LFSPoC · poc_in_github
- FrostsaberX/CVE-2020-27955Git-LFS RCE TestPoC · poc_in_github
affected products (8)
Products and version ranges known to be affected.
- git large file storage project git large file storage= 2.12.0nvdUScpe:2.3:a:git_large_file_storage_project:git_large_file_storage:*:*:*:*:*:*:*:*
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2022-1197git: Schwachstelle ermöglicht CodeausführungDeutsch2021-05-13csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in git ausnutzen, um beliebigen Programmcode auszuführen.
- GHSA-4g4p-42wc-9f3mGit LFS can execute a Git binary from the current directory2022-02-11ghsa · osvUS
### 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`.
- BIT-git-lfs-2020-279552024-03-06vendor · osvUS
Git LFS 2.12.0 allows Remote Code Execution.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (22)
External citations — patches, advisories, analysis.
- http://seclists.org/fulldisclosure/2020/Nov/1cnnvd
- https://exploitbox.iocnnvd
- https://github.com/git-lfs/git-lfs/releasescnnvd
- https://legalhackers.com/advisories/Git-LFS-RCE-Exploit-CVE-2020-27955.htmlcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-27955cnnvd
- https://packetstormsecurity.com/files/159923/git-lfs-Remote-Code-Execution.htmlcnnvd
- https://packetstormsecurity.com/files/164180/Git-git-lfs-Remote-Code-Execution.htmlcnnvd
- https://www.cybersecurity-help.cz/vdb/SB2022042625cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan