CVE-2022-24826: On Windows, if Git LFS operates on a malicious repository with a `..exe` file as well as a file named `git.exe
CVE-2022-24826 is a critical-severity flaw (CVSS 9.8) affecting git large file storage. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
On Windows, if Git LFS operates on a malicious repository with a `..exe` file as well as a file named `git.exe`, and `git.exe` is not found in `PATH`, the `..exe` program will be executed, permitting the attacker to execute arbitrary code. This does not affect Unix systems. Similarly, if the malicious repository contains files named `..exe` and `cygpath.exe`, and `cygpath.exe` is not found in `PATH`, the `..exe` program will be executed when cert
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 2.2% (top 17%) |
| CISA exploited list | No |
| Weakness | CWE-426 |
| Published | 2022-04-20 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-24826?
git large file storage: upgrade to 3.1.3. Exact commands for each OS are on this page.
Is CVE-2022-24826 being exploited?
CVE-2022-24826 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-24826 affect?
CVE-2022-24826 affects git large file storage. Severity is critical (CVSS 9.8). On Windows, if Git LFS operates on a malicious repository with a `..exe` file as well as a file named `git.exe`, and `git.exe` is not found in `PATH`, the `..exe` program will be executed, permitting the attacker to execute arbitrary code.
How urgent is CVE-2022-24826?
Priority 60/100. Critical severity; Remotely exploitable, no login, no user action
Software pages
Windows vulnerabilities · Git vulnerabilities
Related CVEs
- CVE-2021-21237 HIGH 7.2 UPGRADE Git LFS is a command line extension for managing large files with Git
- CVE-2020-27955 CRITICAL 9.8 DOWNGRADE Git LFS 2.12.0 allows Remote Code Execution.