The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2020-11008

CVE-2020-11008: Git-scm Git Credential Disclosure Flaw

CVE-2020-11008 is an information disclosure vulnerability in Git-scm Git that allows attackers to steal credentials through malicious URLs. This article covers the technical details, affected versions, and mitigation steps.

Published: March 4, 2026

CVE-2020-11008 Overview

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, though 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.

Critical Impact

Attackers can steal stored Git credentials by exploiting improper URL validation in Git's credential helper system, potentially compromising access to private repositories and development infrastructure.

Affected Products

  • Git-scm Git (multiple versions)
  • Canonical Ubuntu Linux 16.04 LTS, 18.04 LTS, 19.10
  • Debian Linux 8.0
  • Fedora 31, 32

Discovery Timeline

  • April 21, 2020 - CVE-2020-11008 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2020-11008

Vulnerability Analysis

This vulnerability represents an improper input validation flaw (CWE-20) combined with insufficiently protected credentials (CWE-522). The root of the problem is in Git itself, which should not be feeding blank input to credential helpers. When Git processes a maliciously crafted URL lacking a proper scheme, it fails to properly reject the URL and instead passes a blank pattern to credential helpers.

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.

Credential helpers known to trigger the vulnerability include Git's "store" helper, Git's "cache" helper, and the "osxkeychain" helper that ships in Git's "contrib" directory. The Git Credential Manager for Windows is known to be safe even with vulnerable versions of Git.

Root Cause

The vulnerability stems from improper input validation in Git's URL parsing logic within the credential handling subsystem. When Git encounters a URL without a proper protocol scheme (e.g., ://), the original code would return 0 (success) rather than properly rejecting the malformed URL. This allowed URLs without schemes to pass validation and subsequently cause blank credential patterns to be sent to helper programs.

Attack Vector

The attack exploits Git's network-based URL handling capabilities. An attacker can craft a malicious URL that bypasses the protocol scheme validation, causing Git to send blank credential patterns to configured credential helpers. Since many helpers interpret blank patterns as matching any stored credential, they may return sensitive authentication data that gets transmitted to the attacker's server.

Attack vectors include:

  • Direct git clone commands with malicious URLs
  • Git submodules pointing to malicious repositories
  • Package management systems that automatically fetch Git repositories
  • CI/CD pipelines that clone untrusted repositories
c
// Security patch in credential.c - treats URL without scheme as invalid
// Source: https://github.com/git/git/commit/c44088ecc4b0722636e0a305f9608d3047197282

 	 *   (3) proto://<user>:<pass>@<host>/...
 	 */
 	proto_end = strstr(url, "://");
-	if (!proto_end)
-		return 0;
+	if (!proto_end) {
+		if (!quiet)
+			warning(_("url has no scheme: %s"), url);
+		return -1;
+	}
 	cp = proto_end + 3;
 	at = strchr(cp, '@');
 	colon = strchr(cp, ':');

Detection Methods for CVE-2020-11008

Indicators of Compromise

  • Unusual Git credential helper invocations with blank or missing hostname/protocol fields
  • Network connections from Git processes to unexpected external hosts
  • Log entries showing warnings about URLs with missing schemes
  • Credential helper logs indicating pattern matches against blank queries

Detection Strategies

  • Monitor Git process execution for suspicious URL patterns lacking protocol schemes
  • Implement network monitoring to detect Git credential data being sent to unauthorized external servers
  • Review Git submodule configurations in repositories for malformed or suspicious URLs
  • Audit CI/CD pipeline logs for anomalous Git clone operations

Monitoring Recommendations

  • Enable verbose Git logging to capture URL parsing warnings and credential helper interactions
  • Deploy endpoint detection to monitor Git executable behavior and network connections
  • Implement file integrity monitoring on credential helper configuration files
  • Establish baseline Git network behavior to detect anomalous credential transmissions

How to Mitigate CVE-2020-11008

Immediate Actions Required

  • Update Git to the latest patched version immediately across all development systems
  • Audit and rotate any credentials that may have been stored in vulnerable credential helpers
  • Review Git submodule configurations in all repositories for potentially malicious URLs
  • Consider temporarily disabling credential helpers until systems are patched

Patch Information

Git maintainers released a security patch addressing this vulnerability. The fix modifies the URL parsing logic in credential.c to properly reject URLs that lack a protocol scheme, returning -1 (failure) instead of 0 (success) and emitting a warning message. The patch is available in the Git Commit Update.

Additional security advisories and information are available from:

  • Git Security Advisory GHSA-hjc9-x69f-jqj7
  • Ubuntu Security Notice USN-4334-1
  • Apple Support Article

Workarounds

  • Use Git Credential Manager for Windows, which is known to be safe against this vulnerability
  • Avoid using the "store", "cache", or "osxkeychain" credential helpers until patched
  • Manually inspect all URLs before cloning, especially those from untrusted sources
  • Disable automatic submodule initialization and update with git config --global submodule.recurse false
bash
# Configuration to mitigate risk until patching
# Disable credential caching temporarily
git config --global --unset credential.helper

# Disable automatic submodule recursion
git config --global submodule.recurse false

# Check current Git version
git --version

# Update Git on Ubuntu/Debian
sudo apt-get update && sudo apt-get install git

# Update Git on Fedora
sudo dnf update git

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechGit

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability2.22%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-20

  • CWE-522
  • Technical References
  • openSUSE Security Announce

  • Full Disclosure Mailing List

  • Debian LTS Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Gentoo GLSA 202004-13

  • Apple Support Article

  • Ubuntu Security Notice USN-4334-1
  • Vendor Resources
  • Git Commit Update

  • Git Security Advisory GHSA-hjc9-x69f-jqj7

  • Git Security Advisory GHSA-qm7j-c969-7j4q
  • Related CVEs
  • CVE-2026-32631: Git for Windows NTLM Hash Disclosure Flaw

  • CVE-2025-66413: Git for Windows NTLM Hash Disclosure Flaw

  • CVE-2024-50349: Git Information Disclosure Vulnerability

  • CVE-2024-52006: Git Information Disclosure Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English