THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-83vg-56qc-22m7 (high) — GitPython validates a submodule's ".git" path only after cloning into it (RCE)

[GHSA] GHSA-83vg-56qc-22m7 (high) — GitPython validates a submodule's ".git" path only after cloning into it (RCE)

medgithub_advisoriesPublished 2026-10-22

GHSA-83vg-56qc-22m7 Severity: high CVE: CVE-2026-114145

GitPython validates a submodule's ".git" path only after cloning into it (RCE)

### Summary

`create_submodule(name, path, url)` clones a submodule into the repo's own `.git` directory before it rejects the path. A `path` of ".git/hooks" is accepted by the pre-clone check, so the submodule is cloned straight into the live hooks directory, a

Indicators of compromise

Original source: https://github.com/advisories/GHSA-83vg-56qc-22m7