CVE-2026-67322
Last modified
CVE-2026-67322 is a high-severity vulnerability rated 8.7/10 on the CVSS scale. 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. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
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/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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| gitpython-developers | GitPython | < 3.1.52 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-67322?
How severe is CVE-2026-67322?
How do I fix CVE-2026-67322?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-67317axios versions 1.7.0 before 1.18.0 fail to enforce maxBodyLe…6.3
- CVE-2026-67318axios versions >=1.13.0 (Node.js HTTP adapter) fail to enfor…6.3
- CVE-2026-67319axios before 0.33.0 (and 1.x before 1.18.0) can consume inhe…6.3
- CVE-2026-6732A flaw was found in libxml2. This vulnerability occurs when …7.5
- CVE-2026-67320axios in a Node.js deployment using the HTTP adapter can rou…8.3
- CVE-2026-67321axios versions 0.31.1 before 0.33.0 and 1.15.1 before 1.18.0…6.9
- CVE-2026-67323GitPython before 3.1.51 fails to guard against dangerous Git…8.6
- CVE-2026-67324GitPython 3.1.50 fails to recognize joined short-option form…9.8
- CVE-2026-67325GitPython before 3.1.51 contains an incomplete command injec…8.8
- CVE-2026-67326GitPython before 3.1.50 fails to validate newline characters…7.3
- CVE-2026-67327better-auth versions >= 1.1.3 and < 1.6.22 (and pre-release …8.7
- CVE-2026-67328@better-auth/sso versions before 1.6.21 contain multiple aut…8.6
Are you affected by CVE-2026-67322?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
