GitPython before 3.1.50 Newline Injection via config_writer section
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| gitpython-developers | GitPython | unaffected |
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Hardened Images | |||
| llvm-main-22.1.8-4.1.hum1 | cpe:/a:redhat:hummingbird:1 | RHSA-2026:44416 | 2026-07-23T00:00:00Z |
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Gitpython-developers | Gitpython |
|
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-4872-1 | python-git security update |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.254% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Gitpython Project
Gitpython Project gitpython |
|
| CPEs | cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:* | |
| Vendors & Products |
Gitpython Project
Gitpython Project gitpython |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat
Redhat hummingbird |
|
| Weaknesses | CWE-93 | |
| CPEs | cpe:/a:redhat:hummingbird:1 | |
| Vendors & Products |
Redhat
Redhat hummingbird |
|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Gitpython-developers
Gitpython-developers gitpython |
|
| Vendors & Products |
Gitpython-developers
Gitpython-developers gitpython |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | GitPython before 3.1.50 fails to validate newline characters in the section parameter of config_writer(), allowing attackers to inject arbitrary section headers into .git/config. Attackers can inject newlines to create a forged [core] section with hooksPath pointing to attacker-controlled directories, achieving remote code execution when git hooks are triggered. | |
| Title | GitPython before 3.1.50 Newline Injection via config_writer section | |
| Weaknesses | CWE-20 | |
| References |
| |
| Metrics |
cvssV3_1
|