Advisory record · GHSA-6p8h-3wgx-97gf

GitPython: Incomplete unsafe_git_clone_options denylist omits --template enabling arbitrary command execution via clone hooks

CVSS 7.7 HighEPSS 0.0096 · 61st percentile

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

PackageEcosystemAffectedFixed in
gitpythonPyPI<3.1.543.1.54
Identifiers
GHSA-6p8h-3wgx-97gf · CVE-2026-73623 · PYSEC-2026-3952
Weakness (CWE)
CWE-78 · CWE-184
Published
24 Jul 2026
Updated
10 Sept 2026

Machine-written summary

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

GitPython versions before 3.1.54 fail to block the --template clone option, so a caller who can influence clone options can run arbitrary OS commands during clone under the default configuration. The attacker must first stage an executable hook in a directory the process can read, and the source describes this as a realistic precondition. Upgrade gitpython to 3.1.54 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.7 High 4.0 CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0096, the 61st percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

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