published 3 Aug 2026 · updated 14 Aug 2026
GitPython before 3.1.53 Config Injection via Submodule Names
7.0HighCVSS 7.0EPSS 0%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.1.53.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| gitpython-developers | <3.1.53 | 3.1.53 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket