CVE-2026-42284 in GitPython
요약
\~에 의해 VulDB • 2026. 05. 11.
GitPython은 Git 저장소와 상호 작용하기 위해 사용되는 Python 라이브러리입니다. 버전 3.1.47 이전에서는 _clone()이 multi_options를 원래 리스트로 검증한 후 shlex.split(" ".join(multi_options))를 실행합니다. "--branch main --config core.hooksPath=/x"와 같은 문자열은 검증(--branch로 시작)을 통과하지만, split 후에는 ["--branch", "main", "--config", "core.hooksPath=/x"]가 됩니다. Git은 구성을 적용하고 클론 과정에서 공격자의 훅을 실행합니다. 이 문제는 버전 3.1.47에서 패치되었습니다.
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.