THREAT OPS › Threat News › [GHSA] GHSA-239g-whfq-7xj9 (high) — GitPython: Repository content can impersonate the git directory, leading to arbitrary code execution
[GHSA] GHSA-239g-whfq-7xj9 (high) — GitPython: Repository content can impersonate the git directory, leading to arbitrary code execution
GHSA-239g-whfq-7xj9 Severity: high CVE: CVE-2026-87817
GitPython: Repository content can impersonate the git directory, leading to arbitrary code execution
### Summary
`Repo.__init__` decides which directory is the git directory by testing candidate paths in an order that considers the real `.git` **last**. Two earlier tests can be satisfied by ordinary tracked files. Git reserves only the lite
MITRE ATT&CK techniques
- CredentialsT1589.001
Indicators of compromise
- CVE-2026-87817cve
Original source: https://github.com/advisories/GHSA-239g-whfq-7xj9