Skip to main content

GitPython EUVDEUVD-2026-101738

| CVE-2026-110855 HIGH
Information Exposure (CWE-200)
2026-10-14 disclosure@vulncheck.com GHSA-cwpg-5qqf-hf36
7.1
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Publish malicious repo with crafted .gitmodules submodule name
  2. Delivery
    Victim CI/tool clones repository
  3. Exploit
    submodule_update triggers unsafe polish_url env expansion
  4. Execution
    Secret env vars written to .git/modules paths and DEBUG logs
  5. Impact
    Attacker harvests leaked secrets

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK

2 techniques across 2 tactics: Collection, Discovery

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires the victim to clone an attacker-supplied repository AND invoke submodule handling (clone plus submodule_update) using GitPython before 3.2.0; the attacker must control the repository's .gitmodules to supply a submodule name containing shell/environment-variable syntax. Impact is realized only when sensitive data is present in the process environment variables that get expanded, and the leaked values land in .git/modules directory names and DEBUG-level logs - so verbose/DEBUG logging or exposure of the working directory increases disclosure. Limiting factors: user interaction is mandatory (UI:P - no server-side or unauthenticated-remote trigger), the operation must involve submodules, and the GitPython version must be below 3.2.0; integrity and availability are unaffected.

Impact

This is a moderate-severity information disclosure flaw (CVSS 4.0 base 7.1) whose real-world risk is tempered by a required user action. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N) indicates a network-reachable, low-complexity, unauthenticated attack with high confidentiality impact but no integrity or availability impact - consistent with CWE-200 and the description of secrets leaking into .git/modules directory names and DEBUG logs. The decisive limiter is UI:P (passive user interaction): exploitation requires a victim to clone and run submodule_update against an attacker-controlled repository, so this is not a server-side, drive-by, or self-propagating condition. No EPSS score, CISA KEV listing, POC reference, or SSVC decision data was provided in the input, so there is no signal of active or probable exploitation; the risk rests on vendor/NVD analysis alone. Net assessment: a legitimate supply-chain/CI hardening priority for environments that automatically clone untrusted repositories (e.g., CI runners, package importers), but not an emergency-patch, mass-exploitation scenario. Note: VC:H (high confidentiality) depends on sensitive data actually existing in the attacker-influenceable environment variables - environments with no secrets in env vars see far lower practical impact than the base score implies.

Exploit ScenarioDerived

An attacker publishes a malicious git repository whose .gitmodules defines a submodule name containing environment-variable syntax (e.g. referencing a secret env var). When a victim - such as a CI pipeline or developer tool - clones the repo and runs submodule_update with a vulnerable GitPython (before 3.2.0), separate_git_dir in Repo._clone() expands that variable, writing the secret value into .git/modules directory names and DEBUG log output where the attacker or log aggregators can recover it. No public exploit code was referenced in the provided data, and exploitation requires the victim to perform the clone and submodule operation.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 14, 2026

Information disclosure in GitPython before 3.2.0 lets attackers leak environment-variable secrets through crafted submodule names in a repository's .gitmodules file. The flaw occurs when Repo._clone() calls Git.polish_url() without expand_vars=False, so variable syntax in a submodule name is expanded during clone plus submodule_update and the resulting values surface in .git/modules directory names and DEBUG logs. Exploitation is unauthenticated per the CVSS vector (PR:N) but requires the victim to clone an attacker-supplied repository and invoke submodule handling, and leakage only materializes if sensitive values are present in the process environment; no public exploit code, CISA KEV entry, or EPSS score was identified in the provided data, and integrity and availability are unaffected (CVSS 4.0 base 7.1, moderate severity).

RemediationAI

Vendor-released patch: 3.2.0. Upgrade GitPython to 3.2.0 or later, which adds expand_vars=False and removes the environment-variable expansion behavior. Consult the vendor advisory at https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-fx3j-rwgx-fr94 and the VulnCheck advisory at https://www.vulncheck.com/advisories/gitpython-before-3.2.0-environment-variable-disclosure-via-gitmodules-submodule-name. If immediate upgrade is not possible, avoid cloning untrusted repositories and do not invoke submodule_update on them; run GitPython clone operations in a process environment that contains no secrets, since the leak depends on sensitive values being present in environment variables; and disable DEBUG-level logging around clone and submodule operations to reduce exposure of expanded values. These compensating controls do not fix the underlying flaw and carry trade-offs: restricting clone or submodule operations limits functionality, and scrubbing the environment may break workflows that legitimately rely on environment variables.

Affected VersionsENISA

GitPython 0 <3.2.0

Affected Packages

euvd gitpython fix: 3.2.0

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 used to script Git operations. The vulnerable code path is the internal Repo._clone() routine, which calls Git.polish_url() without passing expand_vars=False; as a result, environment-variable syntax embedded in a repository-controlled .gitmodules submodule name is expanded instead of being treated as literal text. Under CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor), the expanded values, which come from the process environment, are reflected in the names of directories created under .git/modules and written to DEBUG-level logs. The attack chain requires cloning the malicious repository and triggering submodule_update, so the affected workflow is specifically GitPython's clone-plus-submodule handling below version 3.2.0. No CPE strings were supplied in the source data; the advisory references GHSA-fx3j-rwgx-fr94 and the VulnCheck advisory URL.

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

Vendor (vulncheck) PRIMARY 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-delivered malicious repo (AV:N) is simple to craft (AC:L) and needs no attacker auth (PR:N) but requires the victim to clone/update submodules (UI:R); only secrets are disclosed, so C:H, I:N, A:N.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 6.5 MEDIUM

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Oct 15, 2026 - 02:16 EUVD
CVE Published
Oct 14, 2026 - 23:54 cve.org
HIGH 7.1

DescriptionCVE.org

GitPython before 3.2.0 contains an information disclosure vulnerability that allows malicious repositories to expand environment variables via separate_git_dir in Repo._clone(), which omits expand_vars=False when calling Git.polish_url(). Attackers can craft a .gitmodules submodule name containing variable syntax so that clone plus submodule_update exposes secrets in .git/modules directory names and DEBUG logs.

Technical POC Analysis

CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
High
widely-used Python git library common in CI/CD and automation tooling
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy