Skip to content
OpenAdvisories
High SUSE-SU-2026:4191-1 3 CVEs

Security update for python-GitPython

Published Sep 15, 2026 · Updated Sep 16, 2026

Summary

This update for python-GitPython fixes the following issues:

- CVE-2026-87817: failure to properly validade the git directory location allows attackers to
impersonate the git directory using tracked files and execute arbitrary code by placing pre-commit hooks in the
tracked hooks directory (bsc#1279905).
- CVE-2026-87818: failure to restrict the `--no-index` option in the high-level diff API allows
attackers to read arbitrary filesystem paths as repository operands and create content-dependent Boolean oracles
(bsc#1279906).
- CVE-2026-87819: quadratic backtracking in the `Actor.name_email_regex` regular expression allows
attackers to cause CPU exhaustion and a DoS via a commit with a malformed author field (bsc#1279907).

Fixed packages 11

ReleasePackageFixed in
SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-ESPOS python-GitPython 3.1.34.1693646983.2a2ae77-150400.9.11.1
SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-LTSS python-GitPython 3.1.34.1693646983.2a2ae77-150400.9.11.1
SUSE · SLE HPC 15 SP5 Linux Enterprise High Performance Computing 15 SP5-ESPOS python-GitPython 3.1.34.1693646983.2a2ae77-150400.9.11.1
SUSE · SLE HPC 15 SP5 Linux Enterprise High Performance Computing 15 SP5-LTSS python-GitPython 3.1.34.1693646983.2a2ae77-150400.9.11.1
SUSE · SLES 3 Linux Enterprise Module for Python 3 15 SP7 python-GitPython 3.1.34.1693646983.2a2ae77-150400.9.11.1
SUSE · SLES 15 SP4 Linux Enterprise Server 15 SP4-LTSS python-GitPython 3.1.34.1693646983.2a2ae77-150400.9.11.1
SUSE · SLES 15 SP5 Linux Enterprise Server 15 SP5-LTSS python-GitPython 3.1.34.1693646983.2a2ae77-150400.9.11.1
SUSE · SLES 15 SP6 Linux Enterprise Server 15 SP6-LTSS python-GitPython 3.1.34.1693646983.2a2ae77-150400.9.11.1
SUSE · SLES for SAP 15 SP4 Linux Enterprise Server for SAP Applications 15 SP4 python-GitPython 3.1.34.1693646983.2a2ae77-150400.9.11.1
SUSE · SLES for SAP 15 SP5 Linux Enterprise Server for SAP Applications 15 SP5 python-GitPython 3.1.34.1693646983.2a2ae77-150400.9.11.1
SUSE · SLES for SAP 15 SP6 Linux Enterprise Server for SAP Applications 15 SP6 python-GitPython 3.1.34.1693646983.2a2ae77-150400.9.11.1

Vulnerabilities 3

  • High 8.8

    GitPython before 3.1.60 Remote Code Execution via Git Directory Impersonation

    GitPython before 3.1.60 fails to properly validate the git directory location, allowing attackers to impersonate the git directory using tracked files like gitdir, commondir, and HEAD. Attackers can execute arbitrary code by placing a malicious pre-commit hoo…

  • High 7.5

    GitPython before 3.1.60 Denial of Service via ReDoS

    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…

  • Medium 6.5

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

    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…

References

  • report
    https://bugzilla.suse.com/1279905
  • report
    https://bugzilla.suse.com/1279906
  • report
    https://bugzilla.suse.com/1279907
  • web
    https://www.suse.com/security/cve/CVE-2026-87817
  • web
    https://www.suse.com/security/cve/CVE-2026-87818
  • web
    https://www.suse.com/security/cve/CVE-2026-87819