Bug 2517353 - CVE-2026-42284 python-smmap: GitPython: Arbitrary code execution via improper validation of clone options [epel-all]
Summary: CVE-2026-42284 python-smmap: GitPython: Arbitrary code execution via improper...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-smmap
Version: epel10
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Lubomír Sedlář
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["385c57b8-3a2f-4840-99cd-8...
Depends On:
Blocks: CVE-INVALID CVE-2026-42284
TreeView+ depends on / blocked
 
Reported: 2026-08-17 10:51 UTC by Yadnyawalk Tale
Modified: 2026-08-17 12:23 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-08-17 12:23:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Yadnyawalk Tale 2026-08-17 10:51:11 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Ben Beasley 2026-08-17 12:23:08 UTC
I guess this was filed because the URL starts with https://github.com/gitpython-developers/ ? In any case, smmap is a completely separate library that is an indirect dependency for GitPython.


Note You need to log in before you can comment on or make changes to this bug.