GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||
GeezerVison is showing github.com — CVE-2026-87817 - GitHub Advisory Database GitPython: Repository content can impersonate the git directory, leading to arbitrary code execution
High severity
GitHub Reviewed
Published
DescriptionSummary
Consequently, after a victim opens or clones an attacker's repository, GitPython resolves CVE-2026-87817Affected code (3.1.59)The discovery loop in
Proof of conceptRequires only Attacker repository — four ordinary tracked files at the root:
Victim — two ordinary calls: repo = git.Repo.clone_from(url, dst) # or git.Repo(dst) repo.index.commit("automated commit") # code execution happens here Observed on the PyPI release 3.1.59 (Linux and Windows):
The ImpactA service that opens or clones an untrusted repository with GitPython — a CI runner building a fork
Delivery is silent: Threat model / preconditions
Remediation
Note for the maintainersCommit Scope noteOnly the repository-root case is reported: where a real ###POC Files : References
Published to the GitHub Advisory Database
Reviewed
Last updated
Severity
High
CVSS v3 base metrics
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS score(37th percentile)
WeaknessesWeakness CWE-94Improper Control of Generation of CodeThe product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. Learn more on MITRE.Weakness CWE-427Uncontrolled Search Path ElementThe product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors. Learn more on MITRE.CVE ID
CVE-2026-87817
GHSA IDGHSA-239g-whfq-7xj9
Source codeCredits
Loading
Checking history
Uh oh!
There was an error while loading. Please reload this page.
See something to contribute?
Suggest improvements for this vulnerability.
| |||||||||||||||
| You are visitor 01402605 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |