gitpython
PyPI9 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting gitpythonpage 1 of 1
- CVE-2022-24439HIGHCVSS 8.1EG 8.1✓ Fixed in 3.1.302022-12-06
vulnerable: 0.1.7 ... 3.1.9 (83 versions)
All versions of package gitpython are vulnerable to Remote Code Execution (RCE) due to improper user input validation, which makes it possible to inject a maliciously crafted remote URL into the clone command. Exploiting this vulnerability…
- CVE-2023-40267CRITICALCVSS 9.8EG 9.8✓ Fixed in 3.1.322023-08-11
vulnerable: 0.1.7 ... 3.1.9 (85 versions)
GitPython before 3.1.32 does not block insecure non-multi options in clone and clone_from. NOTE: this issue exists because of an incomplete fix for CVE-2022-24439.
- CVE-2023-40590HIGHCVSS 7.8EG 7.8✓ Fixed in 3.1.332023-08-28
vulnerable: 0.1.7 ... 3.1.9 (86 versions)
GitPython is a python library used to interact with Git repositories. When resolving a program, Python/Windows look for the current working directory, and after that the PATH environment. GitPython defaults to use the `git` command, if a …
- CVE-2023-41040MEDIUMCVSS 4.0EG 4.0✓ Fixed in 3.1.352023-08-30
vulnerable: 0.1.7 ... 3.1.9 (88 versions)
GitPython is a python library used to interact with Git repositories. In order to resolve some git references, GitPython reads files from the `.git` directory, in some places the name of the file being read is provided by the user, GitPyth…
- CVE-2024-22190HIGHCVSS 7.8EG 7.8✓ Fixed in 3.1.412024-01-11
vulnerable: 0.1.7 ... 3.1.9 (93 versions)
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…
- CVE-2026-42215HIGHCVSS 8.8EG 8.8✓ Fixed in 3.1.472026-05-07
vulnerable: 3.1.30 ... 3.1.46 (16 versions)
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 kwarg…
- CVE-2026-42284HIGHCVSS 8.1EG 8.1✓ Fixed in 3.1.472026-05-07
vulnerable: 0.1.7 ... 3.1.9 (99 versions)
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…
- CVE-2026-44243HIGHCVSS 7.1EG 7.1✓ Fixed in 3.1.482026-05-07
vulnerable: 0.1.7 ... 3.1.9 (100 versions)
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, mov…
- CVE-2026-44244HIGHCVSS 7.8EG 7.8✓ Fixed in 3.1.492026-05-07
vulnerable: 0.1.7 ... 3.1.9 (101 versions)
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 n…
Check whether gitpython is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for gitpython CVEs against the assets you own.
Start Free Scan →