Skip to main content

Git CVE-2025-66413

HIGH
Information Exposure (CWE-200)
2026-03-10 security-advisories@github.com
7.4
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Social engineer target developer
  2. Delivery
    Send malicious repository URL
  3. Exploit
    Victim clones repository
  4. Install
    Git processes UNC path reference
  5. C2
    Windows initiates NTLM authentication
  6. Execute
    Attacker captures credential hash
  7. Impact
    Offline password cracking
  8. Step 8
    Access victim's Windows account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK

2 techniques across 2 tactics: Collection, Discovery

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires the victim to execute a git clone, git fetch, or git pull command against a repository controlled or compromised by the attacker. The malicious repository must be configured to return Git references containing UNC paths that trigger NTLM authentication, which is a non-default server configuration requiring attacker setup. Vulnerability is specific to Git for Windows installations on Windows operating systems; Linux and macOS Git clients are not affected as they lack Windows NTLM automatic authentication behavior. Attack succeeds regardless of whether the victim has administrative privileges, as NTLM authentication occurs at the user level. Exploitation is limited by user interaction requirement (UI:R) - automated mass exploitation is not possible, and each compromise requires targeted social engineering to convince specific developers to clone from the malicious source. Network-level controls blocking outbound SMB traffic (TCP 445) or Group Policy restrictions on NTLM authentication to external servers can prevent exploitation even on unpatched systems.

Impact

CVSS 7.4 (High) reflects significant confidentiality impact (C:H) with changed scope (S:C), indicating credential theft affects resources beyond the vulnerable application. However, multiple factors moderate real-world risk: attack complexity is low (AC:L) but requires user interaction (UI:R) - victim must actively clone from attacker-controlled repository. EPSS probability of 0.03% (9th percentile) indicates this vulnerability pattern has very low observed exploitation rates in the wild, likely because it requires targeted social engineering rather than automated scanning. No CISA KEV listing and no public POC identified, suggesting exploitation remains theoretical or highly targeted. The attack is NOT automatable (requires convincing specific users to run git clone commands with malicious URLs), limiting scalability for mass exploitation. Primary risk is to organizations with Windows development environments where developers routinely clone from external repositories. Credential theft enables lateral movement and privilege escalation in Windows domains, elevating technical impact beyond the initial Git operation. Real-world priority depends on: (1) whether developers are trained to recognize suspicious repository URLs, (2) whether NTLM is disabled in favor of Kerberos, and (3) whether network segmentation limits damage from stolen credentials. Despite high CVSS, the UI:R requirement and low EPSS suggest this is elevated priority for high-security environments but not a critical-drop-everything patch for most organizations.

Exploit ScenarioDerived

An attacker sets up a malicious Git server that responds to clone requests with references containing UNC paths pointing to an attacker-controlled SMB server (e.g., \\attacker.com\share\repo). The attacker then uses social engineering (phishing email, fake open-source project, compromised documentation) to convince a Windows developer to execute 'git clone https://malicious-repo.com/project.git'. When Git for Windows processes the malicious references, Windows automatically attempts NTLM authentication to the attacker's SMB server, transmitting the user's hashed credentials. The attacker captures the NTLM hash using tools like Responder or Inveigh, then performs offline brute-force or relay attacks to recover the plaintext password. The stolen credentials enable the attacker to access the victim's Windows domain resources, email, VPN, or other enterprise systems. No public POC is confirmed, but the attack technique is well-documented in penetration testing literature.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Apr 21, 2026

Git for Windows versions prior to 2.53.0(2) leak NTLM credential hashes when users clone from malicious servers, enabling password cracking attacks. The vulnerability requires user interaction (cloning from attacker-controlled repository) but needs no authentication from the attacker. EPSS score of 0.03% suggests low probability of mass exploitation, and no evidence of active exploitation or public POC exists at time of analysis. However, the simplicity of the attack (social engineering a git clone operation) and the high confidentiality impact (user credential theft) make this a priority for Windows-based development environments.

Earlier versions of this analysis (1)
v1 Mar 12, 2026 - 21:55 CVSS 7.4

Git for Windows is the Windows port of Git. versions up to 2.53.0 is affected by information exposure (CVSS 7.4).

RemediationAI

Upgrade Git for Windows to version 2.53.0(2) or later immediately, available from the official release at https://github.com/git-for-windows/git/releases/tag/v2.53.0.windows.2. The patch prevents Git from automatically following UNC paths or SMB references that trigger NTLM authentication during clone operations. If immediate patching is not feasible, implement compensating controls: (1) Configure Windows Group Policy to disable NTLM authentication globally or restrict it to trusted servers only (EnableSecuritySignature and RestrictSendingNTLMTraffic policies), noting this may break legitimate SMB-based workflows. (2) Train developers to verify repository URLs before cloning and avoid cloning from untrusted sources or URLs containing UNC paths (backslash format or smb:// protocol). (3) Use Git credential managers with token-based authentication instead of Windows Integrated Authentication to prevent automatic credential transmission. (4) Monitor network traffic for outbound SMB connections (port 445) from developer workstations to unexpected external IPs, which may indicate exploitation attempts. Review the official security advisory at https://github.com/git-for-windows/git/security/advisories/GHSA-hv9c-4jm9-jh3x for additional context and detection guidance.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Git for Windows is the official Windows port of the Git version control system. This vulnerability exploits the Windows NTLM (NT LAN Manager) authentication protocol, which automatically attempts authentication when connecting to SMB shares or certain network resources. When Git for Windows processes a malicious repository URL or reference containing UNC paths (Universal Naming Convention paths pointing to SMB shares), Windows automatically initiates NTLM authentication, transmitting the user's hashed credentials to the attacker-controlled server. The underlying issue is classified as CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) because Git fails to sanitize or warn about network paths that trigger automatic credential transmission. NTLM uses weak cryptographic hashing (MD4-based for NTLMv1, challenge-response for NTLMv2) that is vulnerable to offline brute-force and rainbow table attacks, allowing attackers to recover plaintext passwords from captured hashes. The scope change (S:C) in the CVSS vector indicates the vulnerability affects resources beyond Git itself, specifically the Windows authentication subsystem and the user's domain or local account credentials.

Know when Git gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 7.4 HIGH
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Analysis Updated
Apr 21, 2026 - 14:30 vuln.today
v2 - CVSS changed
CVE Published
Mar 10, 2026 - 21:16 nvd
HIGH 7.4

DescriptionGitHub Advisory

Git for Windows is the Windows port of Git. Prior to 2.53.0(2), it is possible to obtain a user's NTLM hash by tricking them into cloning from a malicious server. Since NTLM hashing is weak, it is possible for the attacker to brute-force the user's account name and password. This vulnerability is fixed in 2.53.0(2).

Executive ViewAI

Why It Matters

Git for Windows versions before 2.53.0(2) expose NTLM credential hashes to malicious repository servers during clone operations, creating a credential theft risk for development teams. An attacker can harvest password hashes through social engineering without authentication, enabling offline cracking of user credentials and potential lateral movement within enterprise networks. Organizations with Windows-based developers are at immediate risk of credential compromise.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict git clone operations to approved internal repositories only via network egress controls or group policy; (2) Enforce multi-factor authentication for all developer accounts and critical systems to reduce lateral movement risk if credentials are compromised; (3) Deploy credential guard or similar OS-level protections to prevent NTLM hash extraction; (4) Conduct security awareness training on repository cloning risks and social engineering tactics; (5) Monitor for suspicious authentication patterns and implement credential spraying detection.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)GitHub Advisory

cpe:2.3:a:gitforwindows:git:*:*:*:*:*:*:*:*

More in Git

View all
CVE-2017-1000117 HIGH POC
8.8 Oct 05

A malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim, and an attempt to visit the URL ca

CVE-2017-8386 HIGH POC
8.8 Jun 01

git-shell in git before 2.4.12, 2.5.x before 2.5.6, 2.6.x before 2.6.7, 2.7.x before 2.7.5, 2.8.x before 2.8.5, 2.9.x be

CVE-2025-48384 HIGH
8.0 Jul 08

Git contains a CRLF injection vulnerability (CVE-2025-48384, CVSS 8.0) in its config handling that allows attackers to e

CVE-2018-17456 CRITICAL POC
9.8 Oct 06

Git before 2.14.5, 2.15.x before 2.15.3, 2.16.x before 2.16.5, 2.17.x before 2.17.2, 2.18.x before 2.18.1, and 2.19.x be

CVE-2015-7545 CRITICAL
9.8 Apr 13

The (1) git-remote-ext and (2) unspecified other remote helper programs in Git before 2.3.10, 2.4.x before 2.4.10, 2.5.x

CVE-2021-21300 HIGH POC
7.5 Mar 09

Git is an open-source distributed revision control system. Rated high severity (CVSS 7.5), this vulnerability is remotel

CVE-2016-2324 CRITICAL
9.8 Apr 08

Integer overflow in Git before 2.7.4 allows remote attackers to execute arbitrary code via a (1) long filename or (2) ma

CVE-2022-25648 CRITICAL POC
9.8 Apr 19

The package git before 1.11.0 are vulnerable to Command Injection via git argument injection. Rated critical severity (C

CVE-2016-2315 CRITICAL
9.8 Apr 08

revision.c in git before 2.7.4 uses an incorrect integer data type, which allows remote attackers to execute arbitrary c

CVE-2014-9938 HIGH POC
8.8 Mar 20

contrib/completion/git-prompt.sh in Git before 1.9.3 does not sanitize branch names in the PS1 variable, allowing a mali

CVE-2019-19604 HIGH POC
7.8 Dec 11

Arbitrary command execution is possible in Git before 2.20.2, 2.21.x before 2.21.1, 2.22.x before 2.22.2, 2.23.x before

CVE-2018-11235 HIGH POC
7.8 May 30

In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x before 2.17.1, remote

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy