Skip to main content
HIGH

CVE-2026-76220

GitPython before 3.1.58 Command Execution via split_single_char_options

CVSS v3

8.8

HIGH

EPSS Score

0.9 %

exploit probability, as of 2026-10-17

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for gitpython. Watch gitpython in CVE Watch Free account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • gitpythonPyPIall versions · fixed in 3.1.58

Vendor advisories

  • CVE-2026-76220 Red Hat Product Security18 products fixed · 3 known affected

    gitpython: GitPython: Arbitrary command execution via crafted kwargs

    ansible-automation-platform-24/controller-rhel8 as a component of Red Hat Ansible Automation Platform 2 · ansible-automation-platform-24/hub-rhel8 as a component of Red Hat Ansible Automation Platform 2 · python-gitpython.src as a component of Red Hat Satellite 6

  • RHSA-2026:79378 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.7 Container Release Update

  • RHSA-2026:71210 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Container Release Update

  • RHSA-2026:71179 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Container Release Update

  • RHSA-2026:71177 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.7 Container Release Update

  • RHSA-2026:68780 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Technical preview of the satellite/iop-vmaas-rhel9 container image

4 more advisories

Full record on NVD

Description

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.

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2026-08-19
Last Modified
2026-08-20

Frequently asked questions

What is CVE-2026-76220?

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.

Is CVE-2026-76220 actively exploited?

Active exploitation of CVE-2026-76220 has not been confirmed. Its EPSS score was 0.9% on 2026-10-17, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-76220?

CVE-2026-76220 has a CVSS v3 base score of 8.8 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running gitpython? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · 50 free checks/month · Free API key