Advisory record · GHSA-83vg-56qc-22m7

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

CVSS 7.5 HighEPSS 0.0042 · 36th percentile

Published by the GitHub Advisory Database at 22 Oct 2026, 16:41 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
gitpythonPyPI<3.2.13.2.1
Identifiers
GHSA-83vg-56qc-22m7 · CVE-2026-114145
Weakness (CWE)
CWE-696
Published
22 Oct 2026
Updated
22 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

GitPython versions before 3.2.1 are vulnerable when an application passes an attacker-influenced submodule path to create_submodule. A path of ".git/hooks" causes the submodule to be cloned into the repository's hooks directory before the path is rejected, so an attacker-supplied post-checkout hook can be planted there. The hook then runs on later git operations such as checkout, giving code execution; exploitation needs a hook name that is free in .git/hooks. Upgrade to GitPython 3.2.1 or later.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0042, the 36th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:08 UTC First seen by agentprime
  2. 31 Oct 2026, 14:08 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.