---
id: CVE-2026-87819
title: >-
  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
summary: >-
  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 containi…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-1333
vendor: gitpython_project
product: gitpython
affected:
  - gitpython < 3.1.60
patched:
  - gitpython 3.1.60
published: '2026-09-09'
updated: '2026-09-18'
sourceUpdated: '2026-09-18T18:17:34.697'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-87819'
references:
  - url: >-
      https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-g5vv-9gxw-82hx
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/gitpython-before-3.1.60-denial-of-service-via-redos
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
  - osv
  - pip
epss: 0.00521
epssPercentile: 0.41805
aliases:
  - PYSEC-2026-3984
  - GHSA-g5vv-9gxw-82hx
ecosystem: pip
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-18T17:09:07.925027Z'
ingestedAt: '2026-09-09T12:08:31.841Z'
---

## Overview

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.

## Affected

- `gitpython < 3.1.60`

## Remediation

Upgrade past the affected range:

- `gitpython 3.1.60`

## Package advisory (CVE-2026-87819)

Affected packages:

- `gitpython < 3.1.60`

Patched in:

- `gitpython 3.1.60`

Source: https://osv.dev/vulnerability/PYSEC-2026-3984
