// Security Advisory Triage
GitPython arbitrary code execution via repository content impersonation
GitHub advisories — pip · published 2026-10-01 12:36 UTC
WHAT CHANGEDGitHub published CVE-2026-87817 on 30 September 2026, a high-severity advisory for GitPython. Repository content can impersonate the git directory to execute arbitrary code. Fixed in version 3.1.60.
WHY IT MATTERSAny service that clones or processes untrusted repositories using GitPython can execute attacker-controlled code. This is a direct remote code execution vector if your pipeline handles external repos.
WHAT TO DOCheck your dependency tree for gitpython < 3.1.60. If present, update to 3.1.60 in this cycle. If you process external repositories, treat this as a same-day patch.
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-239g-whfq-7xj9 +summary: GitPython: Repository content can impersonate the git directory, leading to arbitrary code execution +severity: high +published_at: 2026-09-30T23:27:59Z +cve_id: CVE-2026-87817 +vulnerabilities[].package.name: gitpython +vulnerabilities[].first_patched_version: 3.1.60
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 is a widely-used dependency. Arbitrary code execution via repository content is actionable this week. |
| signals | known exploitation vector (arbitrary code execution via repository content) · affects GitPython — a package in normal service dependency trees · high severity rating with concrete attack surface · new advisory with fixed version available (3.1.60) · CVE assigned (CVE-2026-87817) |
| suppression | — |
| triage model | anthropic/claude-haiku-4.5 ($0.00000) |
| writer model | anthropic/claude-sonnet-4.5 ($0.00000) |