PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-110858 gitpython-developers CVE debrief

GitPython 3.1.30 before 3.2.0 is vulnerable to command injection via Remote.pull() Refspec. Attackers controlling the refspec can supply --upload-pack=<command> to execute OS commands as the calling process over local-path or SSH transports. This vulnerability allows remote code execution, potentially leading to unauthorized access and control of affected systems. Developers and administrators should assess their exposure and take necessary actions to mitigate the vulnerability, including updating to version 3.2.0 or later and restricting access to affected systems.

Vendor
gitpython-developers
Product
GitPython
CVSS
CRITICAL 9.2
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-14
Original CVE updated
2026-10-16
Advisory published
2026-10-14
Advisory updated
2026-10-16

Who should care

Developers and administrators using GitPython 3.1.30 before 3.2.0 should assess their exposure and take necessary actions to mitigate the vulnerability. This includes updating to version 3.2.0 or later, restricting access to affected systems, and monitoring for suspicious activity. Operators, platform administrators, vulnerability management teams, and security teams should review the vulnerability and take necessary actions to protect their systems.

Why it matters

CVE-2026-110858 is a critical vulnerability in GitPython that allows remote code execution via command injection. Developers and administrators should update to version 3.2.0 or later and restrict access to affected systems.

  • Remote code execution is possible via specially crafted refspecs
  • Attackers can execute OS commands as the calling process
  • Local-path and SSH transports are affected

Technical summary

The vulnerability exists in the Remote.pull() method of GitPython, where the unsafe-option guard only inspects keyword arguments, not the positional refspec. This allows attackers to supply malicious refspecs that can lead to command injection. The vulnerability can be exploited over local-path or SSH transports, potentially leading to unauthorized access and control of affected systems. Developers and administrators should update to version 3.2.0 or later and restrict access to affected systems to mitigate the vulnerability.

Defensive priority

High

Recommended defensive actions

  • Update GitPython to version 3.2.0 or later
  • Restrict access to the affected systems
  • Monitor for suspicious activity
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and source item provide details on the vulnerability in GitPython 3.1.30 before 3.2.0. The NVD entry is currently not provided. Evidence of the vulnerability's existence and impact is based on the information available from the CVE Program and source item. Defenders should verify the affected scope, severity, and vendor guidance to assess their exposure.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-110858 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-110858

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-110858 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-110858

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • GitPython 3.1.30 before 3.2.0 Command Injection via Remote.pull() Refspec

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/110xxx/CVE-2026-110858.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-f9j4-qggq-h239

    Supplemental source - vendor-advisory

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/gitpython-3.1.30-before-3.2.0-command-injection-via-remote-pull-refspec

    Supplemental source - third-party-advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.