CyberRota Analysis
AI-GeneratedGitPython versions prior to 3.1.59 are vulnerable due to an incomplete denylist in the unsafe_git_revision_options guard, which fails to restrict the use of the --contents and -S options. This flaw allows attackers to exploit the Repo.blame() function to read arbitrary files, potentially leaking sensitive information such as system files. Organizations using affected versions of GitPython should prioritize patching to mitigate the risk of unauthorized data exposure.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
GitPython versions before 3.1.59 contain an incomplete denylist in the unsafe_git_revision_options guard that omits --contents and -S options, allowing attackers to read arbitrary files by passing these options to Repo.blame(). Attackers can supply revision values like --contents=/etc/passwd to leak file contents through the blame result returned to the caller.
Related CVEs
Other vulnerabilities affecting the same vendor(s)