DEBIAN-CVE-2026-42215

Source
https://security-tracker.debian.org/tracker/CVE-2026-42215
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42215.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2026-42215
Upstream
Published
2026-05-07T19:16:01Z
Modified
2026-09-01T16:06:42Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:12 / python-git

Package

Name
python-git
Purl
pkg:deb/debian/python-git?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.1.30-1
3.1.30-1+deb12u2
3.1.36-1
3.1.37-1
3.1.37-2
3.1.37-3
3.1.44-1
3.1.45-1
3.1.46-1
3.1.50-1
3.1.61-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42215.json"

Debian:13 / python-git

Package

Name
python-git
Purl
pkg:deb/debian/python-git?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.1.44-1
3.1.45-1
3.1.46-1
3.1.50-1
3.1.61-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42215.json"

Debian:14 / python-git

Package

Name
python-git
Purl
pkg:deb/debian/python-git?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.1.50-1

Affected versions

3.*
3.1.44-1
3.1.45-1
3.1.46-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42215.json"