Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-42215

published high CVSS 3.1 · 8.8

GitPython: Command injection via Git options bypass

Published
07 May 2026, 18:17:03 UTC
Updated
09 May 2026, 03:56:00 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
gitpython-developers — GitPython>= 3.1.30, < 3.1.47 Affected Not stated GitHub_M
Alpine Linux edge py3-gitpython Fixed 3.1.49-r0 Package fix record
Debian bookworm python-git Advisory build 3.1.30-1+deb12u3 DLA-4872-1
SUSE / openSUSE SLE-15-SP4 python311-GitPythonnoarch Advisory build 3.1.34.1693646983.2a2ae77-150400.9.8.1 SUSE-SU-2026:4072-1
Ubuntu bionic python-git Advisory build 2.1.8-1ubuntu0.1~esm4 USN-8303-1
Alpine Linux v3.23 py3-gitpython Fixed 3.1.49-r0 Package fix record
Alpine Linux v3.24 py3-gitpython Fixed 3.1.49-r0 Package fix record
Debian trixie python-git Advisory build 3.1.44-1+deb13u1 DSA-6594-1
Show 30 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-15-SP5 python311-GitPythonnoarch Advisory build 3.1.34.1693646983.2a2ae77-150400.9.8.1 SUSE-SU-2026:4072-1
SUSE / openSUSE SLE-15-SP6 python311-GitPythonnoarch Advisory build 3.1.34.1693646983.2a2ae77-150400.9.8.1 SUSE-SU-2026:4072-1
SUSE / openSUSE SLE-15-SP7 python311-GitPythonnoarch Advisory build 3.1.34.1693646983.2a2ae77-150400.9.8.1 SUSE-SU-2026:4072-1
SUSE / openSUSE SLE-16 python313-GitPythonnoarch Advisory build 3.1.44-160000.3.1 SUSE-SU-2026:21813-1
SUSE / openSUSE SLE-3-SP7 python311-GitPythonnoarch Advisory build 3.1.34.1693646983.2a2ae77-150400.9.8.1 SUSE-SU-2026:4072-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-GitPythonnoarch Advisory build 3.1.44-160000.3.1 OPENSUSE-SU-2026:20777-1
SUSE / openSUSE openSUSE-Tumbleweed python311-GitPythonaarch64 Advisory build 3.1.49-1.1 OPENSUSE-SU-2026:10758-1
SUSE / openSUSE openSUSE-Tumbleweed python311-GitPythonppc64le Advisory build 3.1.49-1.1 OPENSUSE-SU-2026:10758-1
SUSE / openSUSE openSUSE-Tumbleweed python311-GitPythons390x Advisory build 3.1.49-1.1 OPENSUSE-SU-2026:10758-1
SUSE / openSUSE openSUSE-Tumbleweed python311-GitPythonx86_64 Advisory build 3.1.49-1.1 OPENSUSE-SU-2026:10758-1
SUSE / openSUSE openSUSE-Tumbleweed python313-GitPythonaarch64 Advisory build 3.1.49-1.1 OPENSUSE-SU-2026:10758-1
SUSE / openSUSE openSUSE-Tumbleweed python313-GitPythonppc64le Advisory build 3.1.49-1.1 OPENSUSE-SU-2026:10758-1
SUSE / openSUSE openSUSE-Tumbleweed python313-GitPythons390x Advisory build 3.1.49-1.1 OPENSUSE-SU-2026:10758-1
SUSE / openSUSE openSUSE-Tumbleweed python313-GitPythonx86_64 Advisory build 3.1.49-1.1 OPENSUSE-SU-2026:10758-1
SUSE / openSUSE openSUSE-Tumbleweed python314-GitPythonaarch64 Advisory build 3.1.49-1.1 OPENSUSE-SU-2026:10758-1
SUSE / openSUSE openSUSE-Tumbleweed python314-GitPythonppc64le Advisory build 3.1.49-1.1 OPENSUSE-SU-2026:10758-1
SUSE / openSUSE openSUSE-Tumbleweed python314-GitPythons390x Advisory build 3.1.49-1.1 OPENSUSE-SU-2026:10758-1
SUSE / openSUSE openSUSE-Tumbleweed python314-GitPythonx86_64 Advisory build 3.1.49-1.1 OPENSUSE-SU-2026:10758-1
Ubuntu bionic python3-git Advisory build 2.1.8-1ubuntu0.1~esm4 USN-8303-1
Ubuntu focal python-git Advisory build 3.0.7-1ubuntu0.1~esm4 USN-8303-1
Ubuntu focal python3-git Advisory build 3.0.7-1ubuntu0.1~esm4 USN-8303-1
Ubuntu jammy python-git Advisory build 3.1.24-1ubuntu0.1~esm3 USN-8303-1
Ubuntu jammy python3-git Advisory build 3.1.24-1ubuntu0.1~esm3 USN-8303-1
Ubuntu noble python-git Advisory build 3.1.37-3ubuntu0.1~esm2 USN-8303-1
Ubuntu noble python3-git Advisory build 3.1.37-3ubuntu0.1~esm2 USN-8303-1
Ubuntu resolute python-git Advisory build 3.1.46-1ubuntu0.1~esm1 USN-8303-1
Ubuntu resolute python3-git Advisory build 3.1.46-1ubuntu0.1~esm1 USN-8303-1
Ubuntu trusty python-git Advisory build 0.3.2~RC1-3ubuntu0.1~esm3 USN-8303-1
Ubuntu xenial python-git Advisory build 1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm4 USN-8303-1
Ubuntu xenial python3-git Advisory build 1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm4 USN-8303-1

Description

GitPython 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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

20

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
gitpython-developers GitPython >= 3.1.30, < 3.1.47 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (GitHub_M · cna)

References

2

Provider assertions

2

GitHub_M · cna

GitPython: Command injection via Git options bypass

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
46a1dae5b415308f481661f28d17ab055578a7ee5a09aaa72a3e9485326817d8
Ingested
23 Sep 2026, 09:14:00 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected