DEBIAN-CVE-2026-78677

Source
https://security-tracker.debian.org/tracker/CVE-2026-78677
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-78677.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2026-78677
Upstream
Published
2026-08-25T02:16:52Z
Modified
2026-09-03T22:00:11Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
[none]
Details

GitPython before 3.1.59 omits --separate-git-dir from unsafe_git_clone_options, allowing attackers to create arbitrary git directories outside the intended clone destination. Attackers can pass a separate_git_dir parameter to Repo.clone_from() or Repo.clone() to redirect repository metadata to an attacker-controlled filesystem path, enabling arbitrary directory creation and potential hook execution.

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-78677.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-78677.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-78677.json"