CVE-2026-78679
Received Received - Intake

Arbitrary File Read in GitPython via TagReference.create()

Vulnerability report for CVE-2026-78679, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-25

Last updated on: 2026-08-25

Assigner: VulnCheck

Description

GitPython before 3.1.59 contains an arbitrary file read vulnerability in TagReference.create() where a positional reference parameter bypasses the unsafe option guard. Attackers can supply a reference value like --file=<path> to read arbitrary files, with contents returned in the annotated tag message.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-25
Last Modified
2026-08-25
Generated
2026-08-25
AI Q&A
2026-08-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
gitpython_developers gitpython to 3.1.59 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-73 The product allows user input to control or influence paths or file names that are used in filesystem operations.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

GitPython before 3.1.59 has an arbitrary file read vulnerability in TagReference.create(). Attackers can bypass safety checks by providing a reference parameter like --file=<path>, causing GitPython to read arbitrary files and include their contents in annotated tag messages.

Detection Guidance

Check GitPython version with pip show GitPython. If version is below 3.1.59, the system is vulnerable. Review code using TagReference.create() for positional reference parameters that might bypass safety checks.

Impact Analysis

An attacker could read sensitive files on your system if your application uses GitPython and passes user-controlled input to TagReference.create(). This could expose passwords, keys, or other confidential data processed by the application.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating GDPR (data protection) and HIPAA (health information privacy) by exposing personal or medical records. Compliance requires patching to prevent data breaches.

Mitigation Strategies

Upgrade GitPython to version 3.1.59 or later immediately. Review and update any code passing positional reference arguments to TagReference.create() to ensure safety.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-78679. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart