CVE catalog

CVE-2026-73619

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

[CVE catalog]

Severity
High · CVSS 7.1CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Source
[NVD] · [CVE record]
EPSS
0.41% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-gitsid3.2.1-1fixed
Debianpython-gitforky3.2.1-1fixed
Debianpython-gittrixie3.1.44-1vulnerable
Debianpython-gitbookworm3.1.30-1+deb12u2vulnerable
PyPIgitpythonNot reported3.1.57fixed
CpegitpythonNot reported3.1.57fixed
Opensusepython-GitPythontumbleweed3.1.59-2.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-gitsourcesid3.1.61-1not yet assignedNot reported[1144344]
Debianpython-gitsourceforky3.1.61-1not yet assignedNot reported[1144344]
Debianpython-gitsourcetrixie(unfixed)not yet assignedNot reported[1144344]
Debianpython-gitsourcebookworm(unfixed)not yet assignedNot reported[1144344]
PyPIgitpythonPyPINot reported3.1.57Not reportedGHSA-539M-9XH6-Q6RRNot reported
CpegitpythoncpeNot reported3.1.57Not reportedNVD-CVE-2026-73619Not reported
Opensusepython-GitPythonrpmtumbleweed3.1.59-2.1Not reportedOPENSUSE-SU-2026:11566-1Not reported

[Debian bug #1144344]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-git]Affected

    Source package: [python-git]

    Details (2)
    • 3.1.30-1+deb12u2 · all · bookworm

      Affected

      nvd · python-git · debian · bookworm; nvd · python-git · debian · 12

    • 3.1.30-1+deb12u2 · all · bookworm

      Affected

      nvd · python-git · debian · bookworm; nvd · python-git · debian · 12

  • [python-git-doc]Affected

    Source package: [python-git]

    Details (2)
    • 3.1.30-1+deb12u2 · all · bookworm

      Affected

      nvd · python-git · debian · bookworm; nvd · python-git · debian · 12

    • 3.1.30-1+deb12u2 · all · bookworm

      Affected

      nvd · python-git · debian · bookworm; nvd · python-git · debian · 12

[Debian 13 (Trixie)]

  • [python3-git]Affected

    Source package: [python-git]

    Details (2)
    • 3.1.44-1 · all · trixie

      Affected

      nvd · python-git · debian · 13

    • 3.1.44-1 · all · trixie

      Affected

      nvd · python-git · debian · 13

  • [python-git-doc]Affected

    Source package: [python-git]

    Details (2)
    • 3.1.44-1 · all · trixie

      Affected

      nvd · python-git · debian · 13

    • 3.1.44-1 · all · trixie

      Affected

      nvd · python-git · debian · 13

[openSUSE Tumbleweed]

  • Source package: [python-GitPython]

    Details (1)
    • 3.1.61-1.1 · noarch · tumbleweed

      Unknown · Fixed: 3.1.59-2.1

      Version impact unknown

      nvd · python-GitPython · opensuse · tumbleweed

  • Source package: [python-GitPython]

    Details (1)
    • 3.1.61-1.1 · noarch · tumbleweed

      Unknown · Fixed: 3.1.59-2.1

      Version impact unknown

      nvd · python-GitPython · opensuse · tumbleweed

Observed:

References