CVE Feed

    Dashboard / CVE / CVE-2026-87817

    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.

    Published:Sep 9, 2026
    Last Modified:Sep 10, 2026
    EPS:Sep 9, 2026
    EPSS Score:0.00309
    CVSS Score:8.8

    Affected Products

    Vendor
    Gitpython-developers
    Product
    Gitpython
    Vendor
    Gitpython Project
    Product
    Gitpython

    Exploits

    No exploit reference

    Related CVEs

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High