Live › vulnerability › GHSA-9xx9-hw38-h2w9
Go to dashboardGitPython before 3.1.53 does not escape section names when writing git config files, so a malicious submodule name can inject arbitrary config keys such as core.sshCommand. An attacker can get code run on the machine when git performs an ssh operation.
Summary written from the sources below. Check the originals before acting.
First seen by InfraStack 2026-10-23 21:51 UTC. All times on this page are UTC.
| Product | Ecosystem | Affected | Fixed in |
|---|---|---|---|
| gitpython | pypi | <= 3.1.52 | 3.1.53 |
Run pip show gitpython and check whether the version is 3.1.52 or lower.
Upgrade gitpython to 3.1.53 or later; this advisory is withdrawn as a duplicate, so see GHSA-3rp5-jjmw-4wv2 for the live record.
Each row is the first time that source carried this signal. The analyst’s rows are its own findings.
This advisory has been withdrawn because it is a duplicate of GHSA-3rp5-jjmw-4wv2. This link is maintained to preserve external references.
GitPython before 3.1.53 fails to properly escape section names in git config files, allowing attackers to inject arbitrary configuration directives through malicious submodule names. Attackers can inject core.sshCommand or other dangerous config keys into the victim's .git/config via create_submodule or clone_from operations, achieving remote code execution when git performs ssh operations.
This page as .md · .json · in your agent: get_signal("GHSA-9xx9-hw38-h2w9")
GitHub Advisory Database, CC-BY 4.0. Posts quoted belong to their authors.