CVE-2026-78678 GitPython before 3.1.59 Arbitrary File Read via Repo.blame()
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
gitpython-developers
GitPython
영향 받는 버전
- 3.1.59 미만
해결 버전
- 3.1.59 이상
- 3.1.59