Advisory record · GHSA-539m-9xh6-q6rr

GitPython: Incomplete unsafe_git_archive_options denylist omits --add-file / --add-virtual-file, enabling arbitrary file read via Repo.archive()

CVSS 7.1 HighEPSS 0.0041 · 36th percentile

Published by the GitHub Advisory Database at 3 Aug 2026, 20:14 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
gitpythonPyPI<3.1.573.1.57
Identifiers
GHSA-539m-9xh6-q6rr · CVE-2026-73619 · PYSEC-2026-3948
Weakness (CWE)
CWE-73 · CWE-200
Published
3 Aug 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

GitPython versions before 3.1.57 are affected. The option denylist used by Repo.archive() omits --add-file and --add-virtual-file, so a caller who can influence archive options can have the library read an arbitrary file on the host, such as one outside the repository, and receive its contents in the returned archive. Upgrade to GitPython 3.1.57, which is listed as the fixed version. The source also describes a related gap in the clone option list (--bundle-uri), which is not covered by this record's package entry.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.1 High 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0041, the 36th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:10 UTC First seen by agentprime
  2. 31 Oct 2026, 14:10 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.