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-42284

published high CVSS 3.1 · 8.1

GitPython: Unsafe option check validates multi_options before shlex.split transforms it

Published
07 May 2026, 18:19:20 UTC
Updated
09 May 2026, 03:56:02 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
gitpython-developers — GitPython< 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 focal python-git Advisory build 3.0.7-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 13 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
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

Description

GitPython is a python library used to interact with Git repositories. Prior to version 3.1.47, _clone() validates multi_options as the original list, then executes shlex.split(" ".join(multi_options)). A string like "--branch main --config core.hooksPath=/x" passes validation (starts with --branch), but after split becomes ["--branch", "main", "--config", "core.hooksPath=/x"]. Git applies the config and executes attacker hooks during clone. This issue has been patched in version 3.1.47.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

16

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.1 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/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.47 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-88 CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (GitHub_M · cna)

References

3

Provider assertions

2

GitHub_M · cna

GitPython: Unsafe option check validates multi_options before shlex.split transforms it

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
50d45fb05115bb1b1b3e7135fafcc39663488c4d09a352921192be7120f5bc8d
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