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
Share

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

4
Analysis Updated
Apr 21, 2026 - 14:30 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Apr 21, 2026 - 14:22 vuln.today
cvss_changed
Analysis Generated
Mar 12, 2026 - 21:55 vuln.today
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).

AnalysisAI

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.

Technical ContextAI

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.

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.

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

Share

CVE-2025-66413 vulnerability details – vuln.today

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