Git is a revision control system. Prior to versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1, a specially crafted `.gitmodules` file with submodule URLs that are longer than 1024 characters can used to exploit a bug in `config.c::git_config_copy_or_rename_section_in_file()`. This bug can be used to inject arbitrary configuration into a user's `$GIT_DIR/config` when attempting to remove the configuration section associated with that submodule. When the attacker injects configuration values which specify executables to run (such as `core.pager`, `core.editor`, `core.sshCommand`, etc.) this can lead to a remote code execution. A fix A fix is available in versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1. As a workaround, avoid running `git submodule deinit` on untrusted repositories or without prior inspection of any submodule sections in `$GIT_DIR/config`.
Conclusion & alert: CVE-2023-29007 is rated Moderate Risk (52.3/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.62%). Mandatory action: Review affected assets and schedule remediation.
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-05-24 | 0.84% | 0.62% | -0.22% |
| 2 | 2026-05-13 | 0.69% | 0.84% | +0.15% |
| 3 | 2026-04-28 | — | 0.69% | — |
Full EPSS history (67 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.0 | 3.1 | HIGH |
|
1.0 | 5.9 | [email protected] |
| 7.8 | 3.1 | HIGH |
|
1.8 | 5.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2023-29007: 1 source package rows (git); 68 state rows across 7 repos (3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 7, open 61. | https://security.alpinelinux.org/vuln/CVE-2023-29007 |
debian
|
not yet assigned | CVE-2023-29007 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-2023-29007 |
gentoo
|
high | CVE-2023-29007: 1 GLSA(s) (202312-15), 1 atom(s) (dev-vcs/git); latest impact high. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2023-29007 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2023-29007 |
suse
|
high | CVE-2023-29007 severity important: SUSE including 163 source package names (1.20-openssl:git-core-2.35.3-150300.10.27.1, 1.21:git-core-2.35.3-150300.10.27.1, …), 522 product×package rows across 61 product lines (Container bci/golang, Container bci/nodejs, … (61 product lines)): Fixed 467, Known Not Affected 55. | https://www.suse.com/security/cve/CVE-2023-29007/ |
ubuntu
|
medium | CVE-2023-29007 medium priority: Ubuntu including 1 source packages (git), 8 status rows across 8 suites (bionic, focal, jammy, kinetic, lunar, trusty, upstream, xenial): released 6, ignored 1, needs-triage 1. | https://ubuntu.com/security/CVE-2023-29007 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| git-scm | git | < 2.30.9 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.31.0, < 2.31.8 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.32.0, < 2.32.7 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.33.0, < 2.33.8 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.34.0, < 2.34.8 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.35.0, < 2.35.8 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.36.0, < 2.36.5 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.37.0, < 2.37.7 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.38.0, < 2.38.5 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.39.0, < 2.39.3 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | 2.40.0 | cpe:2.3:a:git-scm:git:2.40.0:*:*:*:*:*:*:* |
| fedoraproject | fedora | 36 | cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |
| fedoraproject | fedora | 37 | cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* |
| fedoraproject | fedora | 38 | cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* |