Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-298h-jpq4-m665

Опубликовано: 19 авг. 2026
Источник: github
Github: Прошло ревью
CVSS4: 7.7
CVSS3: 7.5

Описание

Duplicate Advisory: GitPython: Unguarded git option forwarding in Repo.init enables arbitrary command execution via --template clone hooks

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-9rj7-rf2p-w77r. This link is maintained to preserve external references.

Original Description

GitPython before 3.1.58 contains a remote code execution vulnerability in Repo.init that forwards unsafe git options without validation. Attackers can supply a template parameter pointing to a directory with malicious git hooks that execute arbitrary code when git operations are performed on the initialized repository.

Пакеты

Наименование

GitPython

pip
Затронутые версииВерсия исправления

<= 3.1.57

Отсутствует

7.7 High

CVSS4

7.5 High

CVSS3

Дефекты

CWE-88

7.7 High

CVSS4

7.5 High

CVSS3

Дефекты

CWE-88