CVE Explorer
CVE-2026-44244
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)
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"GitPython","vendor":"gitpython-developers","versions":[{"status":"affected","version":"< 3.1.49"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:fe39ee3c902397b53c8b012bfe170bb1382a29d77fa8586fdc0c3eff3836ba9e · sha256:77797a50043eb3b1… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:fe39ee3c902397b53c8b012bfe170bb1382a29d77fa8586fdc0c3eff3836ba9e · sha256:77797a50043eb3b1… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:fe39ee3c902397b53c8b012bfe170bb1382a29d77fa8586fdc0c3eff3836ba9e · sha256:77797a50043eb3b1… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.49","tags":["x_refsource_MISC"],"url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.49"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:fe39ee3c902397b53c8b012bfe170bb1382a29d77fa8586fdc0c3eff3836ba9e · sha256:77797a50043eb3b1… · /containers/cna/references/1
{"name":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-v87r-6q3f-2j67","tags":["x_refsource_CONFIRM"],"url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-v87r-6q3f-2j67"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:fe39ee3c902397b53c8b012bfe170bb1382a29d77fa8586fdc0c3eff3836ba9e · sha256:77797a50043eb3b1… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-v87r-6q3f-2j67"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:fe39ee3c902397b53c8b012bfe170bb1382a29d77fa8586fdc0c3eff3836ba9e · sha256:77797a50043eb3b1… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.