Skip to main content
Public proof of conceptFix available

CVE-2026-67323

A public proof of concept exists; no exploitation attested.

  • Published2026-08-01
  • Fixed in3.1.51
  • WeaknessCWE-77

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

GitPython before 3.1.51 fails to guard against dangerous Git options passed as keyword arguments in Repo.archive() and git.ls_remote(), allowing command injection via options such as --exec/--upload-pack (leading to arbitrary command execution). Additionally, Repo.iter_commits() and Repo.blame() do not check for leading-dash revision arguments, so a revision like --output=<path> can cause Git to open and truncate an arbitrary file. Exploitation requires an application that passes attacker-controlled arguments to these methods.

Timeline

dates in UTC
  1. 2026-08-0113:17CVE publishedNVD

Versions per branch

NVD · OSV
Gitpython project gitpython
BranchAffectedFixed in
3.1< 3.1.513.1.51

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As VulnCheck, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • gitpython-developers GitPythonother versions: not affected
    Affected
    • < 3.1.51fixed in 3.1.51semver

    Not affected = 3.1.51

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-10-08

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • automation-controllerRed Hat:ansible_automation_platform:2.6::el9all versions · fixed in 0:4.7.17-1.el9apand 4 other packages
  • automation-controllerRed Hat:ansible_automation_platform_developer:2.6::el9all versions · fixed in 0:4.7.17-1.el9apand 1 other package
  • automation-controller-cliRed Hat:ansible_automation_platform:2.6::el9all versions · fixed in 0:4.7.16-1.el9apand 1 other package
  • automation-controller-cliRed Hat:ansible_automation_platform:2.5::el9all versions · fixed in 0:4.6.32-1.el9apand 1 other package
  • automation-controller-cliRed Hat:ansible_automation_platform:2.5::el8all versions · fixed in 0:4.6.32-1.el8apand 1 other package
  • automation-controller-cliRed Hat:ansible_automation_platform_developer:2.6::el9all versions · fixed in 0:4.7.16-1.el9ap
  • automation-controller-cliRed Hat:ansible_automation_platform_developer:2.5::el9all versions · fixed in 0:4.6.32-1.el9ap
  • automation-controller-cliRed Hat:ansible_automation_platform_developer:2.5::el8all versions · fixed in 0:4.6.32-1.el8ap

90 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-67323 Red Hat Product Security268 products fixed · 15 known affected

    gitpython: GitPython: Arbitrary code execution via command injection due to unguarded Git options

    exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 as a component of Exploit Intelligence · mta/mta-solution-server-rhel9 as a component of Migration Toolkit for Applications 8 · pen-drive/pen-drive-scanner-rhel9 as a component of Pen Drive Powered by Red Hat Lightspeed · +12 more

  • RHSA-2026:84734 Red Hat Product Security44 products fixed

    Red Hat Security Advisory: RHOAI 3.4.5 - Red Hat OpenShift AI

  • RHSA-2026:73987 Red Hat Product Security23 products fixed

    Red Hat Security Advisory: RHOAI 3.3.7 - Red Hat OpenShift AI

  • RHSA-2026:71210 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Container Release Update

  • RHSA-2026:71179 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Container Release Update

  • RHSA-2026:71114 Red Hat Product Security8 products fixed

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update

12 more advisories

Full record on NVD

Fix

  1. Update Gitpython project gitpython to 3.1.51
  2. Vendor fix Red Hat Product Security RHSA-2026:84734 · 44 productsFor Red Hat OpenShift AI 3.4.5 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
  3. Vendor fix Red Hat Product Security RHSA-2026:73987 · 23 productsFor Red Hat OpenShift AI 3.3.7 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
  4. Vendor fix Red Hat Product Security RHSA-2026:71210 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5#Upgrading
  5. Vendor fix Red Hat Product Security RHSA-2026:71179 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.6#Upgrade
  6. Vendor fix Red Hat Product Security RHSA-2026:71114 · 8 productsFor details on how to apply this update, refer to Ansible Automation Platform documentation.
  7. Vendor fix Red Hat Product Security RHSA-2026:67279 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.7#Upgrade

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-10-24
  • CISA-ADPSSVC decisionpoc2026-08-04
  • CNACVSS 4.08.6known since 2026-10-24
  • CNACVSS 3.18.4known since 2026-10-24
  • CNAweakness (CWE)CWE-77known since 2026-10-24
  • FIRST EPSSEPSS score1.3 %2026-12-03
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHigh2026-07-21

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 4.0 vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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
2026-08-01
Last modified
2026-10-23
NVD status
Analyzed

Frequently asked questions

What is CVE-2026-67323?

GitPython before 3.1.51 fails to guard against dangerous Git options passed as keyword arguments in Repo.archive() and git.ls_remote(), allowing command injection via options such as --exec/--upload-pack (leading to arbitrary command execution). Additionally, Repo.iter_commits() and Repo.blame() do not check for leading-dash revision arguments, so a revision like --output=<path> can cause Git to open and truncate an arbitrary file. Exploitation requires an application that passes attacker-controlled arguments to these methods.

Is CVE-2026-67323 actively exploited?

A proof-of-concept exploit exists for CVE-2026-67323, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-67323?

CVE-2026-67323 has a CVSS v3 base score of 8.4 (High severity), with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running gitpython? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record