CVE-2026-76218

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*

History

03 Sep 2026, 15:03

Type Values Removed Values Added
First Time Gitpython Project gitpython
Gitpython Project
References () https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-9rj7-rf2p-w77r - () https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-9rj7-rf2p-w77r - Exploit, Vendor Advisory
References () https://www.vulncheck.com/advisories/gitpython-before-remote-code-execution-via-repo-init - () https://www.vulncheck.com/advisories/gitpython-before-remote-code-execution-via-repo-init - Third Party Advisory
CPE cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*

20 Aug 2026, 19:17

Type Values Removed Values Added
References () https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-9rj7-rf2p-w77r - () https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-9rj7-rf2p-w77r -

19 Aug 2026, 15:18

Type Values Removed Values Added
References () https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-9rj7-rf2p-w77r - () https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-9rj7-rf2p-w77r -

19 Aug 2026, 14:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-08-19 14:17

Updated : 2026-09-03 15:03


NVD link : CVE-2026-76218

Mitre link : CVE-2026-76218

CVE.ORG link : CVE-2026-76218


JSON object : View

Products Affected

gitpython_project

  • gitpython
CWE
CWE-88

Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')