CVE-2025-66413 Git for Windows leaks NTLM hash when cloning from an attacker-controlled server

High 7.4 Published Updated

Git for Windows leaks NTLM hashes when cloning from malicious servers, allowing attackers to brute-force credentials and take over accounts.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-66413?

CVE-2025-66413 is a high-severity vulnerability in git-for-windows git, published on 10 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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).

Weakness: CWE-307, CWE-200

Which versions are affected by CVE-2025-66413?

It affects 1 product.

Products include Gitforwindows Git.

How do I fix CVE-2025-66413?

Upgrade to a fixed version.

Is CVE-2025-66413 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-66413 exists.

Sources

Also known as GHSA-hv9c-4jm9-jh3x, OESA-2026-1660.

Is CVE-2025-66413 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free