DEBIAN-CVE-2026-76218

Source
https://security-tracker.debian.org/tracker/CVE-2026-76218
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-76218.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2026-76218
Upstream
Published
2026-08-19T14:17:48Z
Modified
2026-09-04T09:00:34Z
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 before 3.1.58 contains a remote code execution vulnerability in Repo.init that forwards unsafe git options without validation. Attackers can supply a template parameter pointing to a directory with malicious git hooks that execute arbitrary code when git operations are performed on the initialized repository.

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-76218.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-76218.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.61-1

Affected versions

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

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

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