Git LFS 2.12.0 allows Remote Code Execution.
- Published
- Nov 5, 2020
- Updated
- Jun 16, 2026
- EPSS
- 82.3% · 100th percentile
- CWE
- CWE-427
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
64
This week
Don’t wait for the next maintenance window.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 25 / 30 · 82.3%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| git large file storage project | git large file storage | cpe:2.3:a:git_large_file_storage_project:git_large_file_storage |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- git large file storage project git large file storage2.12.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Go | github.com/git-lfs/git-lfs | before 2.12.1 | 2.12.1 |
Same product
git large file storage project: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-17831GitHub Git LFS before 2.1.1 allows remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostn36Monitor
- CVE-2022-24826Git LFS can execute a binary from the current directory on Windows32Monitor
- CVE-2021-21237Git LFS can execute a Git binary from the current directory on Windows31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Go:github.com/git-lfs/git-lfs | 2.12.1 | Package registry (OSV) |
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Evidence
- Metasploit module ×1
- Proof-of-concept repository on GitHub ×18
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Metasploit module | exploit/windows/http/git_lfs_rceGit Remote Code Execution via git-lfs (CVE-2020-27955)exploit | 2020-11-04 |
| Proof-of-concept repository on GitHub | stars:30 | 2020-11-03 |
| Proof-of-concept repository on GitHub | stars:15 | 2020-11-04 |
| Proof-of-concept repository on GitHub | stars:0 | 2020-11-22 |
| Proof-of-concept repository on GitHub | stars:17 | 2020-11-24 |
| Proof-of-concept repository on GitHub | stars:1 | 2020-12-28 |
| Proof-of-concept repository on GitHub | stars:0 | 2021-03-30 |
| Proof-of-concept repository on GitHub | stars:1 | 2021-04-30 |
| Proof-of-concept repository on GitHub | stars:0 | 2021-04-30 |
| Proof-of-concept repository on GitHub | stars:0 | 2021-05-06 |
| Proof-of-concept repository on GitHub | stars:0 | 2021-05-13 |
| Proof-of-concept repository on GitHub | stars:0 | 2021-05-23 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- First PoC-2 d
- Metasploit-1 d
- Published
- TodaySep 29, 2026+2154 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-427 · Uncontrolled Search Path ElementCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
- Hijack Execution Flow:DLL search order hijackingT1574.001
- Hijack Execution Flow: Dylib HijackingT1574.004
- Hijack Execution Flow: Path Interception by PATH Environment VariableT1574.007
- Hijack Execution Flow: Path Interception by Search Order HijackingT1574.008
- Hijack Execution Flow: Path Interception by Unquoted PathT1574.009
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Vendor advisories and official records. Exploit/PoC links are deliberately left out.