openSUSE Security Update
openSUSE-SU-2026:21874-1
Security update for python-GitPython
Details
This update for python-GitPython fixes the following issues:
- CVE-2026-67322: environment-variable exfiltration in
Repo.clone_from()URL via os.path.expandvars() (bsc#1273357). - CVE-2026-67323: unguarded Git options passed as keyword arguments in
Repo.archive()andgit.ls_remote()allow
for command injection (bsc#1273358).
- CVE-2026-67325: incomplete command injection blocklist fails to account for git's long-option prefix abbreviation
feature and allows for bypass (bsc#1273359).
- CVE-2026-67326: failure to validate newline characters in the section parameter of
config_writer()can lead to
RCE via core.hooksPath (bsc#1273364).
- CVE-2026-69097: failure to properly escape section names in Git
configfiles allows for injection of arbitrary
configuration directives through malicious submodule names and can lead to RCE (bsc#1273414).
- CVE-2026-73619: incomplete denylist in the
unsafe_git_archive_optionsguard that omits--add-fileand `--add-
virtual-file` options can lead to arbitrary file reads (bsc#1275755).
- CVE-2026-73620: failure to guard Git option forwarding in
IndexFile.checkout()andTagReference.create()can lead
to arbitrary file reads and writes (bsc#1275756).
- CVE-2026-73621: argument injection in the
Commit.count()method allows for destruction/blanking of arbitrary files
(bsc#1275757).
- CVE-2026-73622: failure to disable environment variable expansion in
Remote.create()andSubmodule.add()URL
handling allows for secret exfiltration via URLs containing variable references (bsc#1275751).
- CVE-2026-73623: incomplete denylist in
unsafe_git_clone_optionsthat omits--templateallows for arbitrary command
execution (bsc#1275752).
- CVE-2026-73624:
Diffable.diffmethod fails to validate git options passed throughkwargs, which can lead to
arbitrary file writes (bsc#1275753).
- CVE-2026-73625:
check_unsafe_optionsguard bypass via smuggling of git options inside single-characterkwarg
values can lead to arbitrary code execution (bsc#1275754).
- CVE-2026-76217: failure to validate options passed to
git rmandgit checkoutcommands inIndexFile.remove()
and Head.checkout() can lead to arbitrary file reads (bsc#1275745).
- CVE-2026-76218: unguarded git option forwarding in
Repo.initallows for arbitrary command execution (bsc#1275746). - CVE-2026-76219: unguarded
git read-treeoption forwarding inIndexFile.from_tree/reset/merge_treecan lead to
arbitrary file overwrites (bsc#1275747).
- CVE-2026-76220:
check_unsafe_optionsguard can be bypassed by combining a single-characterkwargwith
split_single_char_options=False, which can lead to arbitrary OS command injection (bsc#1275748).
- CVE-2026-76221:
config-nameinjection in theoption-namevalidator can lead to remote code execution
(bsc#1275749).
- CVE-2026-76222: failure to validate submodule names from
.gitmodulesfiles allows creation of Git repositories at
arbitrary filesystem paths outside the intended clone directory (bsc#1275750).
- CVE-2026-78675: failure to disable
merge_includeswhen parsing.gitmodulescan lead to discloseure of local file
contents when arbitrary file paths are included via [include] directives (bsc#1276434).
- CVE-2026-78676: failure to safely re-serialize multi-line
git-configvalues during write operations can corrupt
dormant quoted values into live injected directives (bsc#1276433).
- CVE-2026-78677: omission of
--separate-git-dirfromunsafe_git_clone_optionsallows for creation of arbitrary git
directories outside the intended clone destination (bsc#1276432).
- CVE-2026-78678: incomplete denylist in the
unsafe_git_revision_optionsguard that omits--contentsand-S
options allows for reading of arbitrary files when these options to are passed to Repo.blame() (bsc#1276431).
- CVE-2026-78679: positional reference parameter can bypass an unsafe option guard and allows for arbitrary file read
via TagReference.create() (bsc#1276430).
- 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-indexoption 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_regexregular expression allows attackers to cause
CPU exhaustion and a DoS via a commit with a malformed author field (bsc#1279907).
- GitPython unsafe clone option gate bypass through joined short options (bsc#1273498).
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openSUSE:Leap 16.0 | python-GitPython | All versions before 3.1.44-160000.4.1 (fixed in 3.1.44-160000.4.1) |
References
- https://bugzilla.suse.com/1273357
- https://bugzilla.suse.com/1273358
- https://bugzilla.suse.com/1273359
- https://bugzilla.suse.com/1273364
- https://bugzilla.suse.com/1273414
- https://bugzilla.suse.com/1273498
- https://bugzilla.suse.com/1275745
- https://bugzilla.suse.com/1275746
- https://bugzilla.suse.com/1275747
- https://bugzilla.suse.com/1275748
- https://bugzilla.suse.com/1275749
- https://bugzilla.suse.com/1275750
- https://bugzilla.suse.com/1275751
- https://bugzilla.suse.com/1275752
- https://bugzilla.suse.com/1275753
- https://bugzilla.suse.com/1275754
- https://bugzilla.suse.com/1275755
- https://bugzilla.suse.com/1275756
- https://bugzilla.suse.com/1275757
- https://bugzilla.suse.com/1276430
- https://bugzilla.suse.com/1276431
- https://bugzilla.suse.com/1276432
- https://bugzilla.suse.com/1276433
- https://bugzilla.suse.com/1276434
- https://bugzilla.suse.com/1279905
- https://bugzilla.suse.com/1279906
- https://bugzilla.suse.com/1279907
- https://www.suse.com/security/cve/CVE-2026-67322
- https://www.suse.com/security/cve/CVE-2026-67323
- https://www.suse.com/security/cve/CVE-2026-67325
- https://www.suse.com/security/cve/CVE-2026-67326
- https://www.suse.com/security/cve/CVE-2026-69097
- https://www.suse.com/security/cve/CVE-2026-73619
- https://www.suse.com/security/cve/CVE-2026-73620
- https://www.suse.com/security/cve/CVE-2026-73621
- https://www.suse.com/security/cve/CVE-2026-73622
- https://www.suse.com/security/cve/CVE-2026-73623
- https://www.suse.com/security/cve/CVE-2026-73624
- https://www.suse.com/security/cve/CVE-2026-73625
- https://www.suse.com/security/cve/CVE-2026-76217