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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-42563— Dulwich Vulnerable to Command Injection via Merge Driver Path

Quick assessment

Affected
jelmer dulwich
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.

Dulwich是Jelmer Vernooij个人开发者的一款纯Python实现的Git仓库操作接口。 Dulwich 0.24.0版本至1.2.5之前版本存在操作系统命令注入漏洞,该漏洞源于ProcessMergeDriver将文件路径替换到合并驱动命令中并执行,可能导致攻击者通过恶意分支实现任意命令执行。

AI Predicted 9.8 Difficulty: Easy EPSS 0.80% · P56

Affected Version Matrix 1

VendorProduct Version RangeStatus
jelmer dulwich >= 0.24.0, < 1.2.5 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-42563

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
Dulwich Vulnerable to Command Injection via Merge Driver Path
Source: CVE Program / CVE List V5
Vulnerability Description
Dulwich is a pure-Python implementation of the Git file formats and protocols. Starting in version 0.24.0 and prior to version 1.2.5, Dulwich's `ProcessMergeDriver` substitutes the file path (from the git tree, controllable by an attacker via a malicious branch) into the merge driver command via the `%P` placeholder and executes it with `subprocess.run(..., shell=True)`. An attacker who can cause a victim to merge an untrusted branch can achieve arbitrary command execution by crafting malicious file paths. Version 1.2.5 fixes the issue.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Dulwich 操作系统命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Dulwich是Jelmer Vernooij个人开发者的一款纯Python实现的Git仓库操作接口。 Dulwich 0.24.0版本至1.2.5之前版本存在操作系统命令注入漏洞,该漏洞源于ProcessMergeDriver将文件路径替换到合并驱动命令中并执行,可能导致攻击者通过恶意分支实现任意命令执行。
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
jelmer dulwich >= 0.24.0, < 1.2.5 -

II. Public POCs for CVE-2026-42563

# 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-42563

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

Patches & Fixes for CVE-2026-42563 (1)

Vendor Advisories for CVE-2026-42563 (1)

Vendor Pages for CVE-2026-42563 (1)

Same Patch Batch · jelmer · 2026-06-10 · 5 CVEs total

CVE-2026-42305 8.8 HIGH Dulwich has an arbitrary file write via NTFS-hostile tree entries on Windows
CVE-2026-52726 7.5 HIGH Dulwich's submodule path traversal in porcelain.submodule_update / porcelain.clone(recurse
CVE-2026-47734 5.7 MEDIUM Dulwich has unbounded memory allocation in receive-pack from crafted thin packs
CVE-2026-47712 3.3 LOW Dulwich doesn't sanitize commit subjects in `porcelain.format_patch`

IV. Related Vulnerabilities

V. Comments for CVE-2026-42563

No comments yet


Leave a comment