Blog
News, insights and stories from the THUX team.
Git patches six security flaws: urgent updates for clients and services
Git has released fixes for six vulnerabilities that could lead to code execution, out-of-bounds writes, and memory corruption. The update affects both clients and services that integrate Git.
The Git project has released new versions to fix six security vulnerabilities affecting very common operations in the development supply chain: recursive clones, reference handling, merges, binary patches and imports. The fixes are included in Git 2.56.1, with backports also available for several earlier maintenance branches. Among the reported issues are a case of code execution during the recursive clone of a malicious repository, the possibility of writing files to unexpected paths and several scenarios of memory corruption during merges or the application of specially crafted content.
The news matters because Git is not an isolated component: it lives inside developer workstations, automated pipelines, continuous integration services, managed environments and products that embed it directly. In this case, the exposed surface does not concern only those who use Git from the command line on their own computer, but also applications and platforms that process repositories on behalf of users. The source therefore also indicates possible impacts for hosting services, automations and tools that perform merges, read import streams or handle untrusted repositories. For this reason, the practical recommendation is not only to update the local client, but also to verify all dependencies that distribute their own copy of Git.
Looking more closely, one of the most delicate vulnerabilities concerns recursive cloning of repositories designed to replace internal metadata and reach code execution controlled by an attacker. Another concerns the way a malicious server can advertise a HEAD reference with path traversal components, opening the way to writes outside the intended directory under specific conditions. Other fixed flaws can cause stack or heap corruption during merges of hostile content, or out-of-bounds reads while applying compressed binary patches. Finally, Git better constrains some fast-import functions that could allow filesystem access outside the repository if fed untrusted input.
For technical teams and software vendors, the issue is not only the severity of the individual CVEs, but also the speed with which the affected environments must be identified. Workstations, runners, base images, appliances, desktop tools and any internal or third-party product that includes Git need to be checked. GitHub has stated that it has already deployed fixes across its cloud services and recommends updating server installations and applications that embed Git as well. If immediate updating is not possible, the same source suggests avoiding recursive clones from untrusted sources, merges of hostile content, suspicious binary patches and unverified import streams. For those who develop or buy custom software, this is the classic case in which a core dependency requires an immediate operational review across the entire delivery chain.
Source: GitHub Blog, 10 November 2026