CVE-2026-73622: Exposure of Sensitive Information to an Unauthorized Actor in gitpython-developers GitPython
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.
AI Analysis
Technical Summary
The vulnerability in GitPython prior to version 3.1.55 involves improper handling of environment variable expansion in the Remote.create() and Submodule.add() functions when processing URLs. Attackers can supply URLs containing environment variable tokens that are expanded into sensitive configuration files such as .git/config and .gitmodules. These expanded values are then transmitted to attacker-controlled hosts during Git fetch or pull operations, resulting in exposure of sensitive information to unauthorized actors. The CVSS 4.0 score is 8.7, indicating high severity due to network attack vector, low attack complexity, no privileges or user interaction required, and high impact on confidentiality.
Potential Impact
Sensitive information contained in Git configuration files (.git/config and .gitmodules) can be exfiltrated to attacker-controlled hosts without any authentication or user interaction. This exposure could lead to disclosure of secrets or credentials stored in these files, potentially compromising the security of the affected systems or repositories.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects GitPython before 3.1.55, upgrading to version 3.1.55 or later is likely the intended remediation once officially released. Until then, avoid using untrusted URLs in Remote.create() and Submodule.add() operations or apply any temporary mitigations recommended by the vendor.
CVE-2026-73622: Exposure of Sensitive Information to an Unauthorized Actor in gitpython-developers GitPython
Description
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.
CVSS v4.0
Score 8.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in GitPython prior to version 3.1.55 involves improper handling of environment variable expansion in the Remote.create() and Submodule.add() functions when processing URLs. Attackers can supply URLs containing environment variable tokens that are expanded into sensitive configuration files such as .git/config and .gitmodules. These expanded values are then transmitted to attacker-controlled hosts during Git fetch or pull operations, resulting in exposure of sensitive information to unauthorized actors. The CVSS 4.0 score is 8.7, indicating high severity due to network attack vector, low attack complexity, no privileges or user interaction required, and high impact on confidentiality.
Potential Impact
Sensitive information contained in Git configuration files (.git/config and .gitmodules) can be exfiltrated to attacker-controlled hosts without any authentication or user interaction. This exposure could lead to disclosure of secrets or credentials stored in these files, potentially compromising the security of the affected systems or repositories.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects GitPython before 3.1.55, upgrading to version 3.1.55 or later is likely the intended remediation once officially released. Until then, avoid using untrusted URLs in Remote.create() and Submodule.add() operations or apply any temporary mitigations recommended by the vendor.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-13T11:17:25.160Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7dbdfbbf8831d5393225f9
Added to database: 08/13/2026, 12:52:11 UTC
Last enriched: 08/13/2026, 12:56:43 UTC
Last updated: 08/13/2026, 17:48:39 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.