CVE-2026-78679
7.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| gitpython-developers | GitPython | 0 < 3.1.59 | affected |
| gitpython-developers | GitPython | 3.1.59 | unaffected |
Weaknesses
- CWE-73: External Control of File Name or Path
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-3wxw-xv34-2frg
- https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-tagreference-create
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.