Home / Git-scm / Git / CVE-2022-24975
CVE-2022-24975: is it exploited, and which versions of Git-scm Git are affected and fixed?
CVE-2022-24975 is a resource exposed to the wrong sphere vulnerability in Git-scm Git. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: git through 2.35.1 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:51 UTC.
Disputed: a party (often the vendor) disputes that this is a vulnerability. The record is kept as published.
What is CVE-2022-24975?
The --mirror documentation for Git through 2.35.1 does not mention the availability of deleted content, aka the "GitBleed" issue. This could present a security risk if information-disclosure auditing processes rely on a clone operation without the --mirror option. Note: This has been disputed by multiple 3rd parties who believe this is an intended feature of the git binary and does not pose a security risk.
From the CVE record by mitre, last updated August 3, 2024, 04:29 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| git-scm | git | through 2.35.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:32 UTC.
How severe is CVE-2022-24975?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-24975 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.62% probability of exploitation activity in the next 30 days, percentile 85.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-668 Exposure of Resource to Wrong Sphere
Where are the vendor advisories and references?
- https://wwws.nightwatchcybersecurity.com/2022/02/11/gitbleed/
- https://github.com/git/git/blob/2dc94da3744bfbbf145eca587a0f5ff480cc5867/Documentation/git-clone.txt#L185-L191
- https://www.aquasec.com/blog/undetected-hard-code-secrets-expose-corporations/
- https://lore.kernel.org/git/xmqq4k14qe9g.fsf%40gitster.g/
When was it published, and where is the official record?
- Reserved
- February 11, 2022
- Published
- February 11, 2022, 00:00 UTC
- CVE record updated
- August 3, 2024, 04:29 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 04:32 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:51 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Git?
- Aug 31, 2021CVE-2021-40330 Git-scm Git: n/a
- Feb 12, 2020CVE-2014-9390 Git-scm Git: improper input validation
- Dec 10, 2019CVE-2019-19604 Git-scm Git: OS command injection
- Nov 23, 2018CVE-2018-19486 Git-scm Git: untrusted Search Path
- Oct 6, 2018CVE-2018-17456 Git-scm Git: argument injection
- May 30, 2018CVE-2018-11235 Debian Linux: path traversal (reading or writing files outside the intended folder)
- May 30, 2018CVE-2018-11233 Canonical Ubuntu Linux: out-of-bounds read
- Feb 9, 2018CVE-2018-1000021 Git-scm Git: improper input validation
Questions about CVE-2022-24975
Is CVE-2022-24975 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 2.62% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Git-scm Git are affected by CVE-2022-24975?
git through 2.35.1, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2022-24975?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2022-24975?
High (7.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2022-24975?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.