PoC Monitor
← All CVEs
CVE-2026-42284published 7 May 2026 18:19 UTCData: JSON · API

Gitpython-developers GitPython

GitPython: Unsafe option check validates multi_options before shlex.split transforms it

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.8critical · scored by NVD · CWE-88
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

gitpython-developers GitPython
  • < 3.1.47

Fixed in 3.1.47

Mitigation

Upgrade GitPython to 3.1.47 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published7 May 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
CVE record (tagged exploit)https://www.tenable.com/cve/CVE-2026-32686unknown14 Nov 2026