Git before 1.8.5.6, 1.9.x before 1.9.5, 2.0.x before 2.0.5, 2.1.x before 2.1.4, and 2.2.x before 2.2.1 on Windows and…
Fix:upgrade mercurial and org.eclipse.jgit Versions ↓
Git and several related tools on Windows and OS X (including Mercurial, libgit2, EGit and JGit, plus Apple Xcode and mine) mishandle a crafted .git/config file inside a repository tree when the filesystem is case-insensitive. A remote Git server able to serve such a tree can cause the client to execute arbitrary commands, using an ignorable Unicode codepoint, a git~1/config short-name representation, or mixed case to get the file written in a way the client does not properly check.
Official description · CVE.org
Git before 1.8.5.6, 1.9.x before 1.9.5, 2.0.x before 2.0.5, 2.1.x before 2.1.4, and 2.2.x before 2.2.1 on Windows and OS X; Mercurial before 3.2.3 on Windows and OS X; Apple Xcode before 6.2 beta 3; mine all versions before 08-12-2014; libgit2 all versions up to 0.21.2; Egit all versions before 08-12-2014; and JGit all versions before 08-12-2014 allow remote Git servers to execute arbitrary commands via a tree containing a crafted .git/config file with (1) an ignorable Unicode codepoint, (2) a git~1/config representation, or (3) mixed case that is improperly handled on a case-insensitive filesystem.
- Exploited
- Not confirmed
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
Public exploit code (Metasploit) was available 5 years before disclosure.
- Public exploit codeMetasploit5 yrs before
- Disclosedday 0
Am I affected? What do I upgrade to?
From GitHub Security Advisories and OSV2 packages in 2 ecosystems. No single main package: each of these ships the affected code.
- PyPImercurialAffected: All versions before 3.2.3Upgrade to 3.2.3 or later
- Mavenorg.eclipse.jgit:org.eclipse.jgitAffected: All versions before 3.5.3Upgrade to 3.5.3 or later
What security researchers reported
Not named in any threat report yetAlso mentioned in 1 community threat pulse (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.
- CVE Data16 Feb 2026