gitpython-developers GitPython vulnerabilities (CVE)

CVE records published for gitpython-developers GitPython, newest first. Follow to get an email when a new one appears.

39 results
5.9Medium
CVE-2026-100689

GitPython before 3.1.62 Path Traversal via gitmodules path

gitpython-developers GitPython

GitPython before 3.1.62 does not validate the `path` field read from an untrusted .gitmodules file when updating submodules. While a prior fix (GHSA-hmq2-w58f-27jc) added Submodule._validated_name() to constrain the `name` field, and GitPython's own containme…

7.5High
CVE-2026-87819

GitPython before 3.1.60 Denial of Service via ReDoS

gitpython-developers GitPython

GitPython before 3.1.60 contains a regular expression denial of service vulnerability in Actor.name_email_regex that processes commit author and committer fields. Attackers can craft a commit object with a malformed author field containing an unterminated ang…

6.5Medium
CVE-2026-87818

GitPython 3.1.59 Local File Content Oracle via --no-index

gitpython-developers GitPython

GitPython 3.1.59 fails to restrict the --no-index option in the high-level diff API, allowing attackers to read arbitrary filesystem paths as repository operands. Attackers can combine --no-index with -I/--ignore-matching-lines to create a content-dependent B…

6.5Medium
CVE-2026-78678

GitPython before 3.1.59 Arbitrary File Read via Repo.blame()

gitpython-developers GitPython

GitPython versions before 3.1.59 contain an incomplete denylist in the unsafe_git_revision_options guard that omits --contents and -S options, allowing attackers to read arbitrary files by passing these options to Repo.blame(). Attackers can supply revision v…

7.5High
CVE-2026-78677

GitPython before 3.1.59 Path Traversal via separate-git-dir

gitpython-developers GitPython

GitPython before 3.1.59 omits --separate-git-dir from unsafe_git_clone_options, allowing attackers to create arbitrary git directories outside the intended clone destination. Attackers can pass a separate_git_dir parameter to Repo.clone_from() or Repo.clone()…

9.8Critical
CVE-2026-78676

GitPython before 3.1.59 Remote Code Execution via Config Injection

gitpython-developers GitPython

GitPython before 3.1.59 fails to safely re-serialize multi-line git-config values during write operations, corrupting dormant quoted values into injected directives like core.hooksPath. Attackers can craft config files with embedded newlines that become live …

8.8High
CVE-2026-76221

GitPython before 3.1.58 Config Injection via option-name

gitpython-developers GitPython

GitPython before 3.1.58 contains a config-name injection vulnerability in the option-name validator that allows attackers to forge arbitrary git-config directives by injecting equals signs, hash symbols, and whitespace into option names. Attackers can inject …

8.1High
CVE-2026-76219

GitPython before 3.1.58 Arbitrary File Overwrite via read-tree

gitpython-developers GitPython

GitPython versions before 3.1.58 contain an arbitrary file overwrite vulnerability in IndexFile.from_tree, IndexFile.reset, and IndexFile.merge_tree methods that append caller-influenced treeish strings to git read-tree without option validation or argument s…

7.5High
CVE-2026-76218

GitPython before 3.1.58 Remote Code Execution via Repo.init

gitpython-developers GitPython

GitPython before 3.1.58 contains a remote code execution vulnerability in Repo.init that forwards unsafe git options without validation. Attackers can supply a template parameter pointing to a directory with malicious git hooks that execute arbitrary code whe…

6.5Medium
CVE-2026-76217

GitPython before 3.1.58 Arbitrary File Read via pathspec-from-file

gitpython-developers GitPython

GitPython versions before 3.1.58 fail to validate options passed to git rm and git checkout commands in IndexFile.remove() and Head.checkout(). Attackers can supply --pathspec-from-file and --pathspec-file-nul parameters to read arbitrary files accessible to …

8.1High
CVE-2026-73624

GitPython before 3.1.54 Arbitrary File Overwrite via diff

gitpython-developers GitPython

GitPython versions before 3.1.54 contain an arbitrary file overwrite vulnerability in the Diffable.diff method that fails to validate git options passed through kwargs. Attackers can supply the --output argument via the other parameter or output kwarg to writ…

7.5High
CVE-2026-73623

GitPython before 3.1.54 Remote Code Execution via --template

gitpython-developers GitPython

GitPython before 3.1.54 contains an incomplete denylist in unsafe_git_clone_options that omits --template, allowing attackers to achieve arbitrary command execution during clone operations. Attackers can supply --template pointing to a directory containing ma…