CVE-2026-76217
GitPython before 3.1.58 Arbitrary File Read via pathspec-from-file
CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th
GitPython versions before 3.1.58 fail to validate options passed to git rm and git checkout commands in IndexFile.remove() and Head.checkout(). Attackers can supply --pathspec-from-file and --pathspec-file-nul parameters to read arbitrary files accessible to the process, with full file contents returned in GitCommandError.stderr.
| CWE | CWE-73 |
| Vendor | gitpython-developers |
| Product | gitpython |
| Published | Aug 19, 2026 |
Stay Ahead of the Next One
Get instant alerts for gitpython-developers gitpython
Be the first to know when new medium vulnerabilities affecting gitpython-developers gitpython are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Affected Versions
gitpython-developers / GitPython
0 < 3.1.58
References
Credits
๐ BarakSrour