CVE-2026-73622Gitpython Project Gitpython
High 8.7 No auth needed
Follow: this CVE · Gitpython Project · Gitpython Project Gitpython We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 4.0
- 8.7
- EPSS
- —
- Auth required
- No
- Published
- Aug 13, 2026
- Updated
- Oct 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-200
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for Gitpython.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | gitpython |
< 3.1.55 |
3.1.55 |
pip install "gitpython>=3.1.55" |
| PyPI | gitpython |
< 3.1.55 |
3.1.55 |
pip install "gitpython>=3.1.55" |
Per OSV / GitHub Advisories (GHSA-94p4-4cq8-9g67, PYSEC-2026-3951). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gitpython_project | gitpython | < 3.1.55 |
Official advisories
- Red Hat Security Advisory: Satellite 6.17.12 Async Update · Red Hat · RHSA-2026:74505 · Nov 23, 2026 Critical
- Red Hat Security Advisory: Satellite 6.16.14 Async Update · Red Hat · RHSA-2026:74506 · Nov 23, 2026 Critical
- Security update for python-GitPython · SUSE · openSUSE-SU-2026:21874-1 · Sep 18, 2026 Critical
- Security update for python-GitPython · SUSE · SUSE-SU-2026:4072-1 · Sep 8, 2026 Critical
- Red Hat Security Advisory: Satellite 6.19.4 Async Update · Red Hat · RHSA-2026:63385 · Sep 4, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Vendor Advisory
- www.vulncheck.com Third Party Advisory