
CVE catalog
CVE-2026-73622
GitPython before 3.1.55 fails to disable environment…
GitPython before 3.1.55 fails to disable environment variable expansion in Remote.create() and Submodule.add() URL handling, allowing attackers to exfiltrate secrets by supplying URLs containing variable references. Attackers can craft URLs with environment variable tokens that are expanded into .git/config and .gitmodules, then transmitted to attacker-controlled hosts during fetch or pull operations.
- Severity
- High · CVSS 8.7
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 - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.51% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
Version impact has not been established. The original provider fields are retained below.
Provider details and historical evidence
Original provider fields
{
"package_releases": [
{
"name": "python-git",
"status": "fixed",
"release": "sid",
"version": "3.2.1-1"
},
{
"name": "python-git",
"status": "fixed",
"release": "forky",
"version": "3.2.1-1"
},
{
"name": "python-git",
"status": "vulnerable",
"release": "trixie",
"version": "3.1.44-1"
},
{
"name": "python-git",
"status": "vulnerable",
"release": "bookworm",
"version": "3.1.30-1+deb12u2"
}
],
"fixed_versions": [
{
"bug": 1144344,
"name": "python-git",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "3.1.61-1"
},
{
"bug": 1144344,
"name": "python-git",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": "3.1.61-1"
},
{
"bug": 1144344,
"name": "python-git",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": ""
},
{
"bug": 1144344,
"name": "python-git",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": ""
}
],
"distribution_packages": [
{
"name": "gitpython",
"ranges": [
{
"fixed": "3.1.55",
"introduced": "",
"last_affected": "",
"start_excluding": ""
}
],
"ecosystem": "cpe",
"fixed_version": "3.1.55",
"provider_record_id": "NVD-CVE-2026-73622"
},
{
"name": "gitpython",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.1.55"
}
]
}
],
"ecosystem": "PyPI",
"fixed_version": "3.1.55",
"provider_record_id": "GHSA-94P4-4CQ8-9G67"
},
{
"name": "gitpython",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.1.55"
}
]
}
],
"ecosystem": "PyPI",
"fixed_version": "3.1.55",
"provider_record_id": "PYSEC-2026-3951"
}
]
}OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [python3-git]Unknown
Source package: [python-git]
Details (2)
3.1.30-1+deb12u2· all · bookwormAffected
nvd · python-git · debian · bookworm; nvd · python-git · debian · 12
3.1.30-1+deb12u2· all · bookwormAffected
nvd · python-git · debian · bookworm; nvd · python-git · debian · 12
- [python-git-doc]Unknown
Source package: [python-git]
Details (2)
3.1.30-1+deb12u2· all · bookwormAffected
nvd · python-git · debian · bookworm; nvd · python-git · debian · 12
3.1.30-1+deb12u2· all · bookwormAffected
nvd · python-git · debian · bookworm; nvd · python-git · debian · 12
[Debian 13 (Trixie)]
- [python3-git]Unknown
Source package: [python-git]
Details (2)
3.1.44-1· all · trixieAffected
nvd · python-git · debian · 13
3.1.44-1· all · trixieAffected
nvd · python-git · debian · 13
- [python-git-doc]Unknown
Source package: [python-git]
Details (2)
3.1.44-1· all · trixieAffected
nvd · python-git · debian · 13
3.1.44-1· all · trixieAffected
nvd · python-git · debian · 13
Observed:
References
- [https://access.redhat.com/errata/RHSA-2026:63385]
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_4072-1.json]
- [https://github.com/gitpython-developers/GitPython/commit/8ac5a30519b6f4af85398b9b9d7064ff4d452da2]
- [https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-94p4-4cq8-9g67]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-73622]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-73622]
- [https://osv.dev/vulnerability/GHSA-94p4-4cq8-9g67]
- [https://security-tracker.debian.org/tracker/CVE-2026-73622]
- [https://www.vulncheck.com/advisories/gitpython-before-environment-variable-exfiltration-via-remote-add]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]