Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPublish malicious repo with crafted .gitmodules submodule name
-
DeliveryVictim CI/tool clones repository
-
Exploitsubmodule_update triggers unsafe polish_url env expansion
-
ExecutionSecret env vars written to .git/modules paths and DEBUG logs
-
ImpactAttacker 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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
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.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
2DescriptionCVE.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
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-101738
GHSA-cwpg-5qqf-hf36
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB