ADVISORIES

Vulnerability

CVE-2026-67322

GitPython before 3.1.52 is vulnerable to environment-variable exfiltration in Repo.clone_from(). The caller-supplied remote URL is passed through Git.polish_url(), which on non-Cygwin platforms calls os.path.expandvars() on the URL before invoking git clone. An attacker who controls the clone URL can embed $NAME or ${NAME} tokens that are expanded to the values of the hosting process's environment variables (e.g., AWS_SECRET_ACCESS_KEY or GITHUB_TOKEN). The resulting URL, now containing the secret, is transmitted over the network to an attacker-controlled host during the clone attempt, disclosing the secret.

36 advisories report this vulnerability, across 9 ecosystems.

Advisories

  • CGA-2hx9-gcfc-2fvp
    CVE-2026-67322 Chainguard Updated 5 November 2026
  • CGA-2wg4-p4c7-3qfr
    CVE-2026-67322 Chainguard Updated 5 November 2026
  • CGA-3gw4-q932-824c
    CVE-2026-67322 Chainguard Updated 5 November 2026
  • CGA-6w5m-xc4v-79jc
    CVE-2026-67322 Chainguard Updated 5 November 2026
  • CGA-7r85-gw2x-3jhm
    CVE-2026-67322 Chainguard Updated 5 November 2026
  • CGA-96j8-xx4v-wrp3
    CVE-2026-67322 Chainguard Updated 5 November 2026
  • CGA-c4rg-6jjj-8vr2
    CVE-2026-67322 Chainguard Updated 5 November 2026
  • CGA-cw55-hffj-854c
    CVE-2026-67322 Chainguard Updated 5 November 2026
  • CGA-f2rq-g7p8-jhp4
    CVE-2026-67322 Chainguard Updated 5 November 2026
  • CGA-gf4q-vj84-8gc9
    CVE-2026-67322 ChainguardWolfi Updated 5 November 2026
  • CGA-hwjq-gvpf-hrm6
    CVE-2026-67322 Chainguard Updated 5 November 2026
  • CGA-hwp6-92w6-3hc8
    CVE-2026-67322 ChainguardWolfi Updated 5 November 2026
  • CGA-mww4-25h8-wmw9
    CVE-2026-67322 Chainguard Updated 5 November 2026
  • CGA-p2h8-r9xh-h4f9
    CVE-2026-67322 Chainguard Updated 5 November 2026
  • CGA-pch2-xj4h-54v9
    CVE-2026-67322 Chainguard Updated 5 November 2026
  • CGA-w7qj-jh8p-vx8x
    CVE-2026-67322 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2026-67322

    GitPython before 3.1.52 is vulnerable to environment-variable exfiltration in Repo.clone_from(). The caller-supplied remote URL is passed through Git.polish_url(), which on non-Cygwin platforms calls…

    CVE-2026-67322 Debian Updated 31 October 2026
  • DLA-4872-1

    python-git - security update

    CVE-2026-100689CVE-2026-110855CVE-2026-110856CVE-2026-110857 Debian Updated 20 November 2026
  • DSA-6594-1

    python-git - security update

    CVE-2026-42215CVE-2026-42284CVE-2026-44243CVE-2026-44244 Debian Updated 20 November 2026
  • GHSA-rwj8-pgh3-r573

    GitPython: Environment-variable exfiltration via os.path.expandvars() on Repo.clone_from() URL

    High CVE-2026-67322 PyPI Updated 24 September 2026
  • OESA-2026-3249

    python-GitPython security update

    Critical CVE-2026-67322CVE-2026-67323CVE-2026-67324CVE-2026-67325 openEuler Updated 7 August 2026
  • OESA-2026-3250

    python-GitPython security update

    Critical CVE-2026-67322CVE-2026-67323CVE-2026-67324CVE-2026-67325 openEuler Updated 7 August 2026
  • OESA-2026-3251

    python-GitPython security update

    Critical CVE-2026-67322CVE-2026-67323CVE-2026-67324CVE-2026-67325 openEuler Updated 7 August 2026
  • PYSEC-2026-3842

    GitPython: Environment-variable exfiltration via os.path.expandvars() on Repo.clone_from() URL

    CVE-2026-67322 PyPI Updated 10 September 2026
  • RHSA-2026:44416

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

    CVE-2026-67322CVE-2026-67323CVE-2026-67325CVE-2026-67326 Red Hat Updated 13 November 2026
  • RHSA-2026:45785

    Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

    CVE-2026-43823CVE-2026-67322CVE-2026-67323CVE-2026-67325 Red Hat Updated 13 November 2026
  • RHSA-2026:45940

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

    CVE-2026-67322CVE-2026-67323CVE-2026-67325CVE-2026-67326 Red Hat Updated 13 November 2026
  • RHSA-2026:59135

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

    CVE-2026-15307CVE-2026-34993CVE-2026-39373CVE-2026-44705 Red Hat Updated 23 November 2026
  • RHSA-2026:59136

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

    CVE-2026-12143CVE-2026-15307CVE-2026-34993CVE-2026-39373 Red Hat Updated 24 November 2026
  • RHSA-2026:71113

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

    CVE-2026-12564CVE-2026-33818CVE-2026-42504CVE-2026-54284 Red Hat Updated 24 November 2026
  • RHSA-2026:71114

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

    CVE-2026-12564CVE-2026-33818CVE-2026-42504CVE-2026-54284 Red Hat Updated 24 November 2026
  • SUSE-SU-2026:4072-1

    Security update for python-GitPython

    CVE-2026-42215CVE-2026-42284CVE-2026-44243CVE-2026-44244 SUSE Updated 13 September 2026
  • SUSEVEX-CVE-2026-67322

    GitPython before 3.1.52 is vulnerable to environment-variable exfiltration in Repo.clone_from(). The caller-supplied remote URL is passed through Git.polish_url(), which on non-Cygwin platforms calls…

    Important CVE-2026-67322 SUSEopenSUSE Updated 24 September 2026
  • UBUNTU-CVE-2026-67322

    GitPython before 3.1.52 is vulnerable to environment-variable exfiltration in Repo.clone_from(). The caller-supplied remote URL is passed through Git.polish_url(), which on non-Cygwin platforms calls…

    CVE-2026-67322 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2026:11466-1

    python313-GitPython-3.1.58-1.1 on GA media

    CVE-2026-67322CVE-2026-67325CVE-2026-67326CVE-2026-69097 openSUSE Updated 7 August 2026
  • openSUSE-SU-2026:21874-1

    Security update for python-GitPython

    CVE-2026-67322CVE-2026-67323CVE-2026-67325CVE-2026-67326 openSUSE Updated 25 September 2026

References