Bump gitpython from 3.1.46 to 3.1.49
Closed
Number: #197
Type: Pull Request
State: Closed
Type: Pull Request
State: Closed
Author:
dependabot[bot]
Association: Unknown
Comments: 4
Association: Unknown
Comments: 4
Created:
May 08, 2026 at 04:04 PM UTC
(22 days ago)
(22 days ago)
Updated:
May 09, 2026 at 03:24 AM UTC
(22 days ago)
(22 days ago)
Closed:
May 09, 2026 at 03:24 AM UTC
(22 days ago)
(22 days ago)
Time to Close:
about 11 hours
Labels:
dependencies python:uv
dependencies python:uv
Description:
Bumps gitpython from 3.1.46 to 3.1.49.
Release notes
Sourced from gitpython's releases.
3.1.49 - Security
What's Changed
- reject control chars in written values in configuration by
@Byronin gitpython-developers/GitPython#2137- Improve pure Python rev-parse coverage and behavior by
@Copilotin gitpython-developers/GitPython#2136Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.48...3.1.49
3.1.48 - Security
Accidentally deleted the previous GH release, it did mention the advisory this fixes.
What's Changed
- prevent out-of-repo access when manipulating references. by
@Byronin gitpython-developers/GitPython#2134Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.47...3.1.48
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
... (truncated)
Commits
aee2fd5bump version to 3.1.491c4ea96Merge pull request #2136 from gitpython-developers/copilot/create-reproducing...6cf7ac3Address rev-parse review feedbackb049a13Merge pull request #2137 from gitpython-developers/fix-config-injectionbdbdf4bFix rev-parse CI issuesd7ce6fcImprove pure Python rev-parse coverage and behavior (#2135)8e24503avoid duplicate validation in set_valuec417af4reject control chars in written values in configuration5a15361a new release with safer reference creationdbfa264Merge pull request #2134 from gitpython-developers/validate-ref-creation- 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: | 15710936 |
| UUID: | 4407700866 |
| Node ID: | PR_kwDOL9ER3s7ZmV2d |
| Host: | GitHub |
| Repository: | SocketDev/socket-python-cli |