Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
GitPython versions before 3.1.54 (fixed in 3.1.54) can be made to run arbitrary commands with default settings. The unsafe-option check only inspects kwarg names, so an option token hidden in the value of a single-character kwarg is passed to git as a separate argument, such as --upload-pack. An attacker who can supply options to guarded methods like clone_from, fetch, or ls_remote can achieve command execution on the host. Upgrade to GitPython 3.1.54 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 |
|---|---|---|---|---|
| 8.7 | High | 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | CNA (VulnCheck) |
- CISA KEV Not listed.
- EPSS 0.0068, the 52nd percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:10 UTC First seen by agentprime
- 31 Oct 2026, 14:10 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-r9mr-m37c-5fr3
- OSV: GHSA-r9mr-m37c-5fr3
- github.com/gitpython-developers/GitPython/security/advisories/GHSA-r9mr-m37c-5fr3
- github.com/gitpython-developers/GitPython/pull/2180
- github.com/gitpython-developers/GitPython/commit/e8d0fbf774d1f6baa3b481adfe48bd262e43b453
- github.com/gitpython-developers/GitPython
- github.com/gitpython-developers/GitPython/releases/tag/3.1.54