CVE-2026-73622 PUBLISHED

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

Assigner: VulnCheck
Reserved: 13.08.2026 Published: 13.08.2026 Updated: 13.08.2026

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.

Metrics

CVSS 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
CVSS Score: 8.7

Product Status

Vendor gitpython-developers
Product GitPython
Versions Default: unaffected
  • affected from 0 to 3.1.55 (excl.)
  • Version 3.1.55 is unaffected

Credits

  • alimony reporter

References

Problem Types

  • Exposure of Sensitive Information to an Unauthorized Actor CWE