CVE-2026-76217
Published:August 19, 2026
Updated:August 25, 2026
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.
Affected Packages
gitpython (CONDA):
Affected version(s) >=1.0.1 <3.1.58Fix Suggestion:
Update to version 3.1.58https://github.com/gitpython-developers/GitPython.git (GITHUB):
Affected version(s) >=winerr_show <3.1.58Fix Suggestion:
Update to version 3.1.58gitpython (PYTHON):
Affected version(s) >=0.1.7 <3.1.58Fix Suggestion:
Update to version 3.1.58Related Resources (8)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.28