Home / git / git / CVE-2022-39253
CVE-2022-39253: is it exploited, and which versions of git are affected and fixed?
CVE-2022-39253 is an information disclosure vulnerability in 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, 11:38 UTC). Affected: git < 2.30.6, git < 2.31.5, git < 2.32.4 and 5 more (CVE record by GitHub_M). Fixed in 2.30.6, 2.31.5, 2.32.4, 2.33.5 and 2 more (NVD). Severity: Medium (5.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:44 UTC.
What is CVE-2022-39253?
Git subject to exposure of sensitive information via local clone of symbolic links
Git is an open source, scalable, distributed revision control system. Versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 are subject to exposure of sensitive information to a malicious actor. When performing a local clone (where the source and target of the clone are on the same volume), Git copies the contents of the source's `$GIT_DIR/objects` directory into the destination by either creating hardlinks to the source contents, or copying them (if hardlinks are disabled via `--no-hardlinks`). A malicious actor could convince a victim to clone a repository with a symbolic link pointing at sensitive information on the victim's machine. This can be done either by having the victim clone a malicious repository on the same machine, or having them clone a malicious repository embedded as a bare repository via a submodule from any source, provided they clone with the `--recurse-submodules` option. Git does not create symbolic links in the `$GIT_DIR/objects` directory. The problem has been patched in the versions published on 2022-10-18, and backported to v2.30.x. Potential workarounds: Avoid cloning untrusted repositories using the `--local` optimization when on a shared machine, either by passing the `--no-local` option to `git clone` or cloning from a URL that uses the `file://` scheme. Alternatively, avoid cloning repositories from untrusted sources with `--recurse-submodules` or run `git config --global protocol.file.allow user`.
From the CVE record by GitHub_M, last updated August 3, 2024, 12:00 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| git | git | < 2.30.6 < 2.31.5 < 2.32.4 < 2.33.5 < 2.34.5 < 2.35.5 < 2.36.3 < 2.37.4 |
As the CVE record by GitHub_M states it, last updated August 3, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| git-scm | git | before 2.30.6 | application |
| git-scm | git | from 2.31.0 before 2.31.5 | application |
| git-scm | git | from 2.32.0 before 2.32.4 | application |
| git-scm | git | from 2.33.0 before 2.33.5 | application |
| git-scm | git | from 2.34.0 before 2.34.5 | application |
| git-scm | git | from 2.35.0 before 2.35.5 | application |
| git-scm | git | from 2.36.0 before 2.36.3 | application |
| git-scm | git | from 2.37.0 before 2.37.4 | application |
| git-scm | git | 2.38.0 | application |
| fedoraproject | fedora | 35 | operating system |
| fedoraproject | fedora | 36 | operating system |
| fedoraproject | fedora | 37 | operating system |
| apple | xcode | before 14.1 | application |
| debian | debian linux | 10.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 04:58 UTC.
How severe is CVE-2022-39253?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N | GitHub_M |
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/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-39253 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.48% probability of exploitation activity in the next 30 days, percentile 74.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- CWE-59 Improper Link Resolution Before File Access
Where are the vendor advisories and references?
- https://github.com/git/git/security/advisories/GHSA-3wp6-j8xr-qw85
- FEDORA-2022-12790ca71a vendor-advisory
- FEDORA-2022-8b58806840 vendor-advisory
- https://support.apple.com/kb/HT213496
- FEDORA-2022-53aadd995f vendor-advisory
- 20221107 APPLE-SA-2022-11-01-1 Xcode 14.1 mailing-list
- FEDORA-2022-2c33bba286 vendor-advisory
- FEDORA-2022-fb088df94c vendor-advisory
- [debian-lts-announce] 20221213 [SECURITY] [DLA 3239-1] git security update mailing-list
- [oss-security] 20230214 [Announce] Git 2.39.2 and friends mailing-list
- GLSA-202312-15 vendor-advisory
- [oss-security] 20240514 git: 5 vulnerabilities fixed mailing-list
When was it published, and where is the official record?
- Reserved
- September 2, 2022
- Published
- October 19, 2022, 00:00 UTC
- CVE record updated
- August 3, 2024, 12:00 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 04:58 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:44 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect git?
- Jul 8, 2025CVE-2025-48384 git: interpretation Conflict exploited
- Nov 16, 2026CVE-2026-111760 git: link following (a symlink lets an attacker reach other files)
- Nov 12, 2026CVE-2026-114467 Git: out-of-bounds write (memory corruption)
- Nov 12, 2026CVE-2026-114466 Git: insufficient Granularity of Access Control
- Nov 12, 2026CVE-2026-114469 Git: out-of-bounds read
- Nov 12, 2026CVE-2026-113408 Git: path traversal (reading or writing files outside the intended folder)
- Nov 10, 2026CVE-2026-105437 Git: heap buffer overflow
- Jul 8, 2025CVE-2025-48385 git: argument injection
Questions about CVE-2022-39253
Is CVE-2022-39253 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 1.48% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of git are affected by CVE-2022-39253?
git < 2.30.6, git < 2.31.5, git < 2.32.4, git < 2.33.5, git < 2.34.5, git < 2.35.5 and 2 more, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2022-39253?
2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5 and 2.35.5, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-39253?
Medium (5.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2022-39253?
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.