Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. When Git asks for credentials via a terminal prompt (i.e. without using any credential helper), it prints out the host name for which the user is expected to provide a username and/or a password. At this stage, any URL-encoded parts have been decoded already, and are printed verbatim. This allows attackers to craft URLs that contain ANSI escape sequences that the terminal interpret to confuse users e.g. into providing passwords for trusted Git hosting sites when in fact they are then sent to untrusted sites that are under the attacker's control. This issue has been patch via commits `7725b81` and `c903985` which are included in release versions v2.48.1, v2.47.2, v2.46.3, v2.45.3, v2.44.3, v2.43.6, v2.42.4, v2.41.3, and v2.40.4. Users are advised to upgrade. Users unable to upgrade should avoid cloning from untrusted URLs, especially recursive clones.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade git-subtreeUpgrade git-emailUpgrade perl-Git-SVNUpgrade git-svnUpgrade gitUpgrade git-credential-libsecretUpgrade gitkUpgrade git-coreUpgrade git-guiUpgrade gitwebUpgrade git-core-docUpgrade perl-GitUpgrade git-daemonUpgrade git-instawebUpgrade git-all | Jul 24, 2025 | Jan 14, 2025 |
| Alpine Linux | — | Upgrade git | Aug 8, 2025 | Jan 14, 2025 |
| Amazon Linux Ami 2 | — | Upgrade git-coreUpgrade git-daemonUpgrade git-instawebUpgrade git-svnUpgrade git-guiUpgrade gitwebUpgrade perl-GitUpgrade git-core-docUpgrade git-allUpgrade git-emailUpgrade git-debuginfoUpgrade git-subtreeUpgrade git-cvsUpgrade gitUpgrade perl-Git-SVNUpgrade gitkUpgrade git-credential-libsecretUpgrade git-p4 | Jan 27, 2025 | Jan 14, 2025 |
| Amazon_linux_2023 | — | Upgrade gitwebUpgrade git-coreUpgrade git-credential-libsecretUpgrade gitkUpgrade git-allUpgrade git-debugsourceUpgrade git-svnUpgrade gitUpgrade git-core-docUpgrade git-daemon-debuginfoUpgrade git-guiUpgrade git-instawebUpgrade git-p4Upgrade git-daemonUpgrade git-emailUpgrade git-cvsUpgrade perl-Git-SVNUpgrade git-credential-libsecret-debuginfoUpgrade perl-GitUpgrade git-debuginfoUpgrade git-subtreeUpgrade git-core-debuginfo | Feb 17, 2025 | Jan 14, 2025 |
| Debian | — | Upgrade git | Jan 30, 2025 | Jan 14, 2025 |
| Freebsd | — | Upgrade git-guiUpgrade git-svnUpgrade git-p4Upgrade git-cvsUpgrade git | Jan 16, 2025 | Jan 14, 2025 |
| Huawei Euleros 2_0_sp10 | — | Upgrade git-helpUpgrade git | Mar 18, 2025 | Jan 14, 2025 |
| Huawei Euleros 2_0_sp11 | — | Upgrade git-helpUpgrade git | Apr 11, 2025 | Jan 14, 2025 |
| Huawei Euleros 2_0_sp12 | — | Upgrade gitUpgrade git-coreUpgrade git-help | Mar 19, 2025 | Jan 14, 2025 |
| Huawei Euleros 2_0_sp13 | — | Upgrade git-coreUpgrade gitUpgrade git-help | Apr 1, 2025 | Jan 14, 2025 |
| Oracle_linux | — | Upgrade gitUpgrade git-svnUpgrade git-subtreeUpgrade git-allUpgrade gitwebUpgrade git-coreUpgrade git-daemonUpgrade perl-GitUpgrade gitkUpgrade git-emailUpgrade perl-Git-SVNUpgrade git-instawebUpgrade git-core-docUpgrade git-guiUpgrade git-credential-libsecret | Jul 23, 2025 | Jan 14, 2025 |
| Redhat_linux | — | Upgrade git-allUpgrade git-guiUpgrade git-daemon-debuginfoNo solution existsUpgrade git-instawebUpgrade git-core-debuginfoUpgrade gitwebUpgrade perl-GitUpgrade git-debugsourceUpgrade git-core-docUpgrade git-daemonUpgrade git-coreUpgrade perl-Git-SVNUpgrade gitUpgrade git-emailUpgrade gitkUpgrade git-svnUpgrade git-credential-libsecretUpgrade git-credential-libsecret-debuginfoUpgrade git-debuginfoUpgrade git-subtree | Jul 9, 2025 | Jan 14, 2025 |
| Rocky_linux | — | Upgrade git-credential-libsecretUpgrade git-coreUpgrade git-subtreeUpgrade git-debugsourceUpgrade git-daemon-debuginfoUpgrade gitUpgrade git-debuginfoUpgrade git-core-debuginfoUpgrade git-credential-libsecret-debuginfoUpgrade git-daemon | Feb 5, 2026 | Jul 29, 2025 |
| Ubuntu | — | Upgrade gitUpgrade git (Ubuntu Pro) | Jan 15, 2025 | Jan 14, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jul 2, 2025 | Jan 14, 2025 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub