CVE catalog

CVE-2026-73625

GitPython versions before 3.1.54 contain a remote code execution vulnerability in the check_unsafe_options guard that can be bypassed by smuggling git options inside single-character kwarg values. Att

[CVE catalog]

Severity
High · CVSS 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.92% · Oct 25, 2026

GitPython versions before 3.1.54 contain a remote code execution vulnerability in the check_unsafe_options guard that can be bypassed by smuggling git options inside single-character kwarg values. Attackers can supply crafted option dictionaries to clone_from, fetch, pull, push, ls_remote, iter_commits, blame, or archive methods to execute arbitrary OS commands via the --upload-pack parameter.

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
CpegitpythonNot reported3.1.54fixed
PyPIgitpythonNot reported3.1.54fixed

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]
CpegitpythoncpeNot reported3.1.54Not reportedNVD-CVE-2026-73625Not reported
PyPIgitpythonPyPINot reported3.1.54Not reportedPYSEC-2026-3953Not 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

Observed:

References