## GitPython command wrappers omit unsafe protocol and option checks

- 種別: advisory
- 重大度: high
- 関連技術: python
- 公開日時: 2026-10-27T15:26:43.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-w8jc-g24h-crhw)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-w8jc-g24h-crhw

影響: pip:GitPython <= 3.1.62 → 3.2.0
GitPython has spent 2022-2026 rolling out two reusable guards method-by-method: Git.check_unsafe_protocols(url) (raises UnsafeProtocolError for :: remote-helper URLs - CVE-2022-24439) and Git.check_unsafe_options(...) (raises UnsafeOptionError for denylisted option spellings - CVE-2023-40267, CVE-2026-42215, CVE-2026-67323). Three wrapper methods that build a git argv from caller-controlled values still have neither: 1. Git.ls_remote (git/cmd.py:1128-1143) - checks options (:1139-1141) but forw…