Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') Affecting gitpython package, versions [,3.1.53)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.19% (9th 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-PYTHON-GITPYTHON-18313061
  • published26 Jul 2026
  • disclosed24 Jul 2026
  • creditUnknown

Introduced: 24 Jul 2026

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

How to fix?

Upgrade GitPython to version 3.1.53 or higher.

Overview

GitPython is a python library used to interact with Git repositories

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') through improper sanitization of section or subsection names in configuration headers. An attacker can inject arbitrary configuration directives by supplying specially crafted submodule names, leading to the execution of malicious commands during subsequent git operations.

CVSS Base Scores

version 4.0
version 3.1