Skip to content
Threat Feed

Vendor

Gitpython

6 briefs RSS
high advisory

GitPython Argument Injection in IndexFile and TagReference

GitPython fails to sanitize keyword arguments passed to git commands, allowing attackers to perform arbitrary file overwrites and unauthorized file reads.

GitPython injection python supply-chain
1t
high advisory

Environment Variable Exfiltration in GitPython

GitPython versions prior to 3.1.52 are vulnerable to environment variable exfiltration when an attacker provides a crafted remote URL to the Repo.clone_from() method.

GitPython exfiltration library-vulnerability credential-theft
1t 1c
high advisory

GitPython Environment Variable Exfiltration via Remote URL Processing

A vulnerability in GitPython allows environment variables to be exfiltrated when using `Repo.create_remote()` or `Remote.add()`, where attacker-supplied URLs are processed by `Git.polish_url()` expanding sensitive environment variables into the URL, which is then stored in `.git/config` and transmitted to an attacker-controlled host.

GitPython supply-chain vulnerability exfiltration data-theft
2t 2i
high advisory

GitPython Incomplete Denylist Allows Arbitrary Command Execution via Git Clone Hooks

A critical vulnerability in GitPython versions up to 3.1.53 allows attackers to achieve arbitrary command execution by influencing `git clone` options to include a malicious `--template` directory, which causes Git hooks to be copied and executed during cloning, even in default configurations.

GitPython <= 3.1.53 git python vulnerability rce
1r 3t
high advisory

GitPython config_writer() Newline Injection Bypasses CVE-2026-42215 Patch

An incomplete patch for CVE-2026-42215 in GitPython allows newline injection in the section parameter of the config_writer() function, enabling arbitrary .git/config modification and remote code execution via core.hooksPath.

GitPython newline-injection rce code-injection
2r 3t 1c
high advisory

GitPython config_writer().set_value() Newline Injection RCE

A newline injection vulnerability in GitPython's `config_writer().set_value()` function enables remote code execution by manipulating the `core.hooksPath` Git configuration.

GitPython newline injection remote code execution config poisoning
2r 1t