Advisory record · GHSA-8mcc-hrx5-hvxc

GitPython: clone_from()/clone() omit --separate-git-dir from unsafe_git_clone_options, enabling arbitrary git-directory creation outside the destination

CVSS 8.7 HighEPSS 0.0065 · 51st percentile

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

PackageEcosystemAffectedFixed in
gitpythonPyPI<3.1.593.1.59
Identifiers
GHSA-8mcc-hrx5-hvxc · CVE-2026-78677 · PYSEC-2026-3787
Weakness (CWE)
CWE-22 · CWE-73
Published
8 Sept 2026
Updated
8 Sept 2026

Machine-written summary

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

GitPython versions before 3.1.59 do not block the --separate-git-dir option in clone_from() and clone() by default. If an application passes attacker-controlled input to this option, an attacker can make git create a repository metadata directory at any path outside the intended destination. Upgrade to GitPython 3.1.59 or later.

Written 5 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
8.7 High 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0065, the 51st percentile, on 12 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:38 UTC First seen by agentprime
  2. 31 Oct 2026, 14:38 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.