Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessHost repo with malicious default branch name
-
DeliveryVictim app clones untrusted repository
-
ExploitHead.checkout() passes branch name as git option
-
Executiongit reads attacker-specified file path
-
ImpactFile contents leaked via GitCommandError message
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
|
| Exploitation Conditions | Exploitation requires a victim application built on GitPython before 3.2.0 that clones an attacker-controlled repository and then checks out its active/default branch (calling Head.checkout() on an untrusted branch name). The attacker must control the repository's default branch name and set it to a crafted git option such as '--pathspec-from-file=<path>'. LIMITING FACTORS: only confidentiality is affected (arbitrary file read, no write/RCE); the target must process untrusted remote repos and auto-checkout, which is not universal; the file path must be readable by the process running GitPython; and the leaked content is returned via GitCommandError output, so the application must surface or log those errors to the attacker. Upgrading to GitPython 3.2.0 removes the condition entirely. |
| Impact | This is a credible but conditional information-disclosure flaw rather than a drop-everything emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) yields 8.7 (High) driven entirely by high confidentiality impact (VC:H) with no integrity or availability impact (VI:N/VA:N) and no scope change to subsequent systems - consistent with CWE-88 argument injection enabling arbitrary file read. The network/unauthenticated/no-interaction metrics look severe in isolation, but the real-world trigger is narrower than the vector implies: exploitation requires a downstream application that uses GitPython <3.2.0 AND automatically checks out the active/default branch of an attacker-controlled repository, so the '8.7' overstates risk for environments that do not clone untrusted repos. No EPSS score, SSVC decision, KEV listing, or POC was provided in the input, so exploitation probability and automatability cannot be quantified from the data given. Net: a genuine issue worth prioritizing for products/pipelines that ingest untrusted git repositories via GitPython, but likely low-to-moderate real-world risk elsewhere; treat as patch-on-schedule unless you run such clone-and-checkout automation. |
| Exploit ScenarioDerived | An attacker publishes a malicious git repository whose default branch is named '--pathspec-from-file=/etc/passwd' (or another sensitive path). A victim service that uses GitPython to clone the repo and check out its active branch passes that branch name unsanitized to git, which interprets it as an option; the resulting GitCommandError message leaks the file's contents back to the attacker. No public exploit code was identified in the provided data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 15, 2026
Arbitrary file read in GitPython before 3.2.0 occurs when a vulnerable application clones an attacker-controlled repository and then calls Head.checkout() on the repository's default branch; a branch named like --pathspec-from-file=<path> is parsed by Git as an option rather than a branch, causing readable file contents to be leaked through GitCommandError messages. This is a credible but conditional information-disclosure flaw, not a drop-everything emergency: only confidentiality is affected, exploitation requires the target to process untrusted repositories and surface error output, and no public exploit identified at time of analysis. Unauthenticated network exploitation is possible per the PR:N vector, and the vendor patch is GitPython 3.2.0.
RemediationAI
Upgrade to GitPython 3.2.0, the vendor-released fixed version. If immediate upgrade is not possible, avoid automatically checking out the default or active branch of untrusted repositories and validate branch names before calling Head.checkout(), rejecting any name that begins with a hyphen or otherwise matches git option syntax; where checkout must proceed, pass a literal -- separator before the branch name in the underlying Git invocation. Also avoid exposing raw GitCommandError output to untrusted users or logs they can read, and run the GitPython process with least privilege so sensitive files are not readable. These compensating controls reduce exposure but do not fully remove the argument-injection condition; the durable fix is the 3.2.0 upgrade. See https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-23mf-xhv8-69c2 and https://www.vulncheck.com/advisories/gitpython-before-3.2.0-arbitrary-file-read-via-head-checkout-branch-name.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
GitPython is a Python library that wraps the Git command-line client. CVE-2026-110859 is a CWE-88 argument injection flaw in Head.checkout(): before 3.2.0, the method passes a branch name to git checkout without ensuring that a value beginning with a dash cannot be parsed as an option. An attacker-controlled repository can set its default branch to a string such as --pathspec-from-file=<path>, so a downstream application that clones the repository and then checks out the active branch causes Git to interpret that branch name as the --pathspec-from-file option. The resulting GitCommandError can disclose the contents of a file readable by the GitPython process. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) and the independent CVSS 3.1 assessment (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) both characterize this as unauthenticated network-triggered arbitrary file read with no integrity or availability impact; exploitation is conditional on the application automatically checking out an untrusted repository's default branch and exposing or logging the Git error message.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable, unauthenticated argument injection via attacker-named branch with no user interaction; arbitrary file read gives C:H while I:N/A:N as no modification or availability impact.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
2DescriptionCVE.org
GitPython before 3.2.0 contains an argument injection vulnerability in Head.checkout() that allows remote attackers to read arbitrary files by supplying a branch name parsed as a git option. Attackers can host a repository whose default branch is named --pathspec-from-file=<path>, causing cloning applications that check out the active branch to leak file contents through GitCommandError messages.
Technical POC Analysis
Advisory: GHSA-23mf-xhv8-69c2.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
GitPython versions before 3.2.0 can leak the contents of readable files from any system that clones a repository controlled by an attacker and then checks out its default branch, because a maliciously named branch is misinterpreted as a command-line option and its contents are echoed back in error messages. The exposure is limited to confidentiality and only materializes in workflows that pull untrusted repositories and surface raw Git errors, which typically means CI/CD pipelines, build servers, and developer tooling. Leadership should care because those environments often hold credentials, tokens, and proprietary source code that could be disclosed without any authentication or user interaction beyond the normal build process.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-101742
GHSA-pv89-gqgv-pcc9
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB