Bump gitpython from 3.1.46 to 3.1.47
Open
Number: #194
Type: Pull Request
State: Open
Type: Pull Request
State: Open
Author:
dependabot[bot]
Association: Unknown
Comments: 3
Association: Unknown
Comments: 3
Created:
April 26, 2026 at 01:21 AM UTC
(about 1 month ago)
(about 1 month ago)
Updated:
April 26, 2026 at 01:22 AM UTC
(about 1 month ago)
(about 1 month ago)
Labels:
dependencies python:uv
dependencies python:uv
Description:
Bumps gitpython from 3.1.46 to 3.1.47.
Release notes
Sourced from gitpython's releases.
3.1.47 - with security fixes
Advisories
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-rpm5-65cw-6hj4
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-x2qx-6953-8485
What's Changed
- Prepare next release by
@Byronin gitpython-developers/GitPython#2095- Bump git/ext/gitdb from
335c0f6to4c63ee6by@dependabot[bot] in gitpython-developers/GitPython#2096- DOC: README Add urls and updated a relative url by
@Timour-Ilyasin gitpython-developers/GitPython#2098- Fix GitConfigParser ignoring multiple [include] path entries by
@daniel7anin gitpython-developers/GitPython#2100- Switch back from Alpine to Debian for WSL by
@EliahKaganin gitpython-developers/GitPython#2108- Bump git/ext/gitdb from
4c63ee6to5c1b303by@dependabot[bot] in gitpython-developers/GitPython#2106- Run
gc.collect()twice intest_renameon Python 3.12 by@EliahKaganin gitpython-developers/GitPython#2109- fix: guard AutoInterrupt terminate during interpreter shutdown by
@lweyrich1in gitpython-developers/GitPython#2105- Improve CI infrastructure for pre-commit by
@EliahKaganin gitpython-developers/GitPython#2110- Bump the pre-commit group with 5 updates by
@dependabot[bot] in gitpython-developers/GitPython#2111- Upgrade Sphinx for 3.14 support; drop doc build support on 3.8; test 3.14 by
@EliahKaganin gitpython-developers/GitPython#2112- Fix
Repo.active_branchresolution for reftable-backed repositories by@Copilotin gitpython-developers/GitPython#2114- docs: warn about GitDB performance with large commits by
@mvanhornin gitpython-developers/GitPython#2115- cmd: fix kwarg formatting in docstring example by
@UweSchwaekein gitpython-developers/GitPython#2117- Bump https://github.com/astral-sh/ruff-pre-commit from v0.15.5 to 0.15.8 in the pre-commit group by
@dependabot[bot] in gitpython-developers/GitPython#2122- Add trailer support for commit creation by
@Krishnachaitanyakcin gitpython-developers/GitPython#2116- Harden commit trailer subprocess handling and align trailer I/O paths by
@Copilotin gitpython-developers/GitPython#2125- git.cmd.Git.execute(..): fix
with_stdout=Falseby@ngie-eignin gitpython-developers/GitPython#2126- Make sure that multi-options are checked after splitting them with
shlexby@Byronin gitpython-developers/GitPython#2130- Block unsafe underscored git kwargs / Fix for GHSA-rpm5-65cw-6hj4 by
@WesRin gitpython-developers/GitPython#2131New Contributors
@Timour-Ilyasmade their first contribution in gitpython-developers/GitPython#2098@daniel7anmade their first contribution in gitpython-developers/GitPython#2100@lweyrich1made their first contribution in gitpython-developers/GitPython#2105@Copilotmade their first contribution in gitpython-developers/GitPython#2114@mvanhornmade their first contribution in gitpython-developers/GitPython#2115@UweSchwaekemade their first contribution in gitpython-developers/GitPython#2117@Krishnachaitanyakcmade their first contribution in gitpython-developers/GitPython#2116@ngie-eignmade their first contribution in gitpython-developers/GitPython#2126@WesRmade their first contribution in gitpython-developers/GitPython#2131Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.46...3.1.47
Commits
4199cb8bump version to 3.1.470f68db0Merge pull request #2131 from WesR/main43d92degit.cmd: harden unsafe option canonicalization and isolate push test cases9aed7cflinter fix1421958Block unsafe underscored git kwargs / Fix for GHSA-rpm5-65cw-6hj4da54523Merge pull request #2130 from gitpython-developers/fix-multi-optionsc9a2678Make sure that multi-options are checked after splitting them withshlex75e6c6bMerge pull request #2126 from ngie-eign/fix-execute-with_stdout-no-issues6fc4742test_avoids_changing...: don't leave test artifacts behindd966a0dgit.cmd.Git.execute(..): fixwith_stdout=False- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Package Dependencies
Security Advisories
GitPython has Command Injection via Git options bypass
GHSA-rpm5-65cw-6hj4
CVE-2026-42215
HIGH
### Summary
GitPython blocks dangerous Git options such as `--upload-pack` and `--receive-pack` by default, but the equivalent Python kwargs `upload_pack` and `receive_pack` bypass that check. If a...
GitPython: Unsafe option check validates multi_options before shlex.split transformation
GHSA-x2qx-6953-8485
CVE-2026-42284
HIGH
### Summary
`_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 valid...
Technical Details
| ID: | 15508358 |
| UUID: | 4329729100 |
| Node ID: | PR_kwDOL9ER3s7VqwT0 |
| Host: | GitHub |
| Repository: | SocketDev/socket-python-cli |