---
title: "GitPython — CVE-2026-78677"
description: "A path traversal flaw affects the PyPI package GitPython. Affected versions: <= 3.1.58. Fixed from version 3.1.59. CVSS score 7.5."
canonical: https://inyourgeek.com/en/failles-de-securite/2026-09-08-cve-2026-78677
type: faille-de-securite
author: "Sébastien Soulier"
publisher: "InYourGeek"
language: en
datePublished: 2026-09-08
dateModified: 2026-09-08
---
# GitPython — CVE-2026-78677

A path traversal flaw affects the PyPI package GitPython. Affected versions: <= 3.1.58. Fixed from version 3.1.59. CVSS score 7.5.

## What to do

Update GitPython to 3.1.59 or later.

| Fact | Value |
| --- | --- |
| Package | GitPython |
| Ecosystem | PyPI (Python) |
| Class | Path traversal |
| Affected versions | <= 3.1.58 |
| Fixed version | 3.1.59 |
| CVSS | 7.5 |
| CVE | CVE-2026-78677 |
| GHSA | GHSA-8mcc-hrx5-hvxc |
| Published on | September 8, 2026 |
| Severity | High |

## Sources

- [GitHub Security Advisory — GHSA-8mcc-hrx5-hvxc](https://github.com/advisories/GHSA-8mcc-hrx5-hvxc) — GitHub Security Advisories
- [NVD — CVE-2026-78677](https://nvd.nist.gov/vuln/detail/CVE-2026-78677) — NVD

---

Equivalent HTML page : https://inyourgeek.com/en/failles-de-securite/2026-09-08-cve-2026-78677
Published by InYourGeek — https://inyourgeek.com/en/a-propos
Method and safeguards : https://inyourgeek.com/en/methode
Full register : https://inyourgeek.com/en/failles-de-securite
