CVE-2022-25648 in Debian Linux and 3 more products
The package git before 1.11.0 are vulnerable to Command Injection via git argument injection. When calling the fetch(remote = 'origin', opts = {}) function, the remote parameter is passed to the git fetch subcommand in a way that additional flags can be set. The additional flags can be used to perform a command injection.
Affects 4 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 10.0 |
| Fedoraproject | Fedora | 34 35 36 |
| Fedoraproject | Extra Packages For Enterprise Linux | 8.0 |
| Git | Git | < 1.11.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
The package git before 1.11.0 are vulnerable to Command Injection via git argument injection. When calling the fetch(remote = 'origin', opts = {}) function, the remote parameter is passed to the git fetch subcommand in a way that additional flags can be set. The additional flags can be used to perform a command injection.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-25648 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-069123-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-04-19 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-88: CWE-88
Related attack patterns (CAPEC)
CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads via CWE-88
CAPEC-174 Flash Parameter Injection via CWE-88
CAPEC-460 HTTP Parameter Pollution (HPP) via CWE-88
CAPEC-88 OS Command Injection via CWE-88
CAPEC-137 Parameter Injection via CWE-88
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
The package git before version 1.11.0 is vulnerable to Command Injection via git argument injection, allowing attackers to execute arbitrary commands on the system.
The vulnerability occurs when the fetch(remote = 'origin', opts = {}) function is called, and the remote parameter is passed to the git fetch subcommand in a way that additional flags can be set, enabling command injection.
Questions
What is CVE-2022-25648?
The package git before version 1.11.0 is vulnerable to Command Injection via git argument injection, allowing attackers to execute arbitrary commands on the system.
What is the CVSS score for CVE-2022-25648?
CVE-2022-25648 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 5.5%.
Is CVE-2022-25648 actively exploited?
No confirmed active exploitation of CVE-2022-25648 as of 2026-09-25.
How do I remediate CVE-2022-25648?
Priority: IMMEDIATE.
What systems are affected by CVE-2022-25648?
CVE-2022-25648 affects Debian Debian Linux; Fedoraproject Fedora, Extra Packages For Enterprise Linux; Git Git.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.