CVE-2022-25900
CWE-88Published: July 1, 2022· Updated: Jun 17, 2026
Official Description
All versions of package git-clone are vulnerable to Command Injection due to insecure usage of the --upload-pack feature of git.
Risk Analysis
The git-clone package is vulnerable to command injection due to the insecure handling of the --upload-pack feature. This critical flaw allows attackers to execute arbitrary commands on the host system.
There is no public exploit known, and it is not in the KEV catalog. The vulnerability is remotely exploitable.
Update the git-clone package to a version that properly sanitizes inputs. Avoid using untrusted repositories with this tool.
Technical Analysis
CVE-2022-25900 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (4)
Quick Facts
Related CVEs (CWE-88)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2022-25900 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts