cve.bz

CVE-2026-73622 gitpython project gitpython

8.7 highExploit referenceEPSS 0.5%Fix available

High (8.7) in gitpython project gitpython. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in gitpython 3.1.55.

On this page
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

CVSS 4.0

8.7 high
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 44th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-08-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-73622 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-73622?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-73622?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-73622 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
gitpython-developers GitPythonbefore 3.1.55

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-94p4-4cq8-9g67PyPIgitpython<3.1.553.1.55
PYSEC-2026-3951PyPIgitpython<3.1.553.1.55

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12python-git3.1.30-1+deb12u3DEBIAN-CVE-2026-73622
Debian13python-git3.1.44-1+deb13u1DEBIAN-CVE-2026-73622
Debian14python-git3.1.61-1DEBIAN-CVE-2026-73622
Ubuntu26.10, Pro:14.04:LTS, Pro:16.04:LTS and 5 morepython-gitno fix listedUBUNTU-CVE-2026-73622
Red Hatsatellite:6.19::el9, satellite_capsule:6.19::el9ansible-core, ansible-test1:2.16.19-1.el9satRHSA-2026:63385
Red Hatsatellite:6.19::el9, satellite_capsule:6.19::el9openvox-server0:8.15.2-1.el9satRHSA-2026:63385
Red Hatsatellite:6.19::el9, satellite_capsule:6.19::el9python3.12-aiohttp, python3.12-aiohttp-debuginfo, python3.12-aiohttp-debugsource0:3.14.3-1.el9pcRHSA-2026:63385
Red Hatsatellite:6.19::el9, satellite_capsule:6.19::el9python3.12-gitpython0:3.1.59-1.el9pcRHSA-2026:63385
Red Hatsatellite:6.19::el9, satellite_capsule:6.19::el9, satellite_utils:6.19::el9rubygem-jwt0:2.10.3-1.el9satRHSA-2026:63385
Red Hatsatellite_maintenance:6.19::el9ansible-core1:2.16.19-1.el9satRHSA-2026:63385
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morepython-GitPython3.1.34.1693646983.2a2ae77-150400.9.8.1SUSE-SU-2026:4072-1
openSUSELeap 16.0python-GitPython3.1.44-160000.4.1openSUSE-SU-2026:21874-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is an Important information disclosure flaw in GitPython. It allows an attacker to exfiltrate sensitive environment variables from systems that use GitPython to create or add remote repositories from untrusted URLs. This occurs because environment variable expansion is not disabled in URL handling, leading to secrets being embedded in Git configuration and transmitted to attacker-controlled hosts.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Satellite 6.16 for RHEL 8foreman-0:3.12.0.23-1.el8satFixed 2026-10-01RHSA-2026:74506
Red Hat Satellite 6.16 for RHEL 8python-dynaconf-0:3.2.13-1.el8pcFixed 2026-10-01RHSA-2026:74506
Red Hat Satellite 6.16 for RHEL 8python-gitpython-0:3.1.62-1.el8pcFixed 2026-10-01RHSA-2026:74506
Red Hat Satellite 6.16 for RHEL 8python-lxml-0:4.9.2-5.el8pcFixed 2026-10-01RHSA-2026:74506
Red Hat Satellite 6.16 for RHEL 8python-pulpcore-0:3.49.39-4.el8pcFixed 2026-10-01RHSA-2026:74506
Red Hat Satellite 6.16 for RHEL 8python-sqlparse-0:0.6.0-1.el8pcFixed 2026-10-01RHSA-2026:74506
Red Hat Satellite 6.16 for RHEL 8rubygem-foreman_remote_execution-0:13.2.8-2.el8satFixed 2026-10-01RHSA-2026:74506
Red Hat Satellite 6.16 for RHEL 8rubygem-hammer_cli-0:3.12.0-2.el8satFixed 2026-10-01RHSA-2026:74506
Red Hat Satellite 6.16 for RHEL 8rubygem-katello-0:4.14.0.23-1.el8satFixed 2026-10-01RHSA-2026:74506
Red Hat Satellite 6.16 for RHEL 8rubygem-safemode-0:1.5.0-2.el8satFixed 2026-10-01RHSA-2026:74506
Migration Toolkit for Applications 8mta/mta-solution-server-rhel9Not affected
Pen Drive Powered by Red Hat Lightspeedpen-drive/pen-drive-scanner-rhel9Not affected
Red Hat AI Inference Serverrhaiis/vllm-cpu-rhel9Will not fix
Red Hat AI Inference Serverrhaiis/vllm-tpu-rhel9Will not fix
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/controller-rhel8Will not fix
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/hub-rhel8Will not fix
Red Hat Ansible Automation Platform 2automation-controllerNot affected
Red Hat Ansible Automation Platform 2python-gitpythonNot affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-cuda-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-gaudi-rhel9Will not fix
82 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-73622.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON