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.
Conclusion & alert: CVE-2024-50349 is rated Low Risk (22.3/100): CVSS Low severity, with low exploitation likelihood (EPSS 0.64%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 2.78% | 0.64% | -2.14% |
| 2 | 2026-06-05 | 1.14% | 2.78% | +1.64% |
| 3 | 2026-05-25 | — | 1.14% | — |
Full EPSS history (18 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 2.1 | 4.0 | LOW |
|
— | — | [email protected] |
| 4.7 | 3.1 | MEDIUM |
|
2.8 | 1.4 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2024-50349: 1 source package rows (git); 84 state rows across 6 repos (3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 6, open 78. | https://security.alpinelinux.org/vuln/CVE-2024-50349 |
debian
|
not yet assigned | CVE-2024-50349 not yet assigned priority: Debian including 1 source packages (git), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2024-50349 |
redhat
|
low | — | https://access.redhat.com/security/cve/CVE-2024-50349 |
suse
|
medium | CVE-2024-50349 severity moderate: SUSE including 166 source package names (0.0.17-1.1:git-core-2.43.0-150600.3.9.1, 0.1.6-1.2:git-2.43.0-150600.3.9.1, …), 462 product×package rows across 101 product lines (Container bci/gcc, Container bci/golang, … (101 product lines)): Fixed 408, Known Not Affected 54. | https://www.suse.com/security/cve/CVE-2024-50349/ |
ubuntu
|
medium | CVE-2024-50349 medium priority: Ubuntu including 1 source packages (git), 9 status rows across 9 suites (bionic, focal, jammy, noble, oracular, plucky, questing, upstream, xenial): released 9. | https://ubuntu.com/security/CVE-2024-50349 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| git | git | < 2.40.4 | cpe:2.3:a:git:git:*:*:*:*:*:*:*:* |
| git | git | >= 2.41.0, < 2.41.3 | cpe:2.3:a:git:git:*:*:*:*:*:*:*:* |
| git | git | >= 2.42.0, < 2.42.4 | cpe:2.3:a:git:git:*:*:*:*:*:*:*:* |
| git | git | >= 2.43.0, < 2.43.6 | cpe:2.3:a:git:git:*:*:*:*:*:*:*:* |
| git | git | >= 2.44.3, < 2.44.3 | cpe:2.3:a:git:git:*:*:*:*:*:*:*:* |
| git | git | >= 2.45.3, < 2.45.3 | cpe:2.3:a:git:git:*:*:*:*:*:*:*:* |
| git | git | >= 2.46.3, < 2.46.3 | cpe:2.3:a:git:git:*:*:*:*:*:*:*:* |
| git | git | >= 2.47.0, < 2.47.2 | cpe:2.3:a:git:git:*:*:*:*:*:*:*:* |
| git | git | 2.48.0 | cpe:2.3:a:git:git:2.48.0:*:*:*:*:*:*:* |
| debian | debian_linux | 11.0 | cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/git/git/commit/7725b8100ffbbff2750ee4d61a0fcc1f53a086e8 | Patch |
| https://github.com/git/git/commit/c903985bf7e772e2d08275c1a95c8a55ab011577 | Patch |
| https://github.com/git/git/security/advisories/GHSA-hmg8-h7qf-7cxr | Patch Vendor Advisory |
| https://lists.debian.org/debian-lts-announce/2025/01/msg00025.html | Mailing List Third Party Advisory |