CVE-2026-67322

GitPython · GitPython

GitPython is vulnerable to the unauthorized exposure of sensitive information, such as environment variables, via improper handling of clone operations.

Executive summary

An information disclosure vulnerability in GitPython allows unauthenticated attackers to exfiltrate sensitive environment variables through malicious clone requests.

Vulnerability

This is an Exposure of Sensitive Information (CWE-200) vulnerability. It allows an attacker to influence the clone process to leak environment variables, which often contain credentials or configuration secrets.

Business impact

Exposure of environment variables can lead to the compromise of API keys, database credentials, or other authentication tokens stored in the system. With a CVSS score of 7.5, this vulnerability could facilitate further lateral movement or unauthorized access to integrated services, significantly increasing the risk to the broader infrastructure.

Remediation

Immediate Action: Update the GitPython library to version 3.1.52 or later to resolve the information leakage flaw.

Proactive Monitoring: Monitor application logs for unusual clone requests or attempts to access configuration files and environment variables.

Compensating Controls: Rotate any sensitive credentials or secrets that were present in the environment variables of systems running older, vulnerable versions of GitPython.

Exploitation status

Public Exploit Available: Unknown

Analyst recommendation

The risk of credential leakage makes this vulnerability a priority for security teams. Users must update to GitPython 3.1.52 and consider rotating sensitive environment secrets as a precautionary measure to prevent unauthorized access.