CVE-2020-11008 in Canonical Ubuntu Linux and 3 more products
Affected versions of Git have a vulnerability whereby Git can be tricked into sending private credentials to a host controlled by an attacker. This bug is similar to CVE-2020-5260(GHSA-qm7j-c969-7j4q). The fix for that bug still left the door open for an exploit where _some_ credential is leaked (but the attacker ca...
Affects 4 products from 4 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, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 16.04 18.04 19.10 |
| Debian | Debian Linux | 8.0 |
| Fedoraproject | Fedora | 31 32 |
| Git-Scm | Git | < 2.17.5 ≥ 2.18.0, < 2.18.4 ≥ 2.19.0, < 2.19.5 ≥ 2.20.0, < 2.20.4 ≥ 2.21.0, < 2.21.3 ≥ 2.22.0, < 2.22.4+4 more≥ 2.23.0, < 2.23.3 ≥ 2.24.0, < 2.24.3 ≥ 2.25.0, < 2.25.4 ≥ 2.26.0, < 2.26.2 |
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
Affected versions of Git have a vulnerability whereby Git can be tricked into sending private credentials to a host controlled by an attacker. This bug is similar to CVE-2020-5260(GHSA-qm7j-c969-7j4q). The fix for that bug still left the door open for an exploit where _some_ credential is leaked (but the attacker cannot control which one). Git uses external "credential helper" programs to store and retrieve passwords or other credentials from secure storage provided by the operating system. Specially-crafted URLs that are considered illegal as of the recently published Git versions can cause Git to send a "blank" pattern to helpers, missing hostname and protocol fields. Many helpers will interpret this as matching _any_ URL, and will return some unspecified stored password, leaking the password to an attacker's server. The vulnerability can be triggered by feeding a malicious URL to `git clone`. However, the affected URLs look rather suspicious; the likely vector would be through systems which automatically clone URLs not visible to the user, such as Git submodules, or package systems built around Git. The root of the problem is in Git itself, which should not be feeding blank input to helpers. However, the ability to exploit the vulnerability in practice depends on which helpers are in use. Credential helpers which are known to trigger the vulnerability: - Git's "store" helper - Git's "cache" helper - the "osxkeychain" helper that ships in Git's "contrib" directory Credential helpers which are known to be safe even with vulnerable versions of Git: - Git Credential Manager for Windows Any helper not in this list should be assumed to trigger the vulnerability.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-11008 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-186387-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Published | 2020-04-21 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-20: Improper Input Validation
Software does not validate or incorrectly validates input, allowing attackers to craft data processed in unintended ways.
CWE-522: CWE-522
Related attack patterns (CAPEC)
CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters via CWE-20
CAPEC-7 Blind SQL Injection via CWE-20
CAPEC-8 Buffer Overflow in an API Call via CWE-20
CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-20
CAPEC-10 Buffer Overflow via Environment Variables via CWE-20
Show all 64
CAPEC-13 Subverting Environment Variable Values via CWE-20
CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-20
CAPEC-24 Filter Failure through Buffer Overflow via CWE-20
CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies via CWE-20
CAPEC-42 MIME Conversion via CWE-20
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-20
CAPEC-45 Buffer Overflow via Symbolic Links via CWE-20
CAPEC-46 Overflow Variables and Tags via CWE-20
CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-20
CAPEC-52 Embedding NULL Bytes via CWE-20
CAPEC-53 Postfix, Null Terminate, and Backslash via CWE-20
CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-20
CAPEC-67 String Format Overflow in syslog() via CWE-20
CAPEC-71 Using Unicode Encoding to Bypass Validation Logic via CWE-20
CAPEC-72 URL Encoding via CWE-20
CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-20
CAPEC-79 Using Slashes in Alternate Encoding via CWE-20
CAPEC-80 Using UTF-8 Encoding to Bypass Validation Logic via CWE-20
CAPEC-81 Web Server Logs Tampering via CWE-20
CAPEC-83 XPath Injection via CWE-20
CAPEC-85 AJAX Footprinting via CWE-20
CAPEC-101 Server Side Include (SSI) Injection via CWE-20
CAPEC-102 Session Sidejacking via CWE-522
CAPEC-108 Command Line Execution through SQL Injection via CWE-20
CAPEC-109 Object Relational Mapping Injection via CWE-20
CAPEC-110 SQL Injection through SOAP Parameter Tampering via CWE-20
CAPEC-120 Double Encoding via CWE-20
CAPEC-209 XSS Using MIME Type Mismatch via CWE-20
CAPEC-261 Fuzzing for garnering other adjacent user/sensitive data via CWE-20
CAPEC-474 Signature Spoofing by Key Theft via CWE-522
CAPEC-509 Kerberoasting via CWE-522
CAPEC-551 Modify Existing Service via CWE-522
CAPEC-561 Windows Admin Shares with Stolen Credentials via CWE-522
CAPEC-588 DOM-Based XSS via CWE-20
CAPEC-644 Use of Captured Hashes (Pass The Hash) via CWE-522
CAPEC-645 Use of Captured Tickets (Pass The Ticket) via CWE-522
CAPEC-23 File Content Injection via CWE-20
CAPEC-50 Password Recovery Exploitation via CWE-522
CAPEC-63 Cross-Site Scripting (XSS) via CWE-20
CAPEC-73 User-Controlled Filename via CWE-20
CAPEC-88 OS Command Injection via CWE-20
CAPEC-104 Cross Zone Scripting via CWE-20
CAPEC-135 Format String Injection via CWE-20
CAPEC-136 LDAP Injection via CWE-20
CAPEC-182 Flash Injection via CWE-20
CAPEC-230 Serialized Data with Nested Payloads via CWE-20
CAPEC-231 Oversized Serialized Data Payloads via CWE-20
CAPEC-250 XML Injection via CWE-20
CAPEC-267 Leverage Alternate Encoding via CWE-20
CAPEC-473 Signature Spoof via CWE-20
CAPEC-555 Remote Services with Stolen Credentials via CWE-522
CAPEC-600 Credential Stuffing via CWE-522
CAPEC-652 Use of Known Kerberos Credentials via CWE-522
CAPEC-653 Use of Known Operating System Credentials via CWE-522
CAPEC-664 Server Side Request Forgery via CWE-20
CAPEC-22 Exploiting Trust in Client via CWE-20
CAPEC-28 Fuzzing via CWE-20
CAPEC-153 Input Data Manipulation via CWE-20
CAPEC-560 Use of Known Domain Credentials via CWE-522
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2020-11008 affects certain versions of Git, allowing an attacker to trick Git into sending private credentials to a controlled host. This vulnerability is similar to CVE-2020-5260 but with a different exploit path.
An attacker can exploit this vulnerability by setting up a malicious Git server or by manipulating the environment in which Git is run, causing it to use a credential helper that sends credentials to an attacker-controlled host.
Questions
What is CVE-2020-11008?
CVE-2020-11008 affects certain versions of Git, allowing an attacker to trick Git into sending private credentials to a controlled host. This vulnerability is similar to CVE-2020-5260 but with a different exploit path.
What is the CVSS score for CVE-2020-11008?
CVE-2020-11008 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 3.5%.
Is CVE-2020-11008 actively exploited?
No confirmed active exploitation of CVE-2020-11008 as of 2026-09-25.
How do I remediate CVE-2020-11008?
Priority: HIGH.
What systems are affected by CVE-2020-11008?
CVE-2020-11008 affects Canonical Ubuntu Linux; Debian Debian Linux; Fedoraproject Fedora; Git-Scm 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":"Canonical","product":"Ubuntu 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.