Description
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.
Published: 2026-09-09
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

GitPython versions prior to 3.1.60 include a regular expression denial of service flaw in the Actor.name_email_regex component that processes commit author and committer strings. A crafted commit can contain an author field with an incomplete angle bracket, forcing the regex to engage in quadratic backtracking. This exhausts CPU resources for over two minutes per commit when accessed, effectively disrupting services that rely on GitPython for repository inspection or manipulation. The weakness is a classic ReDoS attack (CWE‑1333) and can lead to significant performance degradation or service unavailability.

Affected Systems

The affected product is the GitPython library provided by the gitpython‑developers. The vulnerability exists in all releases before 3.1.60. Systems that embed GitPython in their codebase (for example CI pipelines, hosting services, or custom git tools) are at risk if they use a pre‑3.1.60 build. No further product or version detail is recorded beyond the main library name.

Risk and Exploitability

The base score of 8.7 indicates high severity, but no EPSS score is available, meaning the current likelihood of exploitation is unclear. The vulnerability is not listed in the CISA KEV catalog, which suggests it is not a current, widely exploited exposure. The likely attack vector is a crafted commit object; the typical vector is either a local attacker who can inject commits into a repository that GitPython processes, or a remote attacker that can insert malicious commits through a buggy ingestion API. The exploitation would require the target to parse at least one malformed commit, after which the denial of service would manifest as a prolonged CPU spike.

Generated by OpenCVE AI on September 9, 2026 at 12:49 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the GitPython package to version 3.1.60 or later.
  • Restrict processing of commit metadata to trusted sources and sanitize or reject author/committer strings that do not match the required format.
  • If upgrading is not immediately possible, replace or patch the Actor.name_email_regex to use a non‑backtracking algorithm or limit input length, and monitor CPU usage for anomalous spikes.

Generated by OpenCVE AI on September 9, 2026 at 12:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 09 Sep 2026 11:30:00 +0000

Type Values Removed Values Added
Description 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.
Title GitPython before 3.1.60 Denial of Service via ReDoS
First Time appeared Gitpython Project
Gitpython Project gitpython
Weaknesses CWE-1333
CPEs cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:*:*:*
Vendors & Products Gitpython Project
Gitpython Project gitpython
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, 'vector': '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'}


Subscriptions

Gitpython Project Gitpython
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-09T11:21:05.360Z

Reserved: 2026-09-09T10:32:34.110Z

Link: CVE-2026-87819

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-09T12:17:17.120

Modified: 2026-09-09T12:17:17.120

Link: CVE-2026-87819

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-09T13:00:14Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity