# CVE-2026-67322 — gitpython-developers GitPython

> As of 2026-08-14, CVE-2026-67322 is a HIGH-severity vulnerability in gitpython-developers GitPython, CVSS v3.1 7.5, EPSS 0.3% (26.2th percentile). No Threadlinqs-tracked threat campaign has been attributed to CVE-2026-67322 as of 2026-08-14; the identifier is re-checked against the Threadlinqs threat corpus on every daily ingest.

**Last updated:** 2026-08-14

## What is 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.

The record classifies CVE-2026-67322 under weakness class [CWE-200](https://intel.threadlinqs.com/cwe/CWE-200). Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs no prior authentication, needs no user interaction, and has high impact on confidentiality. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 110 days ago.

## Severity and exploitation probability

- **CVSS v3.1 base score:** 7.5 — HIGH (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`)
- **CVSS v4.0 base score:** 8.7 (`CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`)
- **EPSS (FIRST):** 0.3% probability of exploitation in the next 30 days, higher than 26.2% of all scored CVEs
- **CISA KEV:** Not listed in the CISA Known Exploited Vulnerabilities catalog
- **Threadlinqs priority:** 6.8/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- **Published:** 2026-08-01

## Is CVE-2026-67322 being exploited?

Weaponised exploit code for CVE-2026-67322 is publicly available. 1 public proof-of-concept repository is tracked for this identifier.

- [trickest/cve](https://github.com/trickest/cve/blob/main/2026/CVE-2026-67322.md) (trickest)

## Affected products and versions

- [gitpython-developers](https://intel.threadlinqs.com/vendors/gitpython-developers): GitPython

Affected software packages:

- `pip:GitPython` — patched in 3.1.52

## How to fix CVE-2026-67322

Fixed versions are recorded for 1 package: pip:GitPython 3.1.52. Vendor advisory: [https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-rwj8-pgh3-r573](https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-rwj8-pgh3-r573). Apply the vendor fix referenced above to every affected product listed in this record, then confirm the running version against the vendor advisory.

## Threat activity tracking CVE-2026-67322

No threat campaign in the Threadlinqs corpus currently references CVE-2026-67322, in its CVE list or as an indicator. The linkage is recomputed from the live corpus on every daily ingest, so this section fills in as soon as a tracked campaign cites the identifier.

## Sources

Enriched from CVE.org, FIRST EPSS, GitHub Security Advisories, public proof-of-concept repositories.

**Vendor advisory and patch**

- [github.com — vendor advisory](https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-rwj8-pgh3-r573)

**Third-party advisory**

- [vulncheck.com — third party advisory](https://www.vulncheck.com/advisories/gitpython-before-environment-variable-exfiltration-via-clone-from)

Canonical: https://intel.threadlinqs.com/cve/CVE-2026-67322
No Threadlinqs detection currently covers CVE-2026-67322; it is re-checked on every ingest.
Indicator values unlock with TL Creds (https://threadlinqs.com/tl-creds); MCP access for AI agents needs Purple: https://intel.threadlinqs.com/mcp
