Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCraft commit with malformed '<' author field
-
DeliveryPush commit to attacker-accessible repository
-
ExploitTarget application fetches or clones repository
-
InstallGitPython accesses .author attribute on commit object
-
C2Actor.name_email_regex triggers quadratic backtracking
-
ExecuteCPU pinned for 2+ minutes per access
-
ImpactApplication denial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Regex complexity limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must be able to introduce a git commit object with a crafted author or committer field (containing an unterminated angle bracket) into a repository that the target application reads via GitPython. This is satisfied in any deployment where the application processes commits from public repositories, fork-based pull requests, or any repository to which the attacker has write access. The vulnerability triggers passively on commit metadata access - no special GitPython API call or configuration flag is required. Exploitation is limited by: (1) attacker must control content in a repository the application reads; (2) impact is CPU exhaustion only, not code execution or data access; (3) the default Python GIL and process isolation constrain blast radius to the worker handling the affected request. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N) scores 8.7 and reflects that no authentication or interaction is required to deliver the payload - only the ability to introduce a malformed commit into a repository the target application reads. Real-world risk depends heavily on deployment context: applications that clone or fetch from public or semi-trusted repositories (CI/CD pipelines, code review tools, git hosting frontends) are directly exposed without any additional attacker capability. Applications restricted to reading fully-trusted, internally-controlled repositories face negligible risk. Impact is purely availability - CPU exhaustion of approximately two minutes per commit access - with no confidentiality or integrity consequence. No KEV listing and no confirmed POC exist, so exploitation is currently theoretical but the technique is well-understood for ReDoS and the trigger is a single crafted commit object, making it straightforward to construct. EPSS data was not provided; the absence of active exploitation evidence keeps real-world urgency moderate despite the high score. |
| Exploit ScenarioDerived | An attacker with write access to a public or pull-request-accessible repository crafts a commit with an author field such as 'Attacker <aaaaaaaaaaaaaaaaaaaaaa' (unterminated angle bracket with repeated characters) and pushes it. When a CI/CD pipeline or code-hosting frontend running GitPython < 3.1.60 enumerates commit history or displays commit metadata, each access to that commit's author attribute triggers the vulnerable regex, pinning one CPU core for over two minutes and denying service to concurrent users of the application. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 09, 2026
Regular expression denial of service in GitPython before 3.1.60 allows unauthenticated remote attackers to exhaust server CPU resources by supplying a crafted commit with a malformed author or committer field. The vulnerable regex Actor.name_email_regex exhibits quadratic backtracking when processing an unterminated angle bracket in the author string, stalling affected processes for over two minutes per commit access. Any application that reads attacker-influenced git repositories using GitPython is exposed; no public exploit or active exploitation (CISA KEV) has been identified at time of analysis.
RemediationAI
Upgrade GitPython to version 3.1.60 or later; this is the vendor-confirmed patched release per the GitHub Security Advisory at https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-g5vv-9gxw-82hx. Run 'pip install --upgrade gitpython>=3.1.60' and pin the dependency. If an immediate upgrade is not possible, restrict the application to reading only fully-trusted, internally-controlled git repositories, preventing an attacker from delivering a malformed commit object; this eliminates the attack surface but may not be operationally feasible for hosting or CI/CD platforms. Additionally, wrapping commit-access calls in a per-request CPU timeout (e.g., via signal.alarm on Linux) can bound the DoS window at the cost of introducing false timeouts on legitimate large repositories.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
GitPython (CPE: cpe:2.3:a:gitpython-developers:gitpython:*:*:*:*:*:*:*:*) is a widely-used Python library that wraps Git repository operations including parsing commit metadata. The root cause is CWE-1333 (Inefficient Regular Expression Complexity): the class-level constant Actor.name_email_regex, used to extract name and email components from commit author and committer header lines, contains a backtracking-susceptible pattern. When presented with a crafted input such as an author string containing an unterminated '<' angle bracket, the engine explores an exponentially-growing set of partial matches before failing, consuming CPU proportionally to input length squared. This class of flaw is language-agnostic but particularly impactful in Python's 're' module, which lacks automatic catastrophic-backtracking protection. Every call path that reads commit or tag objects and accesses the .author or .committer attribute traverses this regex.
Know when Gitpython 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:N/VI:N/VA:H/SC:N/SI:N/SA:N
Network-delivered malformed commit requires no auth or interaction; sole impact is availability exhaustion via CPU starvation.
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
GitPython before 3.1.60 contains a regular expression denial of service vulnerability in Actor.name_email_regex that processes commit author and committer fields. Attackers can craft a commit object with a malformed author field containing an unterminated angle bracket to cause quadratic backtracking, exhausting CPU resources for over two minutes per commit access.
Blast Radius
ecosystem impact- 1 pypi packages depend on gitpython (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 3.1.60.
Technical POC Analysis
The flaw is an inefficient regular expression (CWE-1333) in GitPython's commit actor parser, producing uncontrolled CPU consumption (CWE-400).
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 prior to 3.1.60 contain a denial-of-service vulnerability in its regular expression parser that can exhaust server CPU resources when processing malformed git commits. Organizations that use GitPython in tools processing untrusted or attacker-influenced repositories-including CI/CD pipelines, automated code scanning, or repository management systems-face potential service disruption. While no active exploitation has been identified, the attack requires no authentication and can be triggered with a single crafted commit containing a malformed author field.
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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
All versions of package gitpython are vulnerable to Remote Code Execution (RCE) due to improper user input validation, w
Arbitrary code execution in GitPython before 3.1.59 arises from unsafe re-serialization of multi-line, quoted git-config
Command injection in GitPython before 3.1.51 allows low-privileged attackers to bypass the `check_unsafe_options` blockl
Command injection in GitPython 3.1.30-3.1.46 allows remote authenticated attackers to execute arbitrary commands via und
Command injection and arbitrary file overwrite in GitPython before 3.1.51 expose applications that pass attacker-control
Arbitrary directory creation and potential hook-based code execution in GitPython affects all releases before 3.1.59. Th
Environment variable exfiltration in GitPython before 3.1.52 allows any attacker who controls a URL passed to `Repo.clon
GitPython before 3.1.59 discloses local file content through exception messages when parsing .gitmodules files that cont
GitPython is a python library used to interact with Git repositories. Rated high severity (CVSS 7.8), this vulnerability
Arbitrary file read in GitPython before 3.1.59 allows low-privileged remote attackers to exfiltrate sensitive files by s
Arbitrary file read in GitPython versions before 3.1.59 exposes sensitive filesystem content to low-privileged network a
GitPython is a python library used to interact with Git repositories. Rated medium severity (CVSS 6.5), this vulnerabili
Same technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Desktop 15 SP7 SUSE Linux Enterprise Module for Python 3 15 SP7 SUSE Linux Enterprise Server 15 SP7 SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Desktop 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| openSUSE Leap 16.0 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP4 | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP5 | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Desktop 15 SP4 | Affected |
| SUSE Linux Enterprise Desktop 15 SP5 | Affected |
| SUSE Linux Enterprise Desktop 15 SP6 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Affected |
| SUSE Manager Proxy 4.3 | Affected |
| SUSE Manager Retail Branch Server 4.3 | Affected |
| SUSE Manager Server 4.3 | Affected |
| openSUSE Leap 15.4 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-74845
GHSA-qpf5-3wfw-fh7q
NVD
CVE.org
EPSS
VulDB
Exploit-DB