<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Tue, 29 Sep 2026 08:16:38 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-42563 — Dulwich Vulnerable to Command Injection via Merge Driver Path</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-42563</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; jelmer dulwich&lt;/p&gt;
&lt;p&gt;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&amp;#39;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.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; jelmer dulwich&lt;/p&gt;
&lt;p&gt;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&amp;#39;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-42563</guid>
    </item>
    <item>
      <title>GHSA-9277-mp7x-85jf — Dulwich Vulnerable to Command Injection via Merge Driver Path</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-9277-mp7x-85jf</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: dulwich&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;Dulwich&amp;#39;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.&lt;/p&gt;
&lt;p&gt;## Description&lt;/p&gt;
&lt;p&gt;- **Type:** Command Injection
- **Source:** `merge.py` line 195 — path from merge tree (from repository content when merging untrusted branch)
- **Sink:** `merge_drivers.py` lines 124–127 — `subprocess.run(cmd, shell=True)` where `cmd` includes path via `%P` placeholder
- **Impact:** Arbitrary code execution when merging from a malicious repository. Requires the user to have a merge driver configured that uses the `%P` placeholder.&lt;/p&gt;
&lt;p&gt;## Resources&lt;/p&gt;
&lt;p&gt;- Repository: https://github.com/dulwich/dulwich
- Vulnerable file: `dulwich/merge_drivers.py` (lines 119–129)&lt;/p&gt;
&lt;p&gt;## Proof of Concept&lt;/p&gt;
&lt;p&gt;```python
from dulwich.attrs import GitAttributes, Pattern
from dulwich.config import ConfigDict
from dulwich.merge import merge_blobs
from dulwich.objects import Blob&lt;/p&gt;
&lt;p&gt;# Merge driver with %P (path) - typical for custom merge tools
config = ConfigDict()
config.set((b&amp;#34;merge&amp;#34;, b&amp;#34;injectable&amp;#34;), b&amp;#34;driver&amp;#34;, b&amp;#34;echo %P &amp;gt; %A&amp;#34;)&lt;/p&gt;
&lt;p&gt;patterns = [(Pattern(b&amp;#34;*&amp;#34;), {b&amp;#34;merge&amp;#34;: b&amp;#34;injectable&amp;#34;})]
gitattributes = GitAttributes(patterns)&lt;/p&gt;
&lt;p&gt;base = Blob.from_string(b&amp;#34;base&amp;#34;)
ours = Blob.from_string(b&amp;#34;ours&amp;#34;)
theirs = Blob.from_strin…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: dulwich&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;Dulwich&amp;#39;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.&lt;/p&gt;
&lt;p&gt;## Description&lt;/p&gt;
&lt;p&gt;- **Type:** Command Injection
- **Source:** `merge.py` line 195 — path from merge tree (from repository content when merging untrusted branch)
- **Sink:** `merge_drivers.py` lines 124–127 — `subprocess.run(cmd, shell=True)` where `cmd` includes path via `%P` placeholder
- **Impact:** Arbitrary code execution when merging from a malicious repository. Requires the user to have a merge driver configured that uses the `%P` placeholder.&lt;/p&gt;
&lt;p&gt;## Resources&lt;/p&gt;
&lt;p&gt;- Repository: https://github.com/dulwich/dulwich
- Vulnerable file: `dulwich/merge_drivers.py` (lines 119–129)&lt;/p&gt;
&lt;p&gt;## Proof of Concept&lt;/p&gt;
&lt;p&gt;```python
from dulwich.attrs import GitAttributes, Pattern
from dulwich.config import ConfigDict
from dulwich.merge import merge_blobs
from dulwich.objects import Blob&lt;/p&gt;
&lt;p&gt;# Merge driver with %P (path) - typical for custom merge tools
config = ConfigDict()
config.set((b&amp;#34;merge&amp;#34;, b&amp;#34;injectable&amp;#34;), b&amp;#34;driver&amp;#34;, b&amp;#34;echo %P &amp;gt; %A&amp;#34;)&lt;/p&gt;
&lt;p&gt;patterns = [(Pattern(b&amp;#34;*&amp;#34;), {b&amp;#34;merge&amp;#34;: b&amp;#34;injectable&amp;#34;})]
gitattributes = GitAttributes(patterns)&lt;/p&gt;
&lt;p&gt;base = Blob.from_string(b&amp;#34;base&amp;#34;)
ours = Blob.from_string(b&amp;#34;ours&amp;#34;)
theirs = Blob.from_strin…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-9277-mp7x-85jf</guid>
    </item>
    <item>
      <title>PYSEC-2026-2464 — Dulwich Vulnerable to Command Injection via Merge Driver Path</title>
      <link>https://vulnerability.circl.lu/vuln/pysec-2026-2464</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: dulwich&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;Dulwich&amp;#39;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.&lt;/p&gt;
&lt;p&gt;## Description&lt;/p&gt;
&lt;p&gt;- **Type:** Command Injection
- **Source:** `merge.py` line 195 — path from merge tree (from repository content when merging untrusted branch)
- **Sink:** `merge_drivers.py` lines 124–127 — `subprocess.run(cmd, shell=True)` where `cmd` includes path via `%P` placeholder
- **Impact:** Arbitrary code execution when merging from a malicious repository. Requires the user to have a merge driver configured that uses the `%P` placeholder.&lt;/p&gt;
&lt;p&gt;## Resources&lt;/p&gt;
&lt;p&gt;- Repository: https://github.com/dulwich/dulwich
- Vulnerable file: `dulwich/merge_drivers.py` (lines 119–129)&lt;/p&gt;
&lt;p&gt;## Proof of Concept&lt;/p&gt;
&lt;p&gt;```python
from dulwich.attrs import GitAttributes, Pattern
from dulwich.config import ConfigDict
from dulwich.merge import merge_blobs
from dulwich.objects import Blob&lt;/p&gt;
&lt;p&gt;# Merge driver with %P (path) - typical for custom merge tools
config = ConfigDict()
config.set((b&amp;#34;merge&amp;#34;, b&amp;#34;injectable&amp;#34;), b&amp;#34;driver&amp;#34;, b&amp;#34;echo %P &amp;gt; %A&amp;#34;)&lt;/p&gt;
&lt;p&gt;patterns = [(Pattern(b&amp;#34;*&amp;#34;), {b&amp;#34;merge&amp;#34;: b&amp;#34;injectable&amp;#34;})]
gitattributes = GitAttributes(patterns)&lt;/p&gt;
&lt;p&gt;base = Blob.from_string(b&amp;#34;base&amp;#34;)
ours = Blob.from_string(b&amp;#34;ours&amp;#34;)
theirs = Blob.from_strin…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: dulwich&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;Dulwich&amp;#39;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.&lt;/p&gt;
&lt;p&gt;## Description&lt;/p&gt;
&lt;p&gt;- **Type:** Command Injection
- **Source:** `merge.py` line 195 — path from merge tree (from repository content when merging untrusted branch)
- **Sink:** `merge_drivers.py` lines 124–127 — `subprocess.run(cmd, shell=True)` where `cmd` includes path via `%P` placeholder
- **Impact:** Arbitrary code execution when merging from a malicious repository. Requires the user to have a merge driver configured that uses the `%P` placeholder.&lt;/p&gt;
&lt;p&gt;## Resources&lt;/p&gt;
&lt;p&gt;- Repository: https://github.com/dulwich/dulwich
- Vulnerable file: `dulwich/merge_drivers.py` (lines 119–129)&lt;/p&gt;
&lt;p&gt;## Proof of Concept&lt;/p&gt;
&lt;p&gt;```python
from dulwich.attrs import GitAttributes, Pattern
from dulwich.config import ConfigDict
from dulwich.merge import merge_blobs
from dulwich.objects import Blob&lt;/p&gt;
&lt;p&gt;# Merge driver with %P (path) - typical for custom merge tools
config = ConfigDict()
config.set((b&amp;#34;merge&amp;#34;, b&amp;#34;injectable&amp;#34;), b&amp;#34;driver&amp;#34;, b&amp;#34;echo %P &amp;gt; %A&amp;#34;)&lt;/p&gt;
&lt;p&gt;patterns = [(Pattern(b&amp;#34;*&amp;#34;), {b&amp;#34;merge&amp;#34;: b&amp;#34;injectable&amp;#34;})]
gitattributes = GitAttributes(patterns)&lt;/p&gt;
&lt;p&gt;base = Blob.from_string(b&amp;#34;base&amp;#34;)
ours = Blob.from_string(b&amp;#34;ours&amp;#34;)
theirs = Blob.from_strin…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/pysec-2026-2464</guid>
    </item>
  </channel>
</rss>
