Git for Windows is a fork of Git containing Windows-specific patches. This vulnerability affects users working on multi-user machines, where untrusted parties have write access to the same hard disk. Those untrusted parties could create the folder `C:\.git`, which would be picked up by Git operations run supposedly outside a repository while searching for a Git directory. Git would then respect any config in said Git directory. Git Bash users who set `GIT_PS1_SHOWDIRTYSTATE` are vulnerable as well. Users who installed posh-gitare vulnerable simply by starting a PowerShell. Users of IDEs such as Visual Studio are vulnerable: simply creating a new project would already read and respect the config specified in `C:\.git\config`. Users of the Microsoft fork of Git are vulnerable simply by starting a Git Bash. The problem has been patched in Git for Windows v2.35.2. Users unable to upgrade may create the folder `.git` on all drives where Git commands are run, and remove read/write access from those folders as a workaround. Alternatively, define or extend `GIT_CEILING_DIRECTORIES` to cover the _parent_ directory of the user profile, e.g. `C:\Users` if the user profile is located in `C:\Users\my-user-name`.
Conclusion & alert: CVE-2022-24765 is rated Low Risk (38.3/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.19%). 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 | 2025-11-21 | 0.07% | 0.19% | +0.11% |
| 2 | 2025-11-18 | 0.20% | 0.07% | -0.12% |
| 3 | 2025-10-28 | — | 0.20% | — |
Full EPSS history (13 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.0 | 3.1 | MEDIUM |
|
0.8 | 5.2 | [email protected] |
| 7.8 | 3.1 | HIGH |
|
1.8 | 5.9 | [email protected] |
| 6.9 | 2.0 | MEDIUM |
|
3.4 | 10.0 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2022-24765: 3 source package rows (git, libgit2, libgit2-1.5); 15 state rows across 14 repos (3.17-community, 3.17-main, 3.18-community, 3.18-main, 3.19-community, 3.19-main, 3.20-community, 3.20-main, 3.21-community, 3.21-main, 3.22-community, 3.22-main, edge-community, edge-main); fixed 15, open 0. | https://security.alpinelinux.org/vuln/CVE-2022-24765 |
debian
|
not yet assigned | CVE-2022-24765 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-2022-24765 |
gentoo
|
high | CVE-2022-24765: 1 GLSA(s) (202312-15), 1 atom(s) (dev-vcs/git); latest impact high. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-24765 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2022-24765 |
suse
|
high | CVE-2022-24765 severity important: SUSE including 170 source package names (1.16-13.3:git-core-2.35.3-150300.10.12.1, 1.17-12.3:git-core-2.35.3-150300.10.12.1, …), 674 product×package rows across 73 product lines (Container bci/golang, Container bci/nodejs, … (73 product lines)): Fixed 674. | https://www.suse.com/security/cve/CVE-2022-24765/ |
ubuntu
|
medium | CVE-2022-24765 medium priority: Ubuntu including 1 source packages (git), 8 status rows across 8 suites (bionic, focal, impish, jammy, kinetic, lunar, upstream, xenial): released 6, needs-triage 1, not-affected 1. | https://ubuntu.com/security/CVE-2022-24765 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| git-scm | git | < 2.35.2 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| fedoraproject | fedora | 34 | cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
| fedoraproject | fedora | 35 | cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
| fedoraproject | fedora | 36 | cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |
| fedoraproject | fedora | 37 | cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* |
| apple | xcode | < 13.4 | cpe:2.3:a:apple:xcode:*:*:*:*:*:*:*:* |
| debian | debian_linux | 10.0 | cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |