Approved changes feed: RSS · Atom

cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*

part: a version: * update: *

VendorGitpython Project (bdd16a99-3102-5470-9de2-6c63ba069300)
ProductGitpython (625429b6-e8ab-502f-8703-212f5c2d7b74)
Edition*
Language*
Software edition*
Target softwarepython
Target hardware*
Other*

Notes

Imported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-44244 vulnerable 2026-06-08 08:03:18.155833 GitPython: Newline injection in config_writer().set_value() enables RCE via core.hooksPath
HIGH (7.8)
GitPython is a python library used to interact with Git repositories. Prior to version 3.1.49, GitConfigParser.set_value() passes values to Python's configparser without validating for newlines. GitPython's own _write() converts embedded newlines into indented continuation lines (e.g. \n becomes \n\t), but Git still accepts an indented [core] stanza as a section header — so the injected core.hooksPath becomes effective configuration. Any Git operation that invokes hooks (commit, merge, checkout) will then execute scripts from the attacker-controlled path. This issue has been patched in version 3.1.49.
Published: 2026-05-07T18:22:39.704Z
Updated: 2026-05-09T03:56:04.115Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-44243 vulnerable 2026-06-08 08:03:18.155427 GitPython: Path traversal in GitPython reference APIs allows arbitrary file write and delete outside the repository
GitPython is a python library used to interact with Git repositories. Prior to version 3.1.48, a vulnerability in GitPython allows attackers who can supply a crafted reference path to an application using GitPython to write, overwrite, move, or delete files outside the repository’s .git directory via insufficient validation of reference paths in reference creation, rename, and delete operations. This issue has been patched in version 3.1.48.
Published: 2026-05-07T18:22:53.622Z
Updated: 2026-05-07T19:12:49.856Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-42284 vulnerable 2026-06-08 08:03:16.119585 GitPython: Unsafe option check validates multi_options before shlex.split transforms it
HIGH (8.1)
GitPython is a python library used to interact with Git repositories. Prior to version 3.1.47, _clone() validates multi_options as the original list, then executes shlex.split(" ".join(multi_options)). A string like "--branch main --config core.hooksPath=/x" passes validation (starts with --branch), but after split becomes ["--branch", "main", "--config", "core.hooksPath=/x"]. Git applies the config and executes attacker hooks during clone. This issue has been patched in version 3.1.47.
Published: 2026-05-07T18:19:20.129Z
Updated: 2026-05-09T03:56:02.927Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-42215 vulnerable 2026-06-08 08:03:16.042732 GitPython: Command injection via Git options bypass
HIGH (8.8)
GitPython is a python library used to interact with Git repositories. From version 3.1.30 to before version 3.1.47, GitPython blocks dangerous Git options such as --upload-pack and --receive-pack by default, but the equivalent Python kwargs upload_pack and receive_pack bypass that check. If an application passes attacker-controlled kwargs into Repo.clone_from(), Remote.fetch(), Remote.pull(), or Remote.push(), this leads to arbitrary command execution even when allow_unsafe_options is left at its default value of False. This issue has been patched in version 3.1.47.
Published: 2026-05-07T18:17:03.194Z
Updated: 2026-05-09T03:56:00.861Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-22190 vulnerable 2026-06-08 06:29:34.062651 Untrusted search path under some conditions on Windows allows arbitrary code execution
HIGH (7.8)
GitPython is a python library used to interact with Git repositories. There is an incomplete fix for CVE-2023-40590. On Windows, GitPython uses an untrusted search path if it uses a shell to run `git`, as well as when it runs `bash.exe` to interpret hooks. If either of those features are used on Windows, a malicious `git.exe` or `bash.exe` may be run from an untrusted repository. This issue has been patched in version 3.1.41.
Published: 2024-01-11T01:23:17.944Z
Updated: 2024-09-03T18:23:46.612Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-41040 vulnerable 2026-06-08 06:11:04.885272 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-40590 vulnerable 2026-06-08 06:11:03.914649 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-40267 vulnerable 2026-06-08 06:09:41.921971 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-24439 vulnerable 2026-06-08 05:41:00.576066 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.