A AegiFlow
HIGHCVSS 7.7EPSS 0.7%

CVE-2026-76218

CVE-2026-76218 updated by NVD

Published
2026-08-07
Modified
2026-09-08
EPSS percentile
52%
Sources
github-advisory, nvd

Summary

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 packages

EcosystemPackageAffected versionsFixed versions
PyPIGitPython3.1.58

Remediation: Upgrade to 3.1.58 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.