CVE-2026-78679

GitPython before 3.1.59 Arbitrary File Read via TagReference.create

State
Published
Severity
7.1 High
Published
Aug 25, 2026
Updated
Oct 8, 2026
Reserved
Aug 25, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.1 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NVulnCheck
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NVulnCheck

Weaknesses

  • CWE-73 External Control of File Name or Path

Affected Products

ProductVersions
GitPythongitpython-developers
  • before 3.1.59Affected
  • 3.1.59Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.