Arbitrary Code Injection Affecting py3.13-gitpython package, versions <3.1.53-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.27% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-PY313GITPYTHON-19889155
  • published18 Sept 2026
  • disclosed3 Aug 2026

Introduced: 3 Aug 2026

CVE-2026-69097  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

Upgrade Minimos:latest py3.13-gitpython to version 3.1.53-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream py3.13-gitpython package and not the py3.13-gitpython package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1