CVE-2026-78679
Medium
Description
GitPython before 3.1.59 contains an arbitrary file read vulnerability in TagReference.create() where a positional reference parameter bypasses the unsafe option guard. Attackers can supply a reference value like --file=<path> to read arbitrary files, with contents returned in the annotated tag message.
SeverityMedium
CVSS6.5
Exploit probability—
ProductGitpython
PublishedAug 25, 2026
First seenAug 25, 2026
Weakness typeCWE-73CWE-73
How to fix
Update
- gitpython3.1.59 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gitpythonPyPI | v < 3.1.59 | 3.1.59 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.