● PyPI package
gitpython
Gitpython has 44 security advisories. The newest release any of them names as the fix is 3.2.1.
As of , gitpython has 44 security advisories. The newest release any of them names as the fix is 3.2.1.
Your version, and the version to upgrade to
| If you run | Upgrade to | Advisories |
|---|---|---|
| Before 3.2.1 | 3.2.1 | 44 advisories |
Security advisories, newest first
| Advisory | What it is | Affects | Fixed in | Published |
|---|---|---|---|---|
| CVE-2026-110859GHSA-23mf-xhv8-69c2 | GitPython: arbitrary file read via attacker-controlled branch name in `Head.checkout()` (incomplete fix of CVE-2026-78679)High severity | Before 3.2.0 | 3.2.0 | |
| CVE-2026-110860GHSA-gq48-pqfc-9p58 | GitPython: Submodule.move() follows an attacker-committed intermediate symlink outside the worktreeModerate severity | Before 3.2.0 | 3.2.0 | |
| CVE-2026-110858GHSA-f9j4-qggq-h239 | GitPython Remote.pull() refspec bypasses the --upload-pack unsafe-option guard, enabling arbitrary command executionHigh severity | From 3.1.30 before 3.2.0 | 3.2.0 | |
| CVE-2026-110857GHSA-w8jc-g24h-crhw | GitPython command wrappers omit unsafe protocol and option checksHigh severity | Before 3.2.0 | 3.2.0 | |
| CVE-2026-110855GHSA-fx3j-rwgx-fr94 | GitPython: separate_git_dir leaks env vars via crafted .gitmodules submodule nameModerate severity | Before 3.2.0 | 3.2.0 | |
| CVE-2026-110856GHSA-m64x-33q8-m5h7 | GitPython parse_actor_and_date() is vulnerable to quadratic backtracking on malformed identity linesHigh severity | Before 3.2.0 | 3.2.0 | |
| CVE-2026-114145GHSA-83vg-56qc-22m7 | GitPython validates a submodule's ".git" path only after cloning into it (RCE)High severity | Before 3.2.1 | 3.2.1 | |
| CVE-2026-100689GHSA-59cr-6r3x-644w | GitPython submodule update path traversal can write outside the repositoryModerate severity | Before 3.1.62 | 3.1.62 | |
| CVE-2026-87818GHSA-whh4-5q6c-9v3x | GitPython: --no-index bypasses diff unsafe-option protections and enables a blind local-file content oracleModerate severity | From 3.1.59 before 3.1.60 | 3.1.60 | |
| CVE-2026-87819GHSA-g5vv-9gxw-82hx, PYSEC-2026-3984 | GitPython: Denial of Service via catastrophic backtracking (ReDoS) in Actor.name_email_regex, commit author/committer field parsingHigh severity | Before 3.1.60 | 3.1.60 | |
| CVE-2026-87817GHSA-239g-whfq-7xj9, PYSEC-2026-3982 | GitPython: Repository content can impersonate the git directory, leading to arbitrary code executionHigh severity | Before 3.1.60 | 3.1.60 | |
| CVE-2026-78679GHSA-3wxw-xv34-2frg, PYSEC-2026-3837 | GitPython: TagReference.create positional reference bypasses kwargs-only --file guard, enabling arbitrary file read (incomplete fix of 3af0c251)Moderate severity | Before 3.1.59 | 3.1.59 | |
| CVE-2026-78678GHSA-5xxx-qhh7-9287, PYSEC-2026-3788 | GitPython: Incomplete unsafe_git_revision_options denylist omits --contents/-S, enabling arbitrary file read via Repo.blame()Moderate severity | Before 3.1.59 | 3.1.59 | |
| CVE-2026-78677GHSA-8mcc-hrx5-hvxc, PYSEC-2026-3787 | GitPython: clone_from()/clone() omit --separate-git-dir from unsafe_git_clone_options, enabling arbitrary git-directory creation outside the destinationHigh severity | Before 3.1.59 | 3.1.59 | |
| CVE-2026-78676GHSA-284h-m62q-gf8w, PYSEC-2026-3786 | GitPython: Dormant multi-line git-config values are corrupted into live injected directives (e.g. core.hooksPath) on any unrelated GitConfigParser write, enabling RCECritical severity | Before 3.1.59 | 3.1.59 | |
| CVE-2026-78675GHSA-7833-fr7j-v32q, PYSEC-2026-3785 | GitPython: Arbitrary local file content disclosure via [include] directive in untrusted .gitmodules (SubmoduleConfigParser never disables merge_includes)High severity | Before 3.1.59 | 3.1.59 | |
| CVE-2026-76220GHSA-wvpp-8hx9-p66j, PYSEC-2026-3843 | GitPython: Unsafe git option guard bypass via split_single_char_options=False short-option token smuggling enables command executionHigh severity | Before 3.1.58 | 3.1.58 | |
| CVE-2026-76221GHSA-jm78-9fvv-mhgr, PYSEC-2026-3783 | GitPython: git-config OPTION-name injection via =/#/whitespace bypasses name validator, enabling forged core.sshCommand/hooksPath (RCE)High severity | Before 3.1.58 | 3.1.58 | |
| CVE-2026-76222GHSA-hmq2-w58f-27jc, PYSEC-2026-3784 | GitPython: Arbitrary Git Repository Creation Outside the Working Tree via Unvalidated .gitmodules Submodule Name in GitPythonHigh severity | Before 3.1.58 | 3.1.58 | |
| CVE-2026-76217GHSA-hh9p-6wh2-4mfc, PYSEC-2026-3841 | GitPython: Arbitrary file read via --pathspec-from-file in IndexFile.remove() and Head.checkout()Moderate severity | Before 3.1.58 | 3.1.58 | |
| CVE-2026-76218GHSA-9rj7-rf2p-w77r, PYSEC-2026-3840 | GitPython: Unguarded git option forwarding in Repo.init enables arbitrary command execution via --template clone hooksHigh severity | Before 3.1.58 | 3.1.58 | |
| CVE-2026-76219GHSA-4gmw-gg2m-w46p, PYSEC-2026-3838 | GitPython: Unguarded git read-tree option forwarding in IndexFile.from_tree/reset/merge_tree enables arbitrary file overwriteHigh severity | Before 3.1.58 | 3.1.58 | |
| CVE-2026-73621GHSA-p538-c434-8v24, PYSEC-2026-3950 | GitPython: Arbitrary file truncation via git rev-list --output argument injection in unguarded Commit.countModerate severity | Before 3.1.56 | 3.1.56 | |
| CVE-2026-73619GHSA-539m-9xh6-q6rr, PYSEC-2026-3948 | GitPython: Incomplete unsafe_git_archive_options denylist omits --add-file / --add-virtual-file, enabling arbitrary file read via Repo.archive()Moderate severity | Before 3.1.57 | 3.1.57 | |
| CVE-2026-73620GHSA-3f7w-8rr8-f37f, PYSEC-2026-3949 | GitPython: Unguarded git option forwarding in IndexFile.checkout() and TagReference.create() enables arbitrary file overwrite and arbitrary file readHigh severity | Before 3.1.57 | 3.1.57 | |
| CVE-2026-73622GHSA-94p4-4cq8-9g67, PYSEC-2026-3951 | GitPython: Environment-variable exfiltration via Repo.create_remote() / Remote.add() URL (incomplete fix of GHSA-rwj8-pgh3-r573)High severity | Before 3.1.55 | 3.1.55 | |
| CVE-2026-73625GHSA-r9mr-m37c-5fr3, PYSEC-2026-3953 | GitPython: Unsafe git option guard bypass via single-character kwarg value token smuggling enables arbitrary command executionHigh severity | Before 3.1.54 | 3.1.54 | |
| CVE-2026-73623GHSA-6p8h-3wgx-97gf, PYSEC-2026-3952 | GitPython: Incomplete unsafe_git_clone_options denylist omits --template enabling arbitrary command execution via clone hooksHigh severity | Before 3.1.54 | 3.1.54 | |
| CVE-2026-73624GHSA-fjr4-x663-mwxc, PYSEC-2026-3995 | GitPython: Arbitrary file overwrite via git diff --output argument injection in Diffable.diff (key- and value-controlled)High severity | Before 3.1.54 | 3.1.54 | |
| CVE-2026-69097GHSA-3rp5-jjmw-4wv2, PYSEC-2026-3981 | GitPython: git-config section-name injection enables arbitrary config directives (core.sshCommand RCE)High severity | Before 3.1.53 | 3.1.53 | |
| CVE-2026-67322GHSA-rwj8-pgh3-r573, PYSEC-2026-3842 | GitPython: Environment-variable exfiltration via os.path.expandvars() on Repo.clone_from() URLHigh severity | Before 3.1.52 | 3.1.52 | |
| CVE-2026-67323GHSA-956x-8gvw-wg5v, PYSEC-2026-3839 | GitPython: command injection via unguarded Git options in `Repo.archive()`, `git.ls_remote()`, and arbitrary file overwrite via `Repo.iter_commits()` / `Repo.blame()`High severity | Before 3.1.51 | 3.1.51 | |
| CVE-2026-67325GHSA-2f96-g7mh-g2hx, PYSEC-2026-3836 | GitPython: Command Injection via git long-option prefix abbreviation bypass of CVE-2026-42215 blocklistHigh severity | Before 3.1.51 | 3.1.51 | |
| CVE-2026-67324GHSA-v396-v7q4-x2qj, PYSEC-2026-3947 | GitPython unsafe clone option gate bypass through joined short optionsHigh severity | From 3.1.50 before 3.1.51 | 3.1.51 | |
| CVE-2026-67326GHSA-mv93-w799-cj2w, PYSEC-2026-3980 | GitPython: Newline injection in config_writer() section parameter bypasses CVE-2026-42215 patch, enabling RCE via core.hooksPathHigh severity | Before 3.1.50 | 3.1.50 | |
| CVE-2026-44244GHSA-v87r-6q3f-2j67, PYSEC-2026-2163 | GitPython: Newline injection in config_writer().set_value() enables RCE via core.hooksPathHigh severity | Before 3.1.49 | 3.1.49 | |
| CVE-2026-44243GHSA-7545-fcxq-7j24, PYSEC-2026-2162 | GitPython reference APIs has a path traversal vulnerability that allows arbitrary file write and delete outside the repositoryHigh severity | Before 3.1.48 | 3.1.48 | |
| CVE-2026-42215GHSA-rpm5-65cw-6hj4, PYSEC-2026-2160 | GitPython has Command Injection via Git options bypassHigh severity | From 3.1.30 before 3.1.47 | 3.1.47 | |
| CVE-2026-42284GHSA-x2qx-6953-8485, PYSEC-2026-2161 | GitPython: Unsafe option check validates multi_options before shlex.split transformationHigh severity | Before 3.1.47 | 3.1.47 | |
| CVE-2024-22190GHSA-2mqj-m65w-jghx, PYSEC-2024-4 | Untrusted search path under some conditions on Windows allows arbitrary code executionHigh severity | Before 3.1.41 | 3.1.41 | |
| CVE-2023-41040GHSA-cwvm-v4w8-q58c, PYSEC-2023-165 | GitPython blind local file inclusionModerate severity | Before 3.1.37 | 3.1.37 | |
| CVE-2023-40590GHSA-wfm5-v35h-vwf4, PYSEC-2023-161 | GitPython untrusted search path on Windows systems leading to arbitrary code executionHigh severity | Before 3.1.33 | 3.1.33 | |
| CVE-2023-40267GHSA-pr76-5cm5-w9cj, PYSEC-2023-137 | GitPython vulnerable to remote code execution due to insufficient sanitization of input argumentsCritical severity | Before 3.1.32 | 3.1.32 | |
| CVE-2022-24439GHSA-hcpj-qp55-gfph, PYSEC-2022-42992 | GitPython vulnerable to Remote Code Execution due to improper user input validationCritical severity | Before 3.1.30 | 3.1.30 |
Other PyPI packages
- vyper47 advisories
- matrix-synapse45 advisories
- keystone44 advisories
- rdiffweb43 advisories