Vulnerabilities

CVE-2026-76218

High 8.8 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-08-19
Last modified
2026-09-03
Assigned by
disclosure@vulncheck.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Gitpython Project Gitpython < 3.1.58 Affected

Weakness type

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities