CVE-2026-76219: Python Gitpython Index Read Tree Argument Injection

A `git read-tree` command is built through GitPython's Git wrapper without the unsafe-option screening that must guard the argv boundary: the enclosing function never calls check_unsafe_options() (the unsafe_git_read_tree_options denylist) and neither forwards an allow_unsafe_options opt-out nor terminates option parsing with a `--` separator. Caller-supplie

Provally CuratedPublic repositoryHighHigh confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-76219-python-gitpython-index-read-tree-argument-injection --engine opengrep

Description

A `git read-tree` command is built through GitPython's Git wrapper without the unsafe-option screening that must guard the argv boundary: the enclosing function never calls check_unsafe_options() (the unsafe_git_read_tree_options denylist) and neither forwards an allow_unsafe_options opt-out nor terminates option parsing with a `--` separator. Caller-supplie