Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
GitPython versions before 3.1.49 are affected. The set_value() method in config_writer() does not reject newline characters in values, so an injected newline can add a core.hooksPath setting to .git/config. An attacker who can supply a value such as an author name or email to an application that calls this method could redirect Git hook execution to an attacker-chosen path, which can run code when hook-triggering operations like commit or checkout occur. Upgrade to GitPython 3.1.49 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.8 | High | 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0024, the 14th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 7 May 2026, 19:16 UTC Confirmed by NVD
- 31 Oct 2026, 14:29 UTC First seen by agentprime
- 31 Oct 2026, 14:29 UTC Confirmed by OSV