THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-f9j4-qggq-h239 (high) — GitPython Remote.pull() refspec bypasses the --upload-pack unsafe-option guard, enabling arbitrary command execution

[GHSA] GHSA-f9j4-qggq-h239 (high) — GitPython Remote.pull() refspec bypasses the --upload-pack unsafe-option guard, enabling arbitrary command execution

medgithub_advisoriesPublished 2026-10-27

GHSA-f9j4-qggq-h239 Severity: high CVE: None

GitPython Remote.pull() refspec bypasses the --upload-pack unsafe-option guard, enabling arbitrary command execution

## Summary

`Remote.pull()` in GitPython forwards its positional `refspec` argument directly to the `git pull` child process while its unsafe-option guard inspects only keyword arguments. An application that passes attacker-influenced d

Original source: https://github.com/advisories/GHSA-f9j4-qggq-h239