CVE-2023-22490: git-scm git Link Following
Vulnerability summary
CVE-2023-22490 is a medium (CVSS 5.5) Link Following vulnerability in git-scm git. EPSS estimates a 0.71% chance of exploitation in the next 30 days, higher than 52.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 11 · Related 7Timeline
- 14-02-2023PublishedVulnerability first disclosed.
- 08-10-2026Last modifiedVulnerability information updated.
Description
Git is a revision control system. Using a specially-crafted repository, Git prior to versions 2.39.2, 2.38.4, 2.37.6, 2.36.5, 2.35.7, 2.34.7, 2.33.7, 2.32.6, 2.31.7, and 2.30.8 can be tricked into using its local clone optimization even when using a non-local transport. Though Git will abort local clones whose source `$GIT_DIR/objects` directory contains symbolic links, the `objects` directory itself may still be a symbolic link. These two may be combined to include arbitrary files based on known paths on the victim's filesystem within the malicious repository's working copy, allowing for data exfiltration in a similar manner as CVE-2022-39253. A fix has been prepared and will appear in v2.39.2 v2.38.4 v2.37.6 v2.36.5 v2.35.7 v2.34.7 v2.33.7 v2.32.6, v2.31.7 and v2.30.8. If upgrading is impractical, two short-term workarounds are available. Avoid cloning repositories from untrusted sources with `--recurse-submodules`. Instead, consider cloning repositories without recursively cloning their submodules, and instead run `git submodule update` at each layer. Before doing so, inspect each new `.gitmodules` file to ensure that it does not contain suspicious module URLs.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · AlpineEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- OSV · WolfiEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.71%
Chance of exploitation in the next 30 days
Percentile
53%
Versus all other CVEs
30-day change
0.00 pp
From 0.71% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Alpine1 product
- git≥ 2.31.0, < 2.32.6-r0 | ≥ 2.31.0, < 2.34.7-r0 | ≥ 2.31.0, < 2.36.5-r0 | ≥ 2.31.0, < 2.38.4-r0 | ≥ 2.31.0, < 2.39.2-r0
Chainguard1 product
- git< 2.39.2-r1
Debian1 product
- git< 1:2.39.2-1
Git1 product
- git≥ 2.39.0, < 2.39.2 | ≥ 2.38.0, < 2.38.4 | ≥ 2.37.0, < 2.37.6 | ≥ 2.36.0, < 2.36.5 | ≥ 2.35.0, < 2.35.7 | ≥ 2.34.0, < 2.34.7 | ≥ 2.33.0, < 2.33.7 | ≥ 2.32.0, < 2.32.6 | ≥ 2.31.0, < 2.31.7 | < 2.30.8
Git-scm1 product
- git< 2.30.8 | ≥ 2.31.0, < 2.31.7 | ≥ 2.32.0, < 2.32.6 | ≥ 2.33.0, < 2.33.7 | ≥ 2.34.0, < 2.34.7 | ≥ 2.35.0, < 2.35.7 | ≥ 2.36.0, < 2.36.5 | ≥ 2.37.0, < 2.37.6 | ≥ 2.38.0, < 2.38.4 | ≥ 2.39.0, < 2.39.2
Ubuntu1 product
- git< 1:2.7.4-0ubuntu1.10+esm5 | < 1:2.17.1-1ubuntu0.16 | < 1:2.25.1-1ubuntu3.10 | < 1:2.34.1-1ubuntu1.8 | < 1:2.17.1-1ubuntu0.17
Wolfi1 product
- git< 2.39.2-r1
7 vendors · 7 products
References
13 links- github.com/git/git/security/advisories/GHSA-gw92-x3fm-3g3qX Refsource CONFIRMAdvisoryVendor Advisory