CVE-2026-73619

GitPython before 3.1.57 Arbitrary File Read via Repo.archive()

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

Read the record on cve.org

Description

GitPython before 3.1.57 contains an incomplete denylist in the unsafe_git_archive_options guard that omits --add-file and --add-virtual-file options. Attackers can supply these options to Repo.archive() to read arbitrary files from the filesystem and include them in the returned archive.

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.57Affected
  • 3.1.57Not 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.