DEBIAN-CVE-2026-78676

Source
https://security-tracker.debian.org/tracker/CVE-2026-78676
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-78676.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2026-78676
Upstream
Published
2026-08-25T02:16:52Z
Modified
2026-09-03T22:00:10Z
Severity
  • 9.3 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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 fails to safely re-serialize multi-line git-config values during write operations, corrupting dormant quoted values into injected directives like core.hooksPath. Attackers can craft config files with embedded newlines that become live git directives after any unrelated GitPython config write, enabling arbitrary code execution via hook invocation.

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