Git releases fix six security vulnerabilities, including code execution when cloning
New Git versions address six flaws, among them arbitrary code execution during cloning of a malicious repository.
Reported by GitHub Blog
First reported Summary updated
- Public PoC
- Not known
- Exploited
- Not known
- Severity
- Not rated
What happened
The Git project published new releases fixing six security vulnerabilities, covering code execution, unintended file writes and memory corruption.1
CVE-2026-111760 involves an integer truncation in index handling that lets an extremely long path pass validation under one name and be written under a shorter one, so a malicious server can replace a clone's .git file or directory.1
A second flaw concerns Git protocol v2: when cloning an empty repository, Git did not validate an advertised HEAD symref target, so a malicious server could supply path-traversal components.1
CVE-2026-114467 is a stack corruption issue when stripping GPG signatures, triggered by merging a tag with more than two signatures, and CVE-2026-114469 is an out-of-bounds read when applying crafted binary patches.1
CVE-2026-105437 is heap corruption during large merges, and CVE-2026-114466 covers filesystem access through fast-import streams via three features that lacked protection.1
Who is affected
- Git, fixed in 2.56.1, with backports to 2.55.1, 2.54.1, 2.53.1, 2.52.1, 2.51.3 and 2.50.21
- GitHub Enterprise Server, fixed in 3.19.16, 3.20.12, 3.21.10 and 3.22.51
Is there a public exploit?
Not known None of the sources mentions public exploit code yet.
Exploited in the wild?
Not known None of the sources reports attacks using it so far.
What to do
- Update to Git 2.56.1 or the patched release for your maintenance series, and update applications that bundle Git.1
- GitHub Enterprise Server administrators should upgrade as soon as possible.1
- Only enable --allow-unsafe-features for fast-import when you trust the program generating the stream.1
For bug hunters
This event centres on path handling and memory safety in a version control tool: index path validation, reference name validation and buffer sizing during merges and patch application. In bounty programmes, similar flaws appear wherever user-supplied repository data, patches or protocol responses are parsed by server-side tooling. Look for places where length checks are done on one representation and the value is used in another, and for parsers that trust declared sizes.
What to test
- Clone or fetch from a test server that advertises unusual symref targets and check where references are written
- Submit patches with declared uncompressed sizes far larger than the supplied data
- Merge tags carrying more than two signatures and watch for crashes
- Try fast-import streams using rewrite-submodules and export-pack-edges options
Written by bugbounty.wiki with AI from its source. Every statement above comes with a quote we checked against the source it cites (the numbers link to it); anything we could not check was left out. It can still be wrong, so read the coverage before relying on a detail.
Coverage
The article this story is based on. Each headline opens the outlet's own article.
-
1
GitHub Blog
Git security vulnerabilities announced