Vulnerability

CVE-2026-76218

highCVSS 4.0 7.7Published 19 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

GitPython before 3.1.58 contains a remote code execution vulnerability in Repo.init that forwards unsafe git options without validation. Attackers can supply a template parameter pointing to a directory with malicious git hooks that execute arbitrary code when git operations are performed on the initialized repository.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Gitpython Project gitpython

Weakness type

References

  • github.com /gitpython-developers/GitPython/security/advisories/GHSA-9r…
  • www.vulncheck.com /advisories/gitpython-before-remote-code-execution-via-repo…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning