CVE-2024-52005

published 15 Jan 2025 · updated 3 Sep 2025

The sideband payload is passed unfiltered to the terminal in git

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

Git is a source code management tool. When cloning from a server (or fetching, or pushing), informational or error messages are transported from the remote Git process to the client via the so-called "sideband channel". These messages will be prefixed with "remote:" and printed directly to the standard error output. Typically, this standard error output is connected to a terminal that understands ANSI escape sequences, which Git did not protect against. Most modern terminals support control sequences that can be used by a malicious actor to hide and misrepresent information, or to mislead the user into executing untrusted scripts. As requested on the git-security mailing list, the patches are under discussion on the public mailing list. Users are advised to update as soon as possible. Users unable to upgrade should avoid recursive clones unless they are from trusted sources.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GitGit<=2.40.4, >=2.41.0 <=2.41.3, >=2.42.0 <=2.42.4, >=2.43.0 <=2.43.6, >=2.44.0 <=2.44.3, >=2.45.0 <=2.45.3, >=2.46.0 <=2.46.3, >=2.47.0 <=2.47.1, >=2.48.0 <=2.48.1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Git, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-52005 severity on Zeptric[![CVE-2024-52005](https://zeptric.io/badge/cve/CVE-2024-52005.svg)](https://zeptric.io/cve/CVE-2024-52005)