Update gitpython to 3.1.58 for security patches - #6397
Open
katsugtgz wants to merge 1 commit into
Open
Conversation
Bumps gitpython from 3.1.45 to 3.1.58. Fixed vulnerabilities: - GHSA-rpm5-65cw-6hj4 / PYSEC-2026-2160 / CVE-2026-42215: Command injection via Git options bypass (CVSS 8.8) - GHSA-x2qx-6953-8485: Unsafe option check validates multi_options before shlex.split (CVSS 9.8) - GHSA-v87r-6q3f-2j67 / PYSEC-2026-2163: Newline injection in config_writer enables RCE (CVSS 7.8) - GHSA-7545-fcxq-7j24 / PYSEC-2026-2162: Path traversal in reference APIs (CVSS 7.8) - GHSA-2f96-g7mh-g2hx: Command injection via long-option prefix abbreviation bypass (CVSS 8.8) - GHSA-3f7w-8rr8-f37f: Unguarded git option forwarding in IndexFile.checkout() (CVSS 8.1) - GHSA-3rp5-jjmw-4wv2: git-config section-name injection enables arbitrary config (CVSS 7.0) - GHSA-539m-9xh6-q6rr: Incomplete unsafe_git_archive_options denylist (CVSS 6.5) - GHSA-6p8h-3wgx-97gf: Incomplete unsafe_git_clone_options denylist omits --template (CVSS 7.5) - GHSA-94p4-4cq8-9g67: Environment-variable exfiltration via Repo.create_remote() (CVSS 7.5) - GHSA-956x-8gvw-wg5v: Command injection via unguarded options in Repo.archive() (CVSS 8.4) - GHSA-fjr4-x663-mwxc: Arbitrary file overwrite via git diff --output injection (CVSS 8.1) - GHSA-mv93-w799-cj2w: Newline injection in config_writer section parameter (CVSS 7.0) - GHSA-p538-c434-8v24: Arbitrary file truncation via git rev-list --output injection (CVSS 5.4) - GHSA-r9mr-m37c-5fr3: Unsafe git option guard bypass via single-char token smuggling (CVSS 8.8) - GHSA-rwj8-pgh3-r573: Environment-variable exfiltration via os.path.expandvars (CVSS 7.5) Verified with osv-scanner: all 16 gitpython advisories cleared after update. Only gitpython version changed; no other dependency modifications.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps gitpython from 3.1.45 to 3.1.58.
Fixed vulnerabilities
All advisories below were confirmed via osv-scanner before/after the change:
Verification