CVE-2026-44244
Vulnerability Summary
Timeline
Description
GitPython is a python library used to interact with Git repositories. Prior to version 3.1.49, GitConfigParser.set_value() passes values to Python's configparser without validating for newlines. GitPython's own _write() converts embedded newlines into indented continuation lines (e.g. \n becomes \n\t), but Git still accepts an indented [core] stanza as a section header — so the injected core.hooksPath becomes effective configuration. Any Git operation that invokes hooks (commit, merge, checkout) will then execute scripts from the attacker-controlled path. This issue has been patched in version 3.1.49.
CVSS Metrics
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 0.24%• Percentile: 15%
Techniques & Countermeasures
- CWE-94•Improper Control of Generation of Code ('Code Injection')
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Affected Systems
- chainguard•awx
< 24.6.1-r35
- chainguard•datahub-ingestion-fips
< 1.5.0.1-r2
- chainguard•mlflow
< 3.16.0-r0
- chainguard•mlflow-fips
< 3.12.0-r0
- chainguard•opal
< 0.9.5-r1
- wolfi•mlflow
< 3.16.0-r0
- debian•python-git
all | all | all | < 3.1.50-1
- gitpython_project•gitpython
< 3.1.49
- gitpython-developers•gitpython
< 3.1.49
- PyPI•gitpython
< 3.1.49
References (6)
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-v87r-6q3f-2j67
- https://github.com/gitpython-developers/GitPython
- https://github.com/gitpython-developers/GitPython/releases/tag/3.1.49
- https://nvd.nist.gov/vuln/detail/CVE-2026-44244
- https://security-tracker.debian.org/tracker/CVE-2026-44244
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44244.json