Directory Traversal Affecting python-git package, versions <3.0.7-1ubuntu0.1~esm4


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

Social Trends
EPSS
0.42% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-PYTHONGIT-16535359
  • published23 May 2026
  • disclosed7 May 2026

Introduced: 7 May 2026

CVE-2026-44243  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 python-git to version 3.0.7-1ubuntu0.1~esm4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-git package and not the python-git package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

GitPython is a python library used to interact with Git repositories. Prior to version 3.1.48, a vulnerability in GitPython allows attackers who can supply a crafted reference path to an application using GitPython to write, overwrite, move, or delete files outside the repository’s .git directory via insufficient validation of reference paths in reference creation, rename, and delete operations. This issue has been patched in version 3.1.48.

CVSS Base Scores

version 3.1