← CVE Intelligence

CVE-2026-76218

GitPython before 3.1.58 Remote Code Execution via Repo.init PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
gitpython-developers / GitPythonaffected 0 before 3.1.58; unaffected 3.1.58

CWE

CWE-88

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.