# CVE-2026-73625: GitPython before 3.1.54 Remote Code Execution via kwarg value smuggling

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.68%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-24T16:42:57.000Z
- Modified: 2026-10-24T15:10:00.190Z
- Also known as: GHSA-r9mr-m37c-5fr3, PYSEC-2026-3953
- Weaknesses: CWE-78, CWE-88
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

GitPython versions before 3.1.54 contain a remote code execution vulnerability in the check_unsafe_options guard that can be bypassed by smuggling git options inside single-character kwarg values. Attackers can supply crafted option dictionaries to clone_from, fetch, pull, push, ls_remote, iter_commits, blame, or archive methods to execute arbitrary OS commands via the --upload-pack parameter.

(As written by CVE List.)

## Affected

- gitpython-developers GitPython: before 3.1.54 (not affected: 3.1.54)
- gitpython (PyPI): before 3.1.54
- gitpython_project gitpython: before 3.1.54

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS: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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-r9mr-m37c-5fr3> (exploit, evidence, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/gitpython-before-remote-code-execution-via-kwarg-value-smuggling> (advisory, third-party-advisory)
- <https://github.com/gitpython-developers/GitPython/pull/2180> (web)
- <https://github.com/gitpython-developers/GitPython/commit/e8d0fbf774d1f6baa3b481adfe48bd262e43b453> (web)
- <https://github.com/gitpython-developers/GitPython> (package)
- <https://github.com/gitpython-developers/GitPython/releases/tag/3.1.54> (web)

## Sources

- CVE List: [CVE-2026-73625](https://www.cve.org/CVERecord?id=CVE-2026-73625), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-r9mr-m37c-5fr3](https://github.com/advisories/GHSA-r9mr-m37c-5fr3), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-73625](https://nvd.nist.gov/vuln/detail/CVE-2026-73625), Public domain, modified 2026-10-24
- PyPA Advisory Database: [PYSEC-2026-3953](https://osv.dev/vulnerability/PYSEC-2026-3953), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-73625 · Whole record: https://cve.day/CVE-2026-73625.json · Rebuilt by cve.day 2026-11-25T22:59:32.710Z
