CVE-2026-78679
HIGH 7.1CVSS 4.0GitPython: TagReference.create positional reference bypasses kwargs-only --file guard, enabling arbitrary file read (incomplete fix of 3af0c251)
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.
- Published
- 25 Aug 2026
- Last modified
- 12 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-200CWE-73CWE-88
- Also known as
- GHSA-3wxw-xv34-2frgPYSEC-2026-3837
- Sources
- NVDJSONOSV GHSA-3wxw-xv34-2frgJSONOSV PYSEC-2026-3837JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | gitpython | < 3.1.59 | 3.1.59 |
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-3wxw-xv34-2frg · WEB
- https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-tagreference-create · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-78679 · ADVISORY
- https://github.com/gitpython-developers/GitPython/pull/2208 · WEB
- https://github.com/gitpython-developers/GitPython/commit/1b0d2d9b91575f7db44ef4ff58ac37fc9335e5f6 · WEB
- https://github.com/gitpython-developers/GitPython · PACKAGE
- https://github.com/gitpython-developers/GitPython/releases/tag/3.1.59 · WEB
- https://pypi.org/project/gitpython · PACKAGE
- https://github.com/advisories/GHSA-3wxw-xv34-2frg · ADVISORY
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 25 Aug 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Sep 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Sep 2026)