GHSA-cx3w-xqmc-84g5 · Severity: high · Ecosystem: go — Git LFS can execute a Git binary from the current directory on Windows
Git LFS is a command line extension for managing large files with Git. 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 is the result of an incomplete fix for CVE-2020-27955. This issue occurs because on Windows, Go includes (and prefers) the current directory when the name of a command run does not contain a directory separator. Other than avoiding untrusted repositories or using a different operating system, there is no workaround. This is fixed in v2.13.2.
Conclusion & alert: CVE-2021-21237 is rated Moderate Risk (43.6/100): CVSS High severity, with low exploitation likelihood (EPSS 0.20%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-11-21 | 0.08% | 0.20% | +0.12% |
| 2 | 2025-11-18 | 0.20% | 0.08% | -0.12% |
| 3 | 2025-03-30 | — | 0.20% | — |
Full EPSS history (11 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.2 | 3.1 | HIGH |
|
0.8 | 5.8 | [email protected] |
| 7.8 | 3.1 | HIGH |
|
1.8 | 5.9 | [email protected] |
| 4.6 | 2.0 | MEDIUM |
|
3.9 | 6.4 | [email protected] |
GHSA-cx3w-xqmc-84g5 · Severity: high · Ecosystem: go — Git LFS can execute a Git binary from the current directory on Windows
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
unimportant | CVE-2021-21237 unimportant priority: Debian including 1 source packages (git-lfs), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2021-21237 |
ubuntu
|
medium | CVE-2021-21237 medium priority: Ubuntu including 1 source packages (git-lfs), 16 status rows across 16 suites (bionic, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 12, DNE 2, ignored 1, released 1. | https://ubuntu.com/security/CVE-2021-21237 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| git_large_file_storage_project | git_large_file_storage | < 2.13.2 | cpe:2.3:a:git_large_file_storage_project:git_large_file_storage:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27955 | Third Party Advisory |
| https://github.com/git-lfs/git-lfs/commit/fc664697ed2c2081ee9633010de0a7f9debea72a | Patch Third Party Advisory |
| https://github.com/git-lfs/git-lfs/releases/tag/v2.13.2 | Third Party Advisory |
| https://github.com/git-lfs/git-lfs/security/advisories/GHSA-cx3w-xqmc-84g5 | Third Party Advisory |