Duplicate Advisory: GitPython: TagReference.create positional reference bypasses kwargs-only --file guard, enabling arbitrary file read (incomplete fix of 3af0c251)
GHSA-6rj2-96f5-chj9
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-3wxw-xv34-2frg. This link is maintained to preserve external references.
Original 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=
References
- WEB https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-3wxw-xv34-2frg
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-78679
- PACKAGE https://github.com/gitpython-developers/GitPython
- WEB https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-tagreference-create
Ready to move
Start Securing
Free, no credit card | First findings in minutes