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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-122299— Dulwich 1.2.20 前提交解析器树头误读漏洞

一分钟漏洞结论

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

Dulwich 1.2.20 之前版本存在一个提交对象解析漏洞:在 的读取路径中,当遇到重复的树头(tree header)时,该库会解析为最后一个出现的位置,而非第一个,这与核心 Git 的解析行为不一致。而 Poetry 2.5.1 默认打包了该版本的 Dulwich,并在安装 Git 依赖时使用它。攻击者可构造包含两个树头的恶意提交对象,使得使用原生 Git 的代码审查人员和 CI 系统看到的是无害的树结构,而 Poetry 基于 Dulwich 的检出过程却会解析到另一个由攻击者控制的树,其中包含恶意构建脚

CVSS 8.8 · High EPSS 0.33% · P26

影响版本矩阵 1

厂商产品 版本范围状态
jelmer dulwich < 1.2.20 affected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Dulwich before 1.2.20 Commit Parser Tree Header Misinterpretation
来源: CVE Program / CVE List V5
Vulnerability Description
Dulwich before 1.2.20 contains a commit object parsing vulnerability where the read path in _parse_commit resolves a duplicate tree header to the last occurrence instead of the first, diverging from core git's resolution behavior, while Poetry 2.5.1 ships this version and uses dulwich by default for git dependency installation. Attackers can craft a commit object with two tree headers so that reviewers and CI using git see a benign tree while Poetry's dulwich-based checkout resolves to a different attacker-controlled tree containing malicious build scripts such as setup.py, resulting in unreviewed code execution on the install or build host.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
CWE-1250
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
jelmer dulwich 0 ~ 1.2.20 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

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

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

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

IV. Related Vulnerabilities