Injection Flaw in GitPython Library Affects Git Operations
CVE-2026-44244

7.8HIGH

Key Information:

Status
Vendor
CVE Published:
7 May 2026

What is CVE-2026-44244?

An injection flaw in GitPython, a library designed for interacting with Git repositories, allows for the unvalidated insertion of values into configuration files. Prior to version 3.1.49, the 'set_value()' function would pass unvalidated values to Python's configparser, enabling embedded newlines. This could lead to the injection of malicious paths that are executed during Git operations such as commits and merges, as they trigger scripts from attacker-controlled directories. The vulnerability emphasizes the necessity of validation in configuration handling to prevent arbitrary code execution.

Affected Version(s)

GitPython < 3.1.49

References

CVSS V3.1

Score:
7.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.