cve.bz

CVE-2026-44243 gitpython project gitpython: Path traversal

7.8 highExploit referenceEPSS 0.4%Fix available

High (7.8) in gitpython project gitpython. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in gitpython 3.1.48.

On this page
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.

Severity

CVSS 4.0

7.8 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:P

CVSS 3.1

7.1 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 37th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2026-05-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-44243 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-44243?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-44243?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-44243 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gitpython_project:gitpythonbefore 3.1.48

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7545-fcxq-7j24PyPIgitpython<3.1.483.1.48
PYSEC-2026-2162PyPIgitpython<3.1.483.1.48

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12python-git3.1.30-1+deb12u3DEBIAN-CVE-2026-44243 DLA-4872-1
Debian13python-git3.1.44-1+deb13u1DEBIAN-CVE-2026-44243 DSA-6594-1
Debian14python-git3.1.50-1DEBIAN-CVE-2026-44243
Ubuntu25.10, 26.10python-gitno fix listedUBUNTU-CVE-2026-44243
UbuntuPro:14.04:LTSpython-git0.3.2~RC1-3ubuntu0.1~esm3UBUNTU-CVE-2026-44243 USN-8303-1
UbuntuPro:16.04:LTSpython-git1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm4UBUNTU-CVE-2026-44243 USN-8303-1
UbuntuPro:18.04:LTSpython-git2.1.8-1ubuntu0.1~esm4UBUNTU-CVE-2026-44243 USN-8303-1
UbuntuPro:20.04:LTSpython-git3.0.7-1ubuntu0.1~esm4UBUNTU-CVE-2026-44243 USN-8303-1
UbuntuPro:22.04:LTSpython-git3.1.24-1ubuntu0.1~esm3UBUNTU-CVE-2026-44243 USN-8303-1
UbuntuPro:24.04:LTSpython-git3.1.37-3ubuntu0.1~esm2UBUNTU-CVE-2026-44243 USN-8303-1
UbuntuPro:26.04:LTSpython-git3.1.46-1ubuntu0.1~esm1UBUNTU-CVE-2026-44243 USN-8303-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morepython-GitPython3.1.34.1693646983.2a2ae77-150400.9.8.1SUSE-SU-2026:4072-1
openSUSETumbleweedpython-GitPython3.1.49-1.1openSUSE-SU-2026:10758-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw in GitPython is rated as Moderate as it allows an attacker to perform arbitrary file write, overwrite, move, or delete operations outside of a Git repository. This is possible by supplying a crafted reference path to an application that uses GitPython, leading to potential unauthorized modification or deletion of critical system files. The impact is significant due to the potential for data integrity compromise on systems utilizing affected GitPython versions. However, exploitation is unlikely as it requires an application to use GitPython affected functions with user-supplied data. The vulnerability is not automatically exploitable simply because GitPython is installed or used. It requires to pass user-controlled data into the affected functions - thus AC:H.

Red Hat's mitigation

Applications using GitPython should validate and sanitize all reference path inputs before passing them to GitPython's reference creation, rename, and delete APIs. Specifically, reject any reference path containing path traversal sequences such as "..". In Red Hat products, exploitation requires the ability to supply a crafted Git reference name to an application using GitPython — environments that do not expose GitPython reference operations to untrusted user input are not susceptible to this attack. Updating to GitPython 3.1.48 or later fully resolves this issue.

ProductPackageStateAdvisory
Exploit Intelligenceexploit-intelligence-tech-preview/vulnerability-analysis-rhel9Fix deferred
Migration Toolkit for Applications 8mta/mta-solution-server-rhel9Fix deferred
Pen Drive Powered by Red Hat Lightspeedpen-drive/pen-drive-scanner-rhel9Fix deferred
Red Hat AI Inference Serverrhaiis/vllm-cpu-rhel9Fix deferred
Red Hat AI Inference Serverrhaiis/vllm-tpu-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/controller-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/hub-rhel9Fix deferred
Red Hat Ansible Automation Platform 2automation-controllerFix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-cuda-rhel9Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-rocm-rhel9Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/disk-image-cuda-rhel9Fix deferred
Red Hat Hardened ImagesllvmNot affected
Red Hat Hardened Imagesllvm21Not affected
Red Hat Hardened ImagesrustNot affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mlflow-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-training-cuda128-torch29-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-trustyai-nemo-guardrails-server-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9Fix deferred
12 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-44243.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON