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.
CVSS Details
- CVSS 4.0 Base Score: 8.6 (HIGH)
- CVSS 4.0 Vector: (CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X)
- CVSS 3.1 Base Score: 8.4
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Redhat_linux | — | Upgrade receptorUpgrade automation-gateway-proxyUpgrade automation-controllerUpgrade python3.12-django-ansible-base+api_documentationUpgrade automation-eda-controller-event-stream-servicesUpgrade python3.12-django-ansible-base+redis_clientUpgrade automation-controller-uiUpgrade automation-eda-controller-base-servicesUpgrade automation-gateway-proxy-server-debuginfoUpgrade automation-controller-cliUpgrade automation-controller-venv-towerUpgrade automation-gateway-proxy-serverUpgrade automation-hubUpgrade automation-controller-serverUpgrade python3.12-django-ansible-base+resource_registryUpgrade automation-gatewayUpgrade automation-gateway-proxy-debugsourceUpgrade python3.12-django-ansible-base+activitystreamUpgrade aap-metrics-utilityUpgrade receptorctlUpgrade python3.12-django-ansible-base+authenticationUpgrade python3.12-sqlparseUpgrade python3.12-gitpythonUpgrade python3.12-django-ansible-base+oauth2_providerUpgrade python3.12-django-ansible-base+feature_flagsUpgrade receptor-debugsourceUpgrade python3.12-django-ansible-baseUpgrade python3.12-django-ansible-base+rest_filtersUpgrade automation-platform-uiUpgrade automation-eda-controllerUpgrade automation-eda-controller-worker-servicesUpgrade automation-gateway-serverUpgrade receptor-debuginfoUpgrade python3.12-django-ansible-base+channel_authUpgrade python3.12-django-ansible-base+jwt_consumerUpgrade automation-eda-controller-baseUpgrade automation-gateway-configUpgrade python3-sqlparseUpgrade python3.12-django-ansible-base+rbacUpgrade python3.12-galaxy-ng | Sep 25, 2026 | Aug 1, 2026 |
Prioritize with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub