CVSS v3
8.8
HIGH
EPSS Score
0.4 %
exploit probability, as of 2026-09-28
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Description
GitPython before 3.1.60 fails to properly validate the git directory location, allowing attackers to impersonate the git directory using tracked files like gitdir, commondir, and HEAD. Attackers can execute arbitrary code by placing a malicious pre-commit hook in the tracked hooks directory that executes when a victim calls index.commit() on a cloned or opened repository.
Technical details
- Published
- 2026-09-09
- Last Modified
- 2026-09-10
Frequently asked questions
What is CVE-2026-87817?
GitPython before 3.1.60 fails to properly validate the git directory location, allowing attackers to impersonate the git directory using tracked files like gitdir, commondir, and HEAD. Attackers can execute arbitrary code by placing a malicious pre-commit hook in the tracked hooks directory that executes when a victim calls index.commit() on a cloned or opened repository.
Is CVE-2026-87817 actively exploited?
Active exploitation of CVE-2026-87817 has not been confirmed. Its EPSS score was 0.4% on 2026-09-28, the estimated probability of exploitation in the next 30 days.
What is the CVSS score for CVE-2026-87817?
CVE-2026-87817 has a CVSS v3 base score of 8.8 (HIGH severity).
Is CVE-2026-87817 affecting your environment?
Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.
No credit card required · 500 free checks/month · Free API key
Other 2026 vulnerabilities worth triaging
Ranked by exploit probability (EPSS).
- CVE-2026-10520KEV
- CVE-2026-24061KEV
- CVE-2026-1281KEV
- CVE-2026-1340KEVUnauthenticated Remote Code Execution via Code Injection in Ivanti Endpoint Manager Mobile
- CVE-2026-41940KEV
- CVE-2026-23760KEVSmarterTools SmarterMail < Build 9511 Authentication Bypass via Password Reset API
- CVE-2026-21643KEVSQL Injection Vulnerability in FortiClientEMS 7.4.4 Allows Unauthenticated Remote Code Execution
- CVE-2026-20182KEV