Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
GitPython versions before 3.1.52 are affected. When Repo.clone_from() or Repo.clone() is given a URL, GitPython expands environment-variable references in it before running git clone, so an attacker who can supply the URL can get server environment variable values such as cloud credentials or tokens sent to a host they name. Upgrade to GitPython 3.1.52 or later. No workaround is given, so avoid passing untrusted URLs to these functions until you can upgrade.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 8.7 | High | 4.0 | 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 | CNA (VulnCheck) |
- CISA KEV Not listed.
- EPSS 0.0033, the 26th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:09 UTC First seen by agentprime
- 31 Oct 2026, 14:09 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-rwj8-pgh3-r573
- OSV: GHSA-rwj8-pgh3-r573
- github.com/gitpython-developers/GitPython/security/advisories/GHSA-rwj8-pgh3-r573
- nvd.nist.gov/vuln/detail/CVE-2026-67322
- github.com/gitpython-developers/GitPython/pull/2172
- github.com/gitpython-developers/GitPython/commit/8ac5a30519b6f4af85398b9b9d7064ff4d452da2
- github.com/advisories/GHSA-rwj8-pgh3-r573
- github.com/gitpython-developers/GitPython
- github.com/gitpython-developers/GitPython/releases/tag/3.1.52
- github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3842.yaml
- pypi.org/project/gitpython
- www.vulncheck.com/advisories/gitpython-before-environment-variable-exfiltration-via-clone-from