Arbitrary File Read Vulnerability in GitPython by GitHub
CVE-2026-76217

7.1HIGH

Key Information:

Status
Vendor
CVE Published:
19 August 2026

What is CVE-2026-76217?

Earlier versions of GitPython, specifically before 3.1.58, lack proper validation for command options utilized in git rm and git checkout commands. This oversight allows attackers to exploit the '--pathspec-from-file' and '--pathspec-file-nul' parameters, enabling unauthorized access to arbitrary files that are accessible by the process. The contents of these files can be fully returned in the GitCommandError.stderr output, posing significant risks to data confidentiality.

Affected Version(s)

GitPython 0 < 3.1.58

GitPython 3.1.58

References

CVSS V4

Score:
7.1
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

BarakSrour
.