Skip to main content

GitPython EUVDEUVD-2026-74845

| CVE-2026-87819 HIGH
Inefficient Regular Expression Complexity (ReDoS) (CWE-1333)
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Recon
    Craft commit with malformed '<' author field
  2. Delivery
    Push commit to attacker-accessible repository
  3. Exploit
    Target application fetches or clones repository
  4. Install
    GitPython accesses .author attribute on commit object
  5. C2
    Actor.name_email_regex triggers quadratic backtracking
  6. Execute
    CPU pinned for 2+ minutes per access
  7. Impact
    Application 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.

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

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

Alert me

AnalysisAIv1 – 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

GitPython 0 <3.1.60

Affected Packages

pypi gitpython fix: 3.1.60

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

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

Network-delivered malformed commit requires no auth or interaction; sole impact is availability exhaustion via CPU starvation.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat 7.5 HIGH

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

2
Patch available
Sep 09, 2026 - 12:03 EUVD
CVE Published
Sep 09, 2026 - 11:21 cve.org
HIGH 8.7

DescriptionCVE.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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
High
widely-used Python library for git repository interaction
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

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.3%
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· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2022-24439 CRITICAL POC
9.8 Dec 06

All versions of package gitpython are vulnerable to Remote Code Execution (RCE) due to improper user input validation, w

CVE-2026-78676 CRITICAL POC
9.3 Aug 25

Arbitrary code execution in GitPython before 3.1.59 arises from unsafe re-serialization of multi-line, quoted git-config

CVE-2026-67325 HIGH POC
8.7 Aug 01

Command injection in GitPython before 3.1.51 allows low-privileged attackers to bypass the `check_unsafe_options` blockl

CVE-2026-42215 HIGH POC
8.8 May 07

Command injection in GitPython 3.1.30-3.1.46 allows remote authenticated attackers to execute arbitrary commands via und

CVE-2026-67323 HIGH POC
8.6 Aug 01

Command injection and arbitrary file overwrite in GitPython before 3.1.51 expose applications that pass attacker-control

CVE-2026-78677 HIGH POC
8.7 Aug 25

Arbitrary directory creation and potential hook-based code execution in GitPython affects all releases before 3.1.59. Th

CVE-2026-67322 HIGH POC
8.7 Aug 01

Environment variable exfiltration in GitPython before 3.1.52 allows any attacker who controls a URL passed to `Repo.clon

CVE-2026-78675 HIGH POC
8.6 Aug 25

GitPython before 3.1.59 discloses local file content through exception messages when parsing .gitmodules files that cont

CVE-2023-40590 HIGH POC
7.8 Aug 28

GitPython is a python library used to interact with Git repositories. Rated high severity (CVSS 7.8), this vulnerability

CVE-2026-78679 HIGH POC
7.1 Aug 25

Arbitrary file read in GitPython before 3.1.59 allows low-privileged remote attackers to exfiltrate sensitive files by s

CVE-2026-78678 HIGH POC
7.1 Aug 25

Arbitrary file read in GitPython versions before 3.1.59 exposes sensitive filesystem content to low-privileged network a

CVE-2023-41040 MEDIUM POC
6.5 Aug 30

GitPython is a python library used to interact with Git repositories. Rated medium severity (CVSS 6.5), this vulnerabili

Vendor 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

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