CVE-2026-42215
gitpython project gitpython
Patch priority
RegularFix with the next regular update.
- CVSS
- 8.8
- Severity
- 8.8
- EPSS
- 0.8 %
- Percentile
- 57
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run gitpython project gitpython. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- Attackable over the network – including from the internet if the device or service is reachable there.
- The attacker must already be logged in – this lowers the risk.
- Nobody has to click anything.
What to do?
- Include it in your next regular update.
- The vendor’s advisories (linked below) name the fixed version.
- If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDGitPython is a python library used to interact with Git repositories. From version 3.1.30 to before version 3.1.47, GitPython blocks dangerous Git options such as --upload-pack and --receive-pack by default, but the equivalent Python kwargs upload_pack and receive_pack bypass that check. If an application passes attacker-controlled kwargs into Repo.clone_from(), Remote.fetch(), Remote.pull(), or Remote.push(), this leads to arbitrary command execution even when allow_unsafe_options is left at its default value of False. This issue has been patched in version 3.1.47.
- Vendor / product
- gitpython project gitpython
- Published
- 07.05.2026
- Modified
- 12.11.2026
- CWE
- CWE-78
- Status
- Analyzed
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor updates
20- Red Hat: RHSA-2026:74506 – RHSA-2026:74506 satellite security update 02.10.2026 · Patch day
- Red Hat: RHSA-2026:74505 – RHSA-2026:74505 satellite security update 02.10.2026 · Patch day
- Red Hat: RHSA-2026:74504 – RHSA-2026:74504 satellite security update 02.10.2026 · Patch day
- Red Hat: RHSA-2026:73987 – RHSA-2026:73987 registry.redhat.io/rhoai/odh-built-in-detector-rhel9@sha256:bf08b9713fb677f4b3605c29ac85fcabc4d41d085b6053 … 30.09.2026 · Patch day
- Red Hat: RHSA-2026:71210 – RHSA-2026:71210 registry.redhat.io/ansible-automation-platform-25/hub-rhel8@sha256:a20b6906451859f57fef04395fdcd210d137009 … 24.09.2026 · Patch day
- Red Hat: RHSA-2026:71179 – RHSA-2026:71179 registry.redhat.io/ansible-automation-platform/platform-operator-bundle@sha256:cbd88dbd81a2b8ee96d4963fb91 … 24.09.2026 · Patch day
- Red Hat: RHSA-2026:68780 – RHSA-2026:68780 registry.redhat.io/satellite/iop-vmaas-rhel9@sha256:ed38f427171a53e7086288bf875a521b1048142aebc9276e47f4d8 … 17.09.2026 · Patch day
- Red Hat: RHSA-2026:68776 – RHSA-2026:68776 registry.redhat.io/satellite/iop-vulnerability-engine-rhel9@sha256:24ebda962c61b717d8c4f4aff70ba900d3f8c2a … 17.09.2026 · Patch day
- Red Hat: RHSA-2026:68771 – RHSA-2026:68771 registry.redhat.io/satellite/iop-vulnerability-engine-rhel9@sha256:d713818ce16bdc4a86e885d031cbee228686c42 … 17.09.2026 · Patch day
- Red Hat: RHSA-2026:68764 – RHSA-2026:68764 registry.redhat.io/satellite/iop-vmaas-rhel9@sha256:9dc5a13c4d75f07c2c3df2cd276c49f172224bd9b472babf5170ea … 17.09.2026 · Patch day
- Red Hat: RHSA-2026:67279 – RHSA-2026:67279 registry.redhat.io/ansible-automation-platform/platform-operator-bundle@sha256:617ec5679ab05cad64478ba877d … 14.09.2026 · Patch day
- SUSE: SUSE-SU-2026:4072-1 – Security update for python-GitPython 08.09.2026 · Critical · Patch day
- Red Hat: RHSA-2026:65126 – RHSA-2026:65126 registry.redhat.io/rhoai/odh-built-in-detector-rhel9@sha256:89cdb5783188b1b594cd7e0c6da1993397d60fe706e346 … 08.09.2026 · Patch day
- Red Hat: RHSA-2026:63385 – RHSA-2026:63385 python3.12-aiohttp security update 04.09.2026 · Patch day
- Red Hat: RHSA-2026:60520 – RHSA-2026:60520 registry.redhat.io/rhoai/odh-ai-gateway-payload-processing-rhel9@sha256:2f83d14f149aa832849e346b90fb4449ba … 27.08.2026 · Patch day
- Red Hat: RHSA-2026:42132 – RHSA-2026:42132 registry.redhat.io/ansible-automation-platform/platform-operator-bundle@sha256:86f8a6c4738e39340446579315f … 20.07.2026 · Patch day
- Red Hat: RHSA-2026:42079 – RHSA-2026:42079 receptor security update 20.07.2026 · Patch day
- Red Hat: RHSA-2026:42078 – RHSA-2026:42078 python3.12-pysequoia security update 20.07.2026 · Patch day
- SUSE: SUSE-SU-2026:21813-1 – Security update for python-GitPython 27.05.2026 · Critical · Patch day
- Ubuntu: USN-8303-1 – GitPython vulnerabilities 26.05.2026 · Critical · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.