// Security Advisory Triage
GitPython 3.2.0 patches arbitrary command execution via refspec bypass
GitHub advisories — pip · published 2026-10-27 18:07 UTC
WHAT CHANGEDGitPython versions before 3.2.0 contain GHSA-f9j4-qggq-h239, published 27 October 2026. Remote.pull() refspec parameter bypasses the --upload-pack unsafe-option guard, enabling arbitrary command execution. First patched version is 3.2.0.
WHY IT MATTERSAny code calling Remote.pull() with untrusted refspec input can execute arbitrary commands on the host. GitPython is a dependency in CI/CD pipelines, source control automation, and developer tooling where repository operations process external input.
WHAT TO DOUpgrade GitPython to 3.2.0 or later. Grep your dependency trees for GitPython <3.2.0 and prioritize services that call Remote.pull() with user-supplied or webhook-supplied refspec values.
Model-reported confidence 95% (not measured accuracy)
Primary source ↗
written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-f9j4-qggq-h239 +summary: GitPython Remote.pull() refspec bypasses the --upload-pack unsafe-option guard, enabling arbitrary command execution +severity: high +published_at: 2026-10-27T15:26:50Z +cve_id: +vulnerabilities[].package.name: GitPython +vulnerabilities[].first_patched_version: 3.2.0
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
| triage verdict | MATERIAL at 0.95, needed 0.5 |
|---|---|
| triage reasoning | GitPython RCE via Remote.pull() affects CI/CD pipelines, source control automation, and developer workflows. |
| signals | known exploitation capability: arbitrary command execution · affected package: GitPython — in dependency tree of CI/CD, source control, and developer tools · high severity rating · first patched version identified: 3.2.0 · refspec bypass of safety guard — active vulnerability class |
| suppression | — |
| triage model | anthropic/claude-haiku-4.5 ($0.00000) |
| writer model | anthropic/claude-sonnet-4.5 ($0.00000) |