Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

Skip to content
Check your stack
CVE-2023-29007

Arbitrary configuration injection via git submodule deinit

Products / packages git

Published

Share

Severity and exploitation

Not in CISA KEV

KEV coverage does not rule out exploitation.

KEV checked 28/11/2026, 22:30:31 UTC
GitHub_M · CVSS:3.1 · 7
Assessment vectorCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Severity

high7.0

CVSS measures technical severity, not the likelihood of an attack.

Known exploitation

Not listed in the checked CISA KEV catalog

Absence from CISA KEV does not rule out attacks.

Public exploit

Not established by this record

Missing evidence does not mean no public exploit exists.

Remediation

Fix status not established

No structured fix or guidance is available here. Check the latest publisher advisory.

What this means

Git versions prior to 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 have a vulnerability that can be exploited with a specially crafted `.gitmodules` file. This can inject arbitrary configuration into a user's `$GIT_DIR/config`. The impact depends on the injected configuration values.

Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.

Attack conditions

No attack-condition excerpt has been identified here. Review the full source description and references for authentication, network access, and configuration requirements.

Review supporting sources →

Affected versions

Check the exact model, release, and any platform requirements against your installation.

git · GitHub_M

git

11 ranges

Compare with this publisher’s ranges. This does not inspect your installation.

affected

< 2.30.9

>= 2.31.0, < 2.31.8

>= 2.32.0, < 2.32.7

>= 2.33.0, < 2.33.8

>= 2.34.0, < 2.34.8

>= 2.35.0, < 2.35.8

>= 2.36.0, < 2.36.6

>= 2.37.0, < 2.37.7

>= 2.38.0, < 2.38.5

>= 2.39.0, < 2.39.3

>= 2.40.0, < 2.40.1

unaffected

unknown

Other versions: unknown

Automatic dependency matching is unavailable for this record. Use the product evidence and publisher’s instructions to check your installation.

What to do

Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.

No structured fix or remediation guidance is available here. Check the full source description and vendor’s latest advisory for a patch or workaround; do not assume another version is safe.

cve.new guidance unless attributed to a publisher. This page does not inspect your installation.

Public exploit evidence

No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.

Original source description

Read the full publisher description

Arbitrary configuration injection via `git submodule deinit`

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.

References

9 sources

Inside the record

Evidence available

Package identity · not supplied
Version evidence
Remediation guidance · not supplied
Weakness classification
Additional publishers

Describes the evidence in this view, not whether the product is safe.

Original records

CVE-2023-29007

View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.

cve.new JSON →

Underlying weaknesses

The source’s classification of what caused the vulnerability.

CWE-74 ↗

CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

GitHub_M

Related →
Contributing organizations · 3
GitHub_M

Assigning organization

2024-06-26
CVE

Additional data publisher

2025-11-04
CISA-ADP

Additional data publisher

2026-11-02

Timeline

All times UTC
  1. Advisory published

    Publication date supplied by the source.

  2. Source updated

    Latest modification date supplied by the source.

  3. Last imported by cve.new

    Latest catalog import, not the date we first saw this advisory.

What changed

Follow changes
No substantive changes have been recorded here yet. History starts when cve.new observes a change after tracking is enabled; earlier edits are not reconstructed.

Large field values are marked as truncated previews. Original source snapshots remain retained.

Recent advisories affecting the same package or the same recorded vendor and product. These are separate vulnerabilities, not additional evidence for this advisory.

high8.0
CVE-2026-111760

Git: Recursive clones are susceptible to Remote Code Execution

Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. Prior to 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, 2.55.1, and 2.56.1, an attacker-controlled repository hosted by the attacker rather than on a normal forge site can exploit git clone --recurse-submodules by causing Git to overwrite a submodule gitfile with a symbolic link. The symbolic link can point to a directory containing attacker-controlled Git configuration or hooks, allowing those hooks or configuration to execute code on the cloning user's system. The issue requires the recursive-submodule option, and users should avoid cloning repositories from untrusted sources. This issue is fixed in versions 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, 2.55.1, and 2.56.1.

No structured fix or guidance is available here. Check the latest publisher advisory.

Exploitation not established

git · git
low3.3
CVE-2026-114467

Out-of-bounds Write in Git

Out-of-bounds write possible in Git when git-merge(1) used on tag with more than two GPG signatures

Review the recorded instructions. Guidance may be a workaround rather than a fixed version.

Exploitation not established

Git · Git
medium4.4
CVE-2026-114466

Insufficient Granularity of Access Control in Git

Arbitrary data can be read or written through git-fast-import(1) and git-fast-export(1) features not marked unsafe

Review the recorded instructions. Guidance may be a workaround rather than a fixed version.

Exploitation not established

Git · Git
medium4.4
CVE-2026-114469

Out-of-bounds Read in Git

Out-of-bounds read can crash git-apply(1) when binary patch inflates to very large size

Review the recorded instructions. Guidance may be a workaround rather than a fixed version.

Exploitation not established

Git · Git
low3.3
CVE-2026-113408

Git: Path traversal

Path traversal in Git allows writing to arbitrary file via cloning and committing to bad repository

Review the recorded instructions. Guidance may be a workaround rather than a fixed version.

Exploitation not established

Git · Git
high7.5
CVE-2026-105437

Heap-based Buffer Overflow in Git

Affected versions of Git have a heap buffer overflow in the three-way merge code (xdiff), which an attacker can trigger through a repository they control.

Review the recorded instructions. Guidance may be a workaround rather than a fixed version.

Public exploit reference

Git · Git