Skip to content
CVE PROGRAM SOURCE RECORD8.7 High

CVE-2026-73622

GitPython before 3.1.55 Environment Variable Exfiltration via Remote.add()

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

gitpython-developers GitPython

Default version status: unaffected

  • 0 to < 3.1.55affected
  • 3.1.55unaffected
pkg:pypi/gitpython

References