SB2021011328 - Untrusted search path in git-lfs
Published: January 13, 2021 Updated: October 27, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Untrusted search path (CVE-ID: CVE-2021-21237)
CWE-ID: CWE-426 - Untrusted Search Path
CVSSv4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to execute arbitrary code on Windows.
The vulnerability exists due to an untrusted search path in Git LFS when locating the Git executable on Windows. A remote attacker can place a malicious Git executable in the current directory and induce a user to invoke Git LFS from that directory to execute arbitrary code with the user's privileges.
Remediation
Install update from vendor's website.