Skip to main content
VulnerabilityPublished Updated

CVE-2026-73619: GitPython · External Control of File Name or Path

Affects GitPythonSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.1 High : upgrade to 3.1.57 soon.

Data as of 12 Nov 2026, 23:24 UTC

CVSS 4.0 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 35% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.1.57
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Upgrade GitPython and gitpython to 3.1.57.

Affected software

ProductAffectedFixed in
gitpython-developersGitPythonAffected
  • <3.1.57
Fixed in
  • 3.1.57
PyPIgitpythonpkg:pypi/gitpythonOther threatsAffected
  • <3.1.57
Fixed in
  • 3.1.57

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, avoid using untrusted input with the Repo.archive() method or restrict usage to trusted users only.

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.

References

Community reviews

Loading reviews…