Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-67322— GitPython before 3.1.52 Environment Variable Exfiltration via clone_from

Quick assessment

Affected
gitpython-developers GitPython
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

gitpython-developers GitPython是gitpython-developers组织的数据库系统。 gitpython-developers GitPython 3.1.52之前版本存在信息泄露漏洞,该漏洞源于Repo.clone_from()函数中Git.polish_url()调用os.path.expandvars()展开环境变量,攻击者通过控制克隆URL嵌入$NAME或${NAME}令牌,导致环境变量被展开并发送至攻击者控制的服务器,造成信息泄露。

CVSS 7.5 · High EPSS 0.33% · P23

Affected Version Matrix 2

VendorProduct Version RangeStatus
gitpython-developers GitPython < 3.1.52 affected
3.1.52 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-67322

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
GitPython before 3.1.52 Environment Variable Exfiltration via clone_from
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
信息暴露
Source: CVE Program / CVE List V5
Vulnerability Title
gitpython-developers GitPython 信息泄露漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
gitpython-developers GitPython是gitpython-developers组织的数据库系统。 gitpython-developers GitPython 3.1.52之前版本存在信息泄露漏洞,该漏洞源于Repo.clone_from()函数中Git.polish_url()调用os.path.expandvars()展开环境变量,攻击者通过控制克隆URL嵌入$NAME或${NAME}令牌,导致环境变量被展开并发送至攻击者控制的服务器,造成信息泄露。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
gitpython-developers GitPython 0 ~ 3.1.52 -

II. Public POCs for CVE-2026-67322

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 8725 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-67322

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-67322 (2)

Same Patch Batch · gitpython-developers · 2026-08-01 · 5 CVEs total

CVE-2026-67324 9.8 CRITICAL GitPython 3.1.50 Authentication Bypass via Joined Short Options
CVE-2026-67325 8.8 HIGH GitPython before 3.1.51 Command Injection via option prefix abbreviation
CVE-2026-67323 8.4 HIGH GitPython before 3.1.51 Command Injection via unguarded Git options
CVE-2026-67326 7.0 HIGH GitPython before 3.1.50 Newline Injection via config_writer section

IV. Related Vulnerabilities

V. Comments for CVE-2026-67322

No comments yet


Leave a comment