Lucene search
+L

65 matches found

PyPA
PyPA
•added 2026/09/10 9:44 a.m.•9 views

GitPython: Unguarded git option forwarding in Repo.init enables arbitrary command execution via --template clone hooks

SummaryRepo.init forwards kwargs verbatim to git init with no unsafe-option guard and no allowunsafeoptions parameter. git init --template= copies /hooks/ into the new repo's .git/hooks, so an attacker-controlled template kwarg plants a hook that executes on the next git operation → arbitrary cod...

8.8CVSS6.6AI score0.00825EPSS
SaveExploits1References9Affected Software1
Github Security Blog
Github Security Blog
•added 2026/09/08 7:42 p.m.•12 views

GitPython: TagReference.create positional reference bypasses kwargs-only --file guard, enabling arbitrary file read (incomplete fix of 3af0c251)

Summary TagReference.create forwards a caller-influenced positional reference value into git tag without it ever being inspected by the unsafe-option guard, allowing an arbitrary file read the file's contents are returned in-band as the annotated tag message. This is an incomplete-fix bypass of...

7.1CVSS6.1AI score0.00255EPSS
SaveExploits0References7Affected Software1
Github Security Blog
Github Security Blog
•added 2026/09/08 6:41 p.m.•11 views

GitPython: clone_from()/clone() omit --separate-git-dir from unsafe_git_clone_options, enabling arbitrary git-directory creation outside the destination

CWE: CWE-73 External Control of File Name or Path / CWE-22 Path Traversal, in the "escapes intended base directory" sense - Affected component: git/repo/base.py, Repo.unsafegitcloneoptions class attribute, lines 153-165 and Repo.clone lines 1477-1520, reached via the public Repo.clonefrom line...

8.7CVSS7.5AI score0.00651EPSS
SaveExploits1References8Affected Software1
OSV
OSV
•added 2026/09/03 6:06 p.m.•9 views

MGASA-2026-0372 Updated python-gitpython packages fix security vulnerabilities

CVE-2023-40267 GitPython before 3.1.32 does not block insecure non-multi options in clone and clonefrom. NOTE: this issue exists because of an incomplete fix for CVE-2022-24439. CVE-2023-41040 In order to resolve some git references, GitPython reads files from the .git directory, in some places t...

9.8CVSS6.8AI score0.01173EPSS
SaveExploits2References23
Mageia
Mageia
•added 2026/09/03 6:06 p.m.•16 views

Updated python-gitpython packages fix security vulnerabilities

CVE-2023-40267 GitPython before 3.1.32 does not block insecure non-multi options in clone and clonefrom. NOTE: this issue exists because of an incomplete fix for CVE-2022-24439. CVE-2023-41040 In order to resolve some git references, GitPython reads files from the .git directory, in some places t...

9.8CVSS6.8AI score0.01173EPSS
SaveExploits2References22
Kitploit
Kitploit
•added 2026/09/03 5:29 p.m.•14 views

sshconfig-lint v0.5.0

sshconfig-lint One engine for every place your SSH config changes. sshconfig-lint finds semantic mistakes in OpenSSH client configs: duplicate hosts, broken identity paths, unsafe options, weak algorithms, wildcard ordering, and tangled Include chains. Use the same rule codes locally, in Git hook...

5.8AI score
SaveExploits0References10
NVD
NVD
•added 2026/08/19 2:17 p.m.•13 views

CVE-2026-76218

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 when git operations are performed on the...

8.8CVSS0.00825EPSS
SaveExploits1References2
EUVD
EUVD
•added 2026/08/19 2:02 p.m.•12 views

EUVD-2026-62459

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 when git operations are performed on the...

7.7CVSS6.7AI score0.00825EPSS
SaveExploits1References2
Vulnrichment
Vulnrichment
•added 2026/08/19 2:02 p.m.•14 views

CVE-2026-76218 GitPython before 3.1.58 Remote Code Execution via Repo.init

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 when git operations are performed on the...

7.7CVSS6.7AI score0.00825EPSS
SaveExploits1References2
Cvelist
Cvelist
•added 2026/08/19 2:02 p.m.•44 views

CVE-2026-76218 GitPython before 3.1.58 Remote Code Execution via Repo.init

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 when git operations are performed on the...

7.7CVSS0.00825EPSS
SaveExploits1References2
OSV
OSV
•added 2026/08/19 2:02 p.m.•37 views

CVE-2026-76218 GitPython before 3.1.58 Remote Code Execution via Repo.init

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 when git operations are performed on the...

7.7CVSS6.8AI score
SaveExploits0References4
BDU FSTEC
BDU FSTEC
•added 2026/08/18 12:00 a.m.•20 views

The vulnerability of the `check_unsafe_options` mechanism in the Python library for interacting with Git repositories, GitPython, allows a malicious actor to execute arbitrary code.

The vulnerability of the checkunsafeoptions mechanism in the Python library for interacting with Git repositories, GitPython, is related to the failure to take measures to neutralize special elements. Exploiting this vulnerability allows a malicious actor to rewrite any files in the system remote...

9CVSS5.4AI score0.00923EPSS
SaveExploits1References4Affected Software7
OSV
OSV
•added 2026/08/13 12:17 p.m.•5 views

PYSEC-2026-3953

GitPython versions before 3.1.54 contain a remote code execution vulnerability in the checkunsafeoptions guard that can be bypassed by smuggling git options inside single-character kwarg values. Attackers can supply crafted option dictionaries to clonefrom, fetch, pull, push, lsremote, itercommit...

8.7CVSS8.4AI score0.00923EPSS
SaveExploits1References2
Vulnrichment
Vulnrichment
•added 2026/08/13 11:28 a.m.•10 views

CVE-2026-73620 GitPython before 3.1.57 Arbitrary File Overwrite and Read

GitPython before 3.1.57 fails to guard git option forwarding in IndexFile.checkout and TagReference.create, allowing attackers to pass unsafe options via kwargs. Attackers can use --prefix to overwrite arbitrary files with repository content or -F to read arbitrary files returned in-band...

8.1CVSS5.3AI score0.00574EPSS
SaveExploits1References2
EUVD
EUVD
•added 2026/08/13 11:28 a.m.•17 views

EUVD-2026-57824

GitPython before 3.1.57 fails to guard git option forwarding in IndexFile.checkout and TagReference.create, allowing attackers to pass unsafe options via kwargs. Attackers can use --prefix to overwrite arbitrary files with repository content or -F to read arbitrary files returned in-band...

8.1CVSS5.3AI score0.00574EPSS
SaveExploits1References2
OSV
OSV
•added 2026/08/13 11:28 a.m.•22 views

CVE-2026-73619 GitPython before 3.1.57 Arbitrary File Read via Repo.archive()

GitPython before 3.1.57 contains an incomplete denylist in the unsafegitarchiveoptions guard that omits --add-file and --add-virtual-file options. Attackers can supply these options to Repo.archive to read arbitrary files from the filesystem and include them in the returned archive...

7.1CVSS5.6AI score
SaveExploits0References4
Github Security Blog
Github Security Blog
•added 2026/08/07 3:49 p.m.•32 views

GitPython: Unsafe git option guard bypass via split_single_char_options=False short-option token smuggling enables command execution

Summary The checkunsafeoptions guard can be bypassed on every guarded method clone/clonefrom, fetch/pull/push, lsremote, itercommits, blame, archive by combining a single-character kwarg with splitsinglecharoptions=False. The guard's candidate list omits the smuggled option, but transformkwarg...

8.8CVSS5.8AI score0.0091EPSS
SaveExploits1References7Affected Software1
Snyk
Snyk
•added 2026/08/07 3:49 p.m.•10 views

Arbitrary Argument Injection

Overview GitPython is a python library used to interact with Git repositories Affected versions of this package are vulnerable to Arbitrary Argument Injection via the checkunsafeoptions process. An attacker can execute arbitrary OS commands by supplying specially crafted keyword arguments that...

8.8CVSS5.8AI score0.0091EPSS
SaveExploits1References2
OSV
OSV
•added 2026/08/07 3:49 p.m.•20 views

GHSA-WVPP-8HX9-P66J GitPython: Unsafe git option guard bypass via split_single_char_options=False short-option token smuggling enables command execution

Summary The checkunsafeoptions guard can be bypassed on every guarded method clone/clonefrom, fetch/pull/push, lsremote, itercommits, blame, archive by combining a single-character kwarg with splitsinglecharoptions=False. The guard's candidate list omits the smuggled option, but transformkwarg...

8.8CVSS5.9AI score0.0091EPSS
SaveExploits1References7
Github Security Blog
Github Security Blog
•added 2026/08/07 3:36 p.m.•18 views

GitPython: Unguarded git option forwarding in Repo.init enables arbitrary command execution via --template clone hooks

Summary Repo.init forwards kwargs verbatim to git init with no unsafe-option guard and no allowunsafeoptions parameter. git init --template= copies /hooks/ into the new repo's .git/hooks, so an attacker-controlled template kwarg plants a hook that executes on the next git operation → arbitrary co...

8.8CVSS6AI score0.00825EPSS
SaveExploits1References7Affected Software1
Rows per page
Query Builder