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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-110859— GitPython before 3.2.0 Arbitrary File Read via Head.checkout() Branch Name

Quick assessment

Affected
gitpython-developers GitPython
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 GitPython 3.2.0 之前的版本中, 存在参数注入漏洞,远程攻击者可以通过提供一个被解析为 Git 选项的分支名称,实现读取任意文件的目的。攻击者可以托管一个默认分支名称为 的仓库,当克隆工具尝试检出该活动分支时,会因 GitCommandError 错误消息泄露文件内容。

CVSS 7.5 · High EPSS 0.31% · P22

Affected Version Matrix 2

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

I. Basic Information for CVE-2026-110859

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.2.0 Arbitrary File Read via Head.checkout() Branch Name
Source: CVE Program / CVE List V5
Vulnerability Description
GitPython before 3.2.0 contains an argument injection vulnerability in Head.checkout() that allows remote attackers to read arbitrary files by supplying a branch name parsed as a git option. Attackers can host a repository whose default branch is named --pathspec-from-file=<path>, causing cloning applications that check out the active branch to leak file contents through GitCommandError messages.
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

Affected Products

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

II. Public POCs for CVE-2026-110859

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-110859

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

Other References for CVE-2026-110859 (2)

Same Patch Batch · gitpython-developers · 2026-10-14 · 6 CVEs total

CVE-2026-110858 8.1 HIGH GitPython 3.1.30 before 3.2.0 Command Injection via Remote.pull() Refspec
CVE-2026-110856 7.5 HIGH GitPython before 3.2.0 ReDoS via _re_actor_epoch in parse_actor_and_date
CVE-2026-110857 7.5 HIGH GitPython before 3.2.0 Command Execution via ls_remote ext:: URLs
CVE-2026-110855 6.5 MEDIUM GitPython before 3.2.0 Environment Variable Disclosure via .gitmodules Submodule Name
CVE-2026-110860 6.1 MEDIUM GitPython 3.1.62 before 3.2.0 Symlink Path Traversal via Submodule.move()

IV. Related Vulnerabilities

V. Comments for CVE-2026-110859

No comments yet


Leave a comment