CVE-2026-69097 PUBLISHED

GitPython before 3.1.53 Config Injection via Submodule Names

Assigner: VulnCheck
Reserved: 03.08.2026 Published: 03.08.2026 Updated: 03.08.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 7.3

Product Status

Vendor gitpython-developers
Product GitPython
Versions Default: unaffected
  • affected from 0 to 3.1.53 (excl.)
  • Version 3.1.53 is unaffected

References

Problem Types

  • Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') CWE