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

exploitDog

github логотип

GHSA-4vpg-pfj8-m33q

Опубликовано: 01 авг. 2026
Источник: github
Github: Не прошло ревью
CVSS4: 8.6
CVSS3: 8.4

Описание

GitPython before 3.1.51 fails to guard against dangerous Git options passed as keyword arguments in Repo.archive() and git.ls_remote(), allowing command injection via options such as --exec/--upload-pack (leading to arbitrary command execution). Additionally, Repo.iter_commits() and Repo.blame() do not check for leading-dash revision arguments, so a revision like --output= can cause Git to open and truncate an arbitrary file. Exploitation requires an application that passes attacker-controlled arguments to these methods.

GitPython before 3.1.51 fails to guard against dangerous Git options passed as keyword arguments in Repo.archive() and git.ls_remote(), allowing command injection via options such as --exec/--upload-pack (leading to arbitrary command execution). Additionally, Repo.iter_commits() and Repo.blame() do not check for leading-dash revision arguments, so a revision like --output= can cause Git to open and truncate an arbitrary file. Exploitation requires an application that passes attacker-controlled arguments to these methods.

EPSS

Процентиль: 60%
0.01016
Низкий

8.6 High

CVSS4

8.4 High

CVSS3

Дефекты

CWE-77

Связанные уязвимости

CVSS3: 8.4
nvd
2 дня назад

GitPython before 3.1.51 fails to guard against dangerous Git options passed as keyword arguments in Repo.archive() and git.ls_remote(), allowing command injection via options such as --exec/--upload-pack (leading to arbitrary command execution). Additionally, Repo.iter_commits() and Repo.blame() do not check for leading-dash revision arguments, so a revision like --output=<path> can cause Git to open and truncate an arbitrary file. Exploitation requires an application that passes attacker-controlled arguments to these methods.

CVSS3: 8.4
debian
2 дня назад

GitPython before 3.1.51 fails to guard against dangerous Git options p ...

EPSS

Процентиль: 60%
0.01016
Низкий

8.6 High

CVSS4

8.4 High

CVSS3

Дефекты

CWE-77