# CVE-2026-76220: GitPython before 3.1.58 Command Execution via split\_single\_char\_options

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 3.1.58 (CNA); fix release not confirmed
- Status: published
- Published: 2026-08-19 · Modified: 2026-10-08
- Aliases: GHSA-wvpp-8hx9-p66j, PYSEC-2026-3843, UBUNTU-CVE-2026-76220, DEBIAN-CVE-2026-76220, CGA-5jxh-5r7v-rm9r, CGA-6mqp-f56c-46v7, CGA-x8g4-693m-p2cm, CGA-8qm7-9jh6-58j5, CGA-g4q9-r9xp-9h43, CGA-hgj9-974w-8g5p, CGA-xr77-gqpq-83xc, ALPINE-CVE-2026-76220
- Record: https://cvemate.com/vulnerability/CVE-2026-76220 · JSON: https://cvemate.com/vulnerability/CVE-2026-76220/json

## Description

```text
GitPython before 3.1.58 contains a command execution vulnerability in the check_unsafe_options guard that can be bypassed by combining a single-character kwarg with split_single_char_options=False. Attackers can supply a crafted kwargs dictionary to guarded methods like clone_from to emit a joined token parsed as --upload-pack, enabling arbitrary OS command execution at default allow_unsafe_options=False.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.59%, percentile 49.673%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine py3-gitpython (Alpine Linux): \< 3.1.61-r0
- chainguard awx (Chainguard): \< 24.6.1-r49
- chainguard checkov (Chainguard): \< 3.3.9-r1
- chainguard mlflow (Chainguard): \< 3.16.0-r0
- chainguard opal (Chainguard): \< 0.9.6-r5
- wolfi checkov (Wolfi): \< 3.3.9-r1
- wolfi mlflow (Wolfi): \< 3.16.0-r0
- debian python-git (Debian): All versions (No fix recorded) \| \< 3.1.30-1+deb12u3 \| \< 3.1.44-1+deb13u1 \| \< 3.1.61-1
- ubuntu python-git (Ubuntu): All versions (No fix recorded)
- gitpython\_project gitpython: \< 3.1.58
- gitpython-developers gitpython: \< 3.1.58
- PyPI gitpython (PyPI): \< 3.1.58

## References

- <https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-wvpp-8hx9-p66j>
- <https://www.vulncheck.com/advisories/gitpython-before-command-execution-via-split-single-char-options>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-76220>
- <https://github.com/gitpython-developers/GitPython/pull/2204>
- <https://github.com/gitpython-developers/GitPython/commit/96a888f4d782cb2f80452148e48e60ce4af6d541>
- <https://github.com/gitpython-developers/GitPython>
- <https://github.com/gitpython-developers/GitPython/releases/tag/3.1.58>
- <https://pypi.org/project/gitpython>
- <https://github.com/advisories/GHSA-wvpp-8hx9-p66j>
- <https://ubuntu.com/security/CVE-2026-76220>
- <https://www.cve.org/CVERecord?id=CVE-2026-76220>
- <https://security-tracker.debian.org/tracker/CVE-2026-76220>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76220.json>
- <https://security.alpinelinux.org/vuln/CVE-2026-76220>

---

Data as of 2026-12-05T04:46:55.954Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
