目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-114145— GitPython 子模块路径验证远程代码执行漏洞

一分钟漏洞结论

影响对象
gitpython-developers GitPython
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

GitPython 是一个用于与 Git 仓库交互的 Python 库。在 3.2.1 版本之前, 中的 函数会接受攻击者可控制的子模块路径(例如 ),并在安全地拒绝目标路径之前先调用 。在 3.1.x 系列版本中,由于不存在 函数,该调用会静默成功;而在 3.2.0 及之后受影响的版本中, 中的检查仅在克隆操作已将内容写入磁盘后才会抛出 异常,且不会删除已植入的文件。因此,攻击者可通过控制子模块路径,植入一个可执行的 钩子脚本,该脚本会在后续的 Git 操作中被执行。 利用此漏洞需要满足以下条件:应用程序接受不可

CVSS 7.5 · High EPSS 0.26% · P17
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-114145 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
GitPython validates a submodule's ".git" path only after cloning into it (RCE)
来源: CVE Program / CVE List V5
Vulnerability Description
GitPython is a python library used to interact with Git repositories. Prior to 3.2.1, create_submodule() in git/objects/submodule/base.py accepts an attacker-influenced submodule path such as .git/hooks and invokes _clone_repo() before safely rejecting the destination. In 3.1.x, _validate_repo_path() does not exist and the call succeeds silently, while in 3.2.0 and later affected revisions the check in git/index/base.py raises ValueError only after the clone has written to disk and does not remove the planted file. An attacker-controlled submodule can therefore place an executable post-checkout hook that a later Git operation executes. Exploitation requires an application to accept an untrusted submodule path and a clone destination such as .git/hooks that is empty enough for Git to clone into it, which commonly means that default sample hooks are absent. This issue is fixed in version 3.2.1.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
不正确的行为次序
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
gitpython-developers GitPython < 3.2.1 -

二、漏洞 CVE-2026-114145 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-114145 的情报信息

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

CVE-2026-114145 补丁与修复 (1)

CVE-2026-114145 厂商安全公告 (1)

CVE-2026-114145 厂商页面 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-114145

暂无评论


发表评论