GitPython before 3.1.60 fails to properly validate the git directory location, allowing attackers to impersonate the git directory using tracked files like gitdir, commondir, and HEAD. Attackers can execute arbitrary code by placing a malicious pre-commit hook in the tracked hooks directory that executes when a victim calls index.commit() on a cloned or opened repository.
CVSS Details
- CVSS 4.0 Base Score: 8.7 (HIGH)
- CVSS 4.0 Vector: (CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/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.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Redhat_linux | — | Upgrade python3.12-django-ansible-base+authenticationUpgrade automation-eda-controller-worker-servicesUpgrade python3.12-galaxy-ngUpgrade python3.12-gitpythonUpgrade python3.12-django-ansible-base+rest_filtersUpgrade receptor-debugsourceUpgrade python3.12-sqlparseUpgrade python3.12-django-ansible-base+activitystreamUpgrade python3.12-django-ansible-base+oauth2_providerUpgrade receptor-debuginfoUpgrade automation-eda-controller-baseUpgrade automation-gateway-serverUpgrade automation-gateway-proxy-serverUpgrade automation-gateway-proxy-debugsourceUpgrade automation-gateway-configUpgrade python3.12-django-ansible-base+channel_authUpgrade automation-controllerUpgrade automation-hubUpgrade python3-sqlparseUpgrade automation-controller-uiUpgrade python3.12-django-ansible-base+feature_flagsUpgrade receptorctlUpgrade python3.12-django-ansible-base+rbacUpgrade python3.12-django-ansible-base+api_documentationUpgrade automation-gateway-proxyUpgrade automation-controller-serverUpgrade receptorUpgrade automation-eda-controller-event-stream-servicesUpgrade automation-platform-uiUpgrade automation-controller-venv-towerUpgrade aap-metrics-utilityUpgrade automation-gatewayUpgrade automation-gateway-proxy-server-debuginfoUpgrade automation-eda-controller-base-servicesUpgrade python3.12-django-ansible-base+resource_registryUpgrade automation-controller-cliUpgrade automation-eda-controllerUpgrade python3.12-django-ansible-base+redis_clientUpgrade python3.12-django-ansible-base+jwt_consumerUpgrade python3.12-django-ansible-base | Sep 25, 2026 | Sep 9, 2026 |
Prioritise 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