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

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

AI Predicted 9.8 Difficulty: Easy EPSS 0.56% · P44

Affected Version Matrix 1

VendorProductVersion RangeStatus
jelmerdulwich>= 0.24.0, < 1.2.5affected
Get alerts for future matching vulnerabilitiesLog 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

VendorProductAffected VersionsCPESubscribe
jelmerdulwich >= 0.24.0, < 1.2.5 -

II. Public POCs for CVE-2026-42563

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

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-423058.8 HIGHDulwich has an arbitrary file write via NTFS-hostile tree entries on Windows
CVE-2026-527267.5 HIGHDulwich's submodule path traversal in porcelain.submodule_update / porcelain.clone(recurse
CVE-2026-477345.7 MEDIUMDulwich has unbounded memory allocation in receive-pack from crafted thin packs
CVE-2026-477123.3 LOWDulwich doesn't sanitize commit subjects in `porcelain.format_patch`

IV. Related Vulnerabilities

V. Comments for CVE-2026-42563

No comments yet


Leave a comment