{"id":"CVE-2026-42563","aliases":["CLSA-2026-1781052734","DEBIAN-CVE-2026-42563","GHSA-9277-mp7x-85jf","PYSEC-2026-2464","UBUNTU-CVE-2026-42563"],"summary":"Dulwich Vulnerable to Command Injection via Merge Driver Path","published_at":"2026-05-28T22:29:22Z","modified_at":"2026-11-17T13:30:44.519316Z","products":[],"rating":{"severity":"high","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","attack_path":"internet_authenticated","user_interaction":true,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"SUSE","rating":"important"},{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.005549999885261059,"percentile":0.4708099961280823,"date":"2026-11-19T00:00:00Z"},"priority":8.5,"details":"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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"jelmer/dulwich","versions":[">= 0.24.0, < 1.2.5"],"provider":"cvelistv5","source":"CVE-2026-42563","relation":"self"},{"ecosystem":"Debian:12","package":"dulwich","purl":"pkg:deb/debian/dulwich?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.21.2-1","0.21.5-1","0.21.6-1","0.22.5-1","0.22.7-1","0.22.7-2","0.24.10-1","0.24.2-1","0.24.2-2","1.0.0-1","1.0.0-2","1.1.0-1","1.1.0-2","1.1.0-3","1.2.0-1","1.2.1-1","1.2.11-1","1.2.12-1","1.2.5-1","1.2.7-1","1.2.7-2"],"provider":"osv","source":"DEBIAN-CVE-2026-42563","relation":"self"},{"ecosystem":"Debian:13","package":"dulwich","purl":"pkg:deb/debian/dulwich?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.22.7-1","0.22.7-2","0.24.10-1","0.24.2-1","0.24.2-2","1.0.0-1","1.0.0-2","1.1.0-1","1.1.0-2","1.1.0-3","1.2.0-1","1.2.1-1","1.2.11-1","1.2.12-1","1.2.5-1","1.2.7-1","1.2.7-2"],"provider":"osv","source":"DEBIAN-CVE-2026-42563","relation":"self"},{"ecosystem":"Debian:14","package":"dulwich","purl":"pkg:deb/debian/dulwich?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.5-1"}]}],"versions":["0.22.7-1","0.22.7-2","0.24.10-1","0.24.2-1","0.24.2-2","1.0.0-1","1.0.0-2","1.1.0-1","1.1.0-2","1.1.0-3","1.2.0-1","1.2.1-1"],"fixed":["1.2.5-1"],"provider":"osv","source":"DEBIAN-CVE-2026-42563","relation":"self"},{"ecosystem":"PyPI","package":"dulwich","purl":"pkg:pypi/dulwich","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.24.0"},{"fixed":"1.2.5"}]}],"versions":["0.24.0","0.24.1","0.24.10","0.24.2","0.24.3","0.24.4","0.24.5","0.24.6","0.24.7","0.24.8","0.24.9","0.25.0","0.25.1","0.25.2","1.0.0","1.1.0","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4"],"fixed":["1.2.5"],"provider":"osv","source":"GHSA-9277-mp7x-85jf","relation":"self"},{"ecosystem":"PyPI","package":"dulwich","purl":"pkg:pypi/dulwich","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.24.0"},{"fixed":"1.2.5"}]}],"versions":["0.24.0","0.24.1","0.24.10","0.24.2","0.24.3","0.24.4","0.24.5","0.24.6","0.24.7","0.24.8","0.24.9","0.25.0","0.25.1","0.25.2","1.0.0","1.1.0","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4"],"fixed":["1.2.5"],"provider":"osv","source":"PYSEC-2026-2464","relation":"self"},{"ecosystem":"TuxCare:PyPI","package":"dulwich","purl":"pkg:pypi/dulwich","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.25.2.post0"},{"fixed":"0.25.2.post2+tuxcare"}]}],"versions":["0.25.2","0.25.2.post1+tuxcare"],"fixed":["0.25.2.post2+tuxcare"],"provider":"osv","source":"CLSA-2026-1781052734","relation":"self"},{"ecosystem":"Ubuntu:16.04:LTS","package":"dulwich","purl":"pkg:deb/ubuntu/dulwich?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.2-1ubuntu1","0.12.0-1","0.12.0-1build1","0.12.0-1build2"],"provider":"osv","source":"UBUNTU-CVE-2026-42563","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"dulwich","purl":"pkg:deb/ubuntu/dulwich?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.18.2-1build1","0.18.5-1"],"provider":"osv","source":"UBUNTU-CVE-2026-42563","relation":"self"},{"ecosystem":"Ubuntu:20.04:LTS","package":"dulwich","purl":"pkg:deb/ubuntu/dulwich?arch=source&distro=focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.19.11-2","0.19.14-4ubuntu1","0.19.15-1","0.19.15-1build1"],"provider":"osv","source":"UBUNTU-CVE-2026-42563","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"dulwich","purl":"pkg:deb/ubuntu/dulwich?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.20.15-1ubuntu1","0.20.31-1ubuntu1","0.20.31-1.1","0.20.31-1.1build1"],"provider":"osv","source":"UBUNTU-CVE-2026-42563","relation":"self"},{"ecosystem":"Ubuntu:24.04:LTS","package":"dulwich","purl":"pkg:deb/ubuntu/dulwich?arch=source&distro=noble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.21.6-1","0.21.6-1build1","0.21.6-1build2"],"provider":"osv","source":"UBUNTU-CVE-2026-42563","relation":"self"},{"ecosystem":"Ubuntu:25.10","package":"dulwich","purl":"pkg:deb/ubuntu/dulwich?arch=source&distro=questing","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.22.7-1"],"provider":"osv","source":"UBUNTU-CVE-2026-42563","relation":"self"},{"ecosystem":"Ubuntu:26.04:LTS","package":"dulwich","purl":"pkg:deb/ubuntu/dulwich?arch=source&distro=resolute","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.22.7-1","0.24.2-2","1.1.0-2ubuntu1","1.1.0-3"],"provider":"osv","source":"UBUNTU-CVE-2026-42563","relation":"self"},{"ecosystem":"Ubuntu:26.10","package":"dulwich","purl":"pkg:deb/ubuntu/dulwich?arch=source&distro=stonking","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.0-3","1.2.12-1"],"provider":"osv","source":"UBUNTU-CVE-2026-42563","relation":"self"},{"ecosystem":"openSUSE:Tumbleweed","package":"python-dulwich","purl":"pkg:rpm/opensuse/python-dulwich&distro=openSUSE%20Tumbleweed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.5-1.1"}]}],"fixed":["1.2.5-1.1"],"provider":"osv","source":"openSUSE-SU-2026:10900-1","relation":"upstream"}],"product_status":[{"vendor":"SUSE","product":"SUSE Linux Enterprise Desktop 15 SP7","cpe":"cpe:/o:suse:sled:15:sp7","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise High Performance Computing 12","cpe":"cpe:/o:suse:sle_hpc:12","status":"not_affected","packages":["python-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS","cpe":"cpe:/o:suse:sle_hpc-ltss:15:sp4","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS","cpe":"cpe:/o:suse:sle_hpc-ltss:15:sp5","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise High Performance Computing 15 SP7","cpe":"cpe:/o:suse:sle_hpc:15:sp7","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Module for Basesystem 15 SP7","cpe":"cpe:/o:suse:sle-module-basesystem:15:sp7","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Module for Public Cloud 12","cpe":"cpe:/o:suse:sle-module-public-cloud:12","status":"not_affected","packages":["python-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 12","cpe":"cpe:/o:suse:sles:12","status":"not_affected","packages":["python-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 12 SP3","cpe":"cpe:/o:suse:sles:12:sp3","status":"not_affected","packages":["python-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 12 SP4","cpe":"cpe:/o:suse:sles:12:sp4","status":"not_affected","packages":["python-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 12 SP5","cpe":"cpe:/o:suse:sles:12:sp5","status":"not_affected","packages":["python-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 15 SP4","cpe":"cpe:/o:suse:sles:15:sp4","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 15 SP4-LTSS","cpe":"cpe:/o:suse:sles-ltss:15:sp4","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 15 SP5","cpe":"cpe:/o:suse:sles:15:sp5","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 15 SP5-LTSS","cpe":"cpe:/o:suse:sles-ltss:15:sp5","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 15 SP6","cpe":"cpe:/o:suse:sles:15:sp6","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 15 SP6-LTSS","cpe":"cpe:/o:suse:sles-ltss:15:sp6","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 15 SP7","cpe":"cpe:/o:suse:sles:15:sp7","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server Teradata 15 SP4","cpe":"cpe:/o:suse:sles_teradata:15:sp4","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 12","cpe":"cpe:/o:suse:sles_sap:12","status":"not_affected","packages":["python-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 12 SP3","cpe":"cpe:/o:suse:sles_sap:12:sp3","status":"not_affected","packages":["python-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 12 SP4","cpe":"cpe:/o:suse:sles_sap:12:sp4","status":"not_affected","packages":["python-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 12 SP5","cpe":"cpe:/o:suse:sles_sap:12:sp5","status":"not_affected","packages":["python-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 15 SP4","cpe":"cpe:/o:suse:sles_sap:15:sp4","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 15 SP5","cpe":"cpe:/o:suse:sles_sap:15:sp5","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 15 SP6","cpe":"cpe:/o:suse:sles_sap:15:sp6","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 15 SP7","cpe":"cpe:/o:suse:sles_sap:15:sp7","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"openSUSE Tumbleweed","cpe":"cpe:/o:opensuse:tumbleweed","status":"fixed","packages":["python311-dulwich","python313-dulwich","python314-dulwich"],"package_count":3,"fixed":["python311-dulwich-1.2.5-1.1","python313-dulwich-1.2.5-1.1","python314-dulwich-1.2.5-1.1"],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"affected","packages":["ansible-automation-platform-26/controller-rhel9","ansible-automation-platform-27/controller-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-42563"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"not_affected","packages":["ansible-automation-platform-26/eda-controller-rhel9","ansible-automation-platform-26/lightspeed-chatbot-rhel9","ansible-automation-platform-27/eda-controller-rhel9"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-42563"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","cpe":"cpe:/o:redhat:rhel_els:7","status":"not_affected","packages":["resource-agents","resource-agents-aliyun","resource-agents-gcp","resource-agents-sap","resource-agents-sap-hana","resource-agents-sap-hana-scaleout","sap-cluster-connector"],"package_count":7,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-42563"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["resource-agents","resource-agents-aliyun","resource-agents-gcp","resource-agents-paf"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-42563"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-kserve-storage-initializer-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-42563"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-kserve-agent-rhel9","rhoai/odh-kserve-controller-rhel9","rhoai/odh-kserve-router-rhel9"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-42563"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-kserve-autogluon-server-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-42563"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["python-dulwich"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-42563"},{"vendor":"Red Hat","product":"Red Hat Satellite 6","cpe":"cpe:/a:redhat:satellite:6","status":"not_affected","packages":["python-dulwich"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-42563"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-2455","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2455","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-07-21T22:00:00Z","modified_at":"2026-11-12T23:00:00Z","summary":"Oracle Solaris Drittanbieterkomponenten: Mehrere Schwachstellen","details":"Ein entfernter, anonymer oder authentisierter Angreifer kann mehrere Schwachstellen in verschiedenen Komponenten von Drittanbietern in Oracle Solaris ausnutzen, um einen nicht näher spezifizierten Angriff durchzuführen.\n\nOracle Solaris ist ein Betriebssystem von Oracle für Server und Workstations.","severity":[{"type":"BSI","score":"hoch","source":"WID-SEC-W-2026-2455"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2455.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2455"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/bulletinjul2026.html"},{"type":"WEB","url":"https://linux.oracle.com/errata/ELSA-2026-46395.html"},{"type":"WEB","url":"https://lists.suse.com/pipermail/sle-security-updates/2026-August/028105.html"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:52857"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:91219"},{"type":"WEB","url":"https://ubuntu.com/security/notices/USN-9064-1"}]},{"provider":"csaf-suse","source_id":"openSUSE-SU-2026:10900-1","relation":"upstream","url":"https://www.suse.com/security/cve/CVE-2026-42305/","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-05-29T00:00:00Z","modified_at":"2026-05-29T00:00:00Z","summary":"python311-dulwich-1.2.5-1.1 on GA media","details":"python311-dulwich-1.2.5-1.1 on GA media\n\nThese are all security issues fixed in the python311-dulwich-1.2.5-1.1 package on the GA media of openSUSE Tumbleweed.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"openSUSE-SU-2026:10900-1"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","source":"openSUSE-SU-2026:10900-1"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N","source":"openSUSE-SU-2026:10900-1"},{"type":"SUSE","score":"moderate","source":"openSUSE-SU-2026:10900-1"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://ftp.suse.com/pub/projects/security/csaf/2026/opensuse-su-2026_10900-1.json"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-42305/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-42563/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-47712/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-42305"},{"type":"WEB","url":"https://bugzilla.suse.com/1268128"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-42563"},{"type":"WEB","url":"https://bugzilla.suse.com/1268129"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-47712"},{"type":"WEB","url":"https://bugzilla.suse.com/1268137"}]},{"provider":"osv","source_id":"openSUSE-SU-2026:10900-1","relation":"upstream","url":"https://osv.dev/vulnerability/openSUSE-SU-2026:10900-1","published_at":"2026-05-29T00:00:00Z","modified_at":"2026-05-30T23:15:07.921699Z","summary":"python311-dulwich-1.2.5-1.1 on GA media","details":"These are all security issues fixed in the python311-dulwich-1.2.5-1.1 package on the GA media of openSUSE Tumbleweed.","severity":[],"affected":[{"ecosystem":"openSUSE:Tumbleweed","package":"python-dulwich","purl":"pkg:rpm/opensuse/python-dulwich&distro=openSUSE%20Tumbleweed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.5-1.1"}]}],"fixed":["1.2.5-1.1"],"provider":"osv","source":"openSUSE-SU-2026:10900-1","relation":"upstream"}],"product_status":[],"references":[{"type":"ADVISORY","url":""},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-42305"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-42563"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-47712"}]},{"provider":"cvelistv5","source_id":"CVE-2026-42563","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-42563","license":"CC-BY-4.0","published_at":"2026-06-10T21:47:14.927Z","modified_at":"2026-06-12T03:55:30.892Z","summary":"Dulwich Vulnerable to Command Injection via Merge Driver Path","details":"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.","severity":[{"type":"CVSS_V4","score":"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-2026-42563"}],"affected":[{"ecosystem":"CVE","package":"jelmer/dulwich","versions":[">= 0.24.0, < 1.2.5"],"provider":"cvelistv5","source":"CVE-2026-42563","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/jelmer/dulwich/security/advisories/GHSA-9277-mp7x-85jf"},{"type":"WEB","url":"https://github.com/jelmer/dulwich/commit/e3331b3b3a122fc313460182f928f59723580b7b"},{"type":"WEB","url":"https://github.com/jelmer/dulwich/releases/tag/dulwich-1.2.5"}]},{"provider":"csaf-suse","source_id":"CVE-2026-42563","relation":"self","url":"https://www.suse.com/security/cve/CVE-2026-42563/","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-06-12T02:27:44Z","modified_at":"2026-06-13T02:19:30Z","summary":"SUSE CVE CVE-2026-42563","details":"SUSE CVE-2026-42563\n\nDulwich 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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CVE-2026-42563"},{"type":"SUSE","score":"important","source":"CVE-2026-42563"}],"affected":[],"product_status":[{"vendor":"SUSE","product":"SUSE Linux Enterprise Desktop 15 SP7","cpe":"cpe:/o:suse:sled:15:sp7","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise High Performance Computing 12","cpe":"cpe:/o:suse:sle_hpc:12","status":"not_affected","packages":["python-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS","cpe":"cpe:/o:suse:sle_hpc-ltss:15:sp4","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS","cpe":"cpe:/o:suse:sle_hpc-ltss:15:sp5","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise High Performance Computing 15 SP7","cpe":"cpe:/o:suse:sle_hpc:15:sp7","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Module for Basesystem 15 SP7","cpe":"cpe:/o:suse:sle-module-basesystem:15:sp7","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Module for Public Cloud 12","cpe":"cpe:/o:suse:sle-module-public-cloud:12","status":"not_affected","packages":["python-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 12","cpe":"cpe:/o:suse:sles:12","status":"not_affected","packages":["python-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 12 SP3","cpe":"cpe:/o:suse:sles:12:sp3","status":"not_affected","packages":["python-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 12 SP4","cpe":"cpe:/o:suse:sles:12:sp4","status":"not_affected","packages":["python-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 12 SP5","cpe":"cpe:/o:suse:sles:12:sp5","status":"not_affected","packages":["python-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 15 SP4","cpe":"cpe:/o:suse:sles:15:sp4","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 15 SP4-LTSS","cpe":"cpe:/o:suse:sles-ltss:15:sp4","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 15 SP5","cpe":"cpe:/o:suse:sles:15:sp5","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 15 SP5-LTSS","cpe":"cpe:/o:suse:sles-ltss:15:sp5","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 15 SP6","cpe":"cpe:/o:suse:sles:15:sp6","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 15 SP6-LTSS","cpe":"cpe:/o:suse:sles-ltss:15:sp6","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 15 SP7","cpe":"cpe:/o:suse:sles:15:sp7","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server Teradata 15 SP4","cpe":"cpe:/o:suse:sles_teradata:15:sp4","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 12","cpe":"cpe:/o:suse:sles_sap:12","status":"not_affected","packages":["python-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 12 SP3","cpe":"cpe:/o:suse:sles_sap:12:sp3","status":"not_affected","packages":["python-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 12 SP4","cpe":"cpe:/o:suse:sles_sap:12:sp4","status":"not_affected","packages":["python-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 12 SP5","cpe":"cpe:/o:suse:sles_sap:12:sp5","status":"not_affected","packages":["python-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 15 SP4","cpe":"cpe:/o:suse:sles_sap:15:sp4","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 15 SP5","cpe":"cpe:/o:suse:sles_sap:15:sp5","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 15 SP6","cpe":"cpe:/o:suse:sles_sap:15:sp6","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 15 SP7","cpe":"cpe:/o:suse:sles_sap:15:sp7","status":"not_affected","packages":["python3-dulwich"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"},{"vendor":"SUSE","product":"openSUSE Tumbleweed","cpe":"cpe:/o:opensuse:tumbleweed","status":"fixed","packages":["python311-dulwich","python313-dulwich","python314-dulwich"],"package_count":3,"fixed":["python311-dulwich-1.2.5-1.1","python313-dulwich-1.2.5-1.1","python314-dulwich-1.2.5-1.1"],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-42563"}],"references":[{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-42563"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1268129"}]},{"provider":"osv","source_id":"CLSA-2026-1781052734","relation":"self","url":"https://osv.dev/vulnerability/CLSA-2026-1781052734","published_at":"2026-08-04T14:52:36Z","modified_at":"2026-11-17T13:30:44.519316Z","summary":"TuxCare security update for dulwich (1 CVE)","details":"TuxCare rebuilt dulwich to address 1 CVE. Fixed in 0.25.2.post2+tuxcare.","severity":[],"affected":[{"ecosystem":"TuxCare:PyPI","package":"dulwich","purl":"pkg:pypi/dulwich","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.25.2.post0"},{"fixed":"0.25.2.post2+tuxcare"}]}],"versions":["0.25.2","0.25.2.post1+tuxcare"],"fixed":["0.25.2.post2+tuxcare"],"provider":"osv","source":"CLSA-2026-1781052734","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"DEBIAN-CVE-2026-42563","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-42563","published_at":"2026-06-10T23:16:46.413Z","modified_at":"2026-10-01T03:03:12.60565Z","details":"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.","severity":[{"type":"CVSS_V4","score":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"DEBIAN-CVE-2026-42563"}],"affected":[{"ecosystem":"Debian:12","package":"dulwich","purl":"pkg:deb/debian/dulwich?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.21.2-1","0.21.5-1","0.21.6-1","0.22.5-1","0.22.7-1","0.22.7-2","0.24.10-1","0.24.2-1","0.24.2-2","1.0.0-1","1.0.0-2","1.1.0-1","1.1.0-2","1.1.0-3","1.2.0-1","1.2.1-1","1.2.11-1","1.2.12-1","1.2.5-1","1.2.7-1","1.2.7-2"],"provider":"osv","source":"DEBIAN-CVE-2026-42563","relation":"self"},{"ecosystem":"Debian:13","package":"dulwich","purl":"pkg:deb/debian/dulwich?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.22.7-1","0.22.7-2","0.24.10-1","0.24.2-1","0.24.2-2","1.0.0-1","1.0.0-2","1.1.0-1","1.1.0-2","1.1.0-3","1.2.0-1","1.2.1-1","1.2.11-1","1.2.12-1","1.2.5-1","1.2.7-1","1.2.7-2"],"provider":"osv","source":"DEBIAN-CVE-2026-42563","relation":"self"},{"ecosystem":"Debian:14","package":"dulwich","purl":"pkg:deb/debian/dulwich?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.5-1"}]}],"versions":["0.22.7-1","0.22.7-2","0.24.10-1","0.24.2-1","0.24.2-2","1.0.0-1","1.0.0-2","1.1.0-1","1.1.0-2","1.1.0-3","1.2.0-1","1.2.1-1"],"fixed":["1.2.5-1"],"provider":"osv","source":"DEBIAN-CVE-2026-42563","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-42563"}]},{"provider":"osv","source_id":"GHSA-9277-mp7x-85jf","relation":"self","url":"https://osv.dev/vulnerability/GHSA-9277-mp7x-85jf","license":"CC-BY-4.0","published_at":"2026-05-28T22:29:22Z","modified_at":"2026-09-10T03:51:05.165324Z","summary":"Dulwich Vulnerable to Command Injection via Merge Driver Path","details":"## Summary\n\nDulwich'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.\n\n## Description\n\n- **Type:** Command Injection\n- **Source:** `merge.py` line 195 — path from merge tree (from repository content when merging untrusted branch)\n- **Sink:** `merge_drivers.py` lines 124–127 — `subprocess.run(cmd, shell=True)` where `cmd` includes path via `%P` placeholder\n- **Impact:** Arbitrary code execution when merging from a malicious repository. Requires the user to have a merge driver configured that uses the `%P` placeholder.\n\n## Resources\n\n- Repository: https://github.com/dulwich/dulwich\n- Vulnerable file: `dulwich/merge_drivers.py` (lines 119–129)\n\n## Proof of Concept\n\n```python\nfrom dulwich.attrs import GitAttributes, Pattern\nfrom dulwich.config import ConfigDict\nfrom dulwich.merge import merge_blobs\nfrom dulwich.objects import Blob\n\n# Merge driver with %P (path) - typical for custom merge tools\nconfig = ConfigDict()\nconfig.set((b\"merge\", b\"injectable\"), b\"driver\", b\"echo %P > %A\")\n\npatterns = [(Pattern(b\"*\"), {b\"merge\": b\"injectable\"})]\ngitattributes = GitAttributes(patterns)\n\nbase = Blob.from_string(b\"base\")\nours = Blob.from_string(b\"ours\")\ntheirs = Blob.from_string(b\"theirs\")\n\n# Malicious path from attacker-controlled git tree: injects \"touch /tmp/pwned\"\nmalicious_path = b\"x; touch /tmp/pwned #\"\n\nmerge_blobs(base, ours, theirs, path=malicious_path,\n            gitattributes=gitattributes, config=config)\n# => Executes: echo x; touch /tmp/pwned #\n# => Shell runs: echo x, then touch /tmp/pwned\n```\n\n## Fix\n[merge_drivers_shell_escape.patch](https://github.com/user-attachments/files/27016503/merge_drivers_shell_escape.patch)","severity":[{"type":"CVSS_V4","score":"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":"GHSA-9277-mp7x-85jf"}],"affected":[{"ecosystem":"PyPI","package":"dulwich","purl":"pkg:pypi/dulwich","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.24.0"},{"fixed":"1.2.5"}]}],"versions":["0.24.0","0.24.1","0.24.10","0.24.2","0.24.3","0.24.4","0.24.5","0.24.6","0.24.7","0.24.8","0.24.9","0.25.0","0.25.1","0.25.2","1.0.0","1.1.0","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4"],"fixed":["1.2.5"],"provider":"osv","source":"GHSA-9277-mp7x-85jf","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/jelmer/dulwich/security/advisories/GHSA-9277-mp7x-85jf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42563"},{"type":"WEB","url":"https://github.com/jelmer/dulwich/commit/e3331b3b3a122fc313460182f928f59723580b7b"},{"type":"PACKAGE","url":"https://github.com/jelmer/dulwich"},{"type":"WEB","url":"https://github.com/jelmer/dulwich/releases/tag/dulwich-1.2.5"}]},{"provider":"osv","source_id":"PYSEC-2026-2464","relation":"self","url":"https://osv.dev/vulnerability/PYSEC-2026-2464","license":"CC-BY-4.0","published_at":"2026-07-13T15:19:13.633568Z","modified_at":"2026-07-13T16:31:45.60277Z","summary":"Dulwich Vulnerable to Command Injection via Merge Driver Path","details":"## Summary\n\nDulwich'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.\n\n## Description\n\n- **Type:** Command Injection\n- **Source:** `merge.py` line 195 — path from merge tree (from repository content when merging untrusted branch)\n- **Sink:** `merge_drivers.py` lines 124–127 — `subprocess.run(cmd, shell=True)` where `cmd` includes path via `%P` placeholder\n- **Impact:** Arbitrary code execution when merging from a malicious repository. Requires the user to have a merge driver configured that uses the `%P` placeholder.\n\n## Resources\n\n- Repository: https://github.com/dulwich/dulwich\n- Vulnerable file: `dulwich/merge_drivers.py` (lines 119–129)\n\n## Proof of Concept\n\n```python\nfrom dulwich.attrs import GitAttributes, Pattern\nfrom dulwich.config import ConfigDict\nfrom dulwich.merge import merge_blobs\nfrom dulwich.objects import Blob\n\n# Merge driver with %P (path) - typical for custom merge tools\nconfig = ConfigDict()\nconfig.set((b\"merge\", b\"injectable\"), b\"driver\", b\"echo %P > %A\")\n\npatterns = [(Pattern(b\"*\"), {b\"merge\": b\"injectable\"})]\ngitattributes = GitAttributes(patterns)\n\nbase = Blob.from_string(b\"base\")\nours = Blob.from_string(b\"ours\")\ntheirs = Blob.from_string(b\"theirs\")\n\n# Malicious path from attacker-controlled git tree: injects \"touch /tmp/pwned\"\nmalicious_path = b\"x; touch /tmp/pwned #\"\n\nmerge_blobs(base, ours, theirs, path=malicious_path,\n            gitattributes=gitattributes, config=config)\n# => Executes: echo x; touch /tmp/pwned #\n# => Shell runs: echo x, then touch /tmp/pwned\n```\n\n## Fix\n[merge_drivers_shell_escape.patch](https://github.com/user-attachments/files/27016503/merge_drivers_shell_escape.patch)","severity":[{"type":"CVSS_V4","score":"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":"PYSEC-2026-2464"}],"affected":[{"ecosystem":"PyPI","package":"dulwich","purl":"pkg:pypi/dulwich","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.24.0"},{"fixed":"1.2.5"}]}],"versions":["0.24.0","0.24.1","0.24.10","0.24.2","0.24.3","0.24.4","0.24.5","0.24.6","0.24.7","0.24.8","0.24.9","0.25.0","0.25.1","0.25.2","1.0.0","1.1.0","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4"],"fixed":["1.2.5"],"provider":"osv","source":"PYSEC-2026-2464","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/jelmer/dulwich/security/advisories/GHSA-9277-mp7x-85jf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42563"},{"type":"WEB","url":"https://github.com/jelmer/dulwich/commit/e3331b3b3a122fc313460182f928f59723580b7b"},{"type":"PACKAGE","url":"https://github.com/jelmer/dulwich"},{"type":"WEB","url":"https://github.com/jelmer/dulwich/releases/tag/dulwich-1.2.5"},{"type":"PACKAGE","url":"https://pypi.org/project/dulwich"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9277-mp7x-85jf"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2026-42563","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2026-42563","license":"CC-BY-SA-4.0","published_at":"2026-06-10T23:16:00Z","modified_at":"2026-10-17T13:00:05.706936Z","details":"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.","severity":[{"type":"CVSS_V4","score":"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":"UBUNTU-CVE-2026-42563"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2026-42563"}],"affected":[{"ecosystem":"Ubuntu:16.04:LTS","package":"dulwich","purl":"pkg:deb/ubuntu/dulwich?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.2-1ubuntu1","0.12.0-1","0.12.0-1build1","0.12.0-1build2"],"provider":"osv","source":"UBUNTU-CVE-2026-42563","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"dulwich","purl":"pkg:deb/ubuntu/dulwich?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.18.2-1build1","0.18.5-1"],"provider":"osv","source":"UBUNTU-CVE-2026-42563","relation":"self"},{"ecosystem":"Ubuntu:20.04:LTS","package":"dulwich","purl":"pkg:deb/ubuntu/dulwich?arch=source&distro=focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.19.11-2","0.19.14-4ubuntu1","0.19.15-1","0.19.15-1build1"],"provider":"osv","source":"UBUNTU-CVE-2026-42563","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"dulwich","purl":"pkg:deb/ubuntu/dulwich?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.20.15-1ubuntu1","0.20.31-1ubuntu1","0.20.31-1.1","0.20.31-1.1build1"],"provider":"osv","source":"UBUNTU-CVE-2026-42563","relation":"self"},{"ecosystem":"Ubuntu:24.04:LTS","package":"dulwich","purl":"pkg:deb/ubuntu/dulwich?arch=source&distro=noble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.21.6-1","0.21.6-1build1","0.21.6-1build2"],"provider":"osv","source":"UBUNTU-CVE-2026-42563","relation":"self"},{"ecosystem":"Ubuntu:25.10","package":"dulwich","purl":"pkg:deb/ubuntu/dulwich?arch=source&distro=questing","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.22.7-1"],"provider":"osv","source":"UBUNTU-CVE-2026-42563","relation":"self"},{"ecosystem":"Ubuntu:26.04:LTS","package":"dulwich","purl":"pkg:deb/ubuntu/dulwich?arch=source&distro=resolute","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.22.7-1","0.24.2-2","1.1.0-2ubuntu1","1.1.0-3"],"provider":"osv","source":"UBUNTU-CVE-2026-42563","relation":"self"},{"ecosystem":"Ubuntu:26.10","package":"dulwich","purl":"pkg:deb/ubuntu/dulwich?arch=source&distro=stonking","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.0-3","1.2.12-1"],"provider":"osv","source":"UBUNTU-CVE-2026-42563","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-42563"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-42563"},{"type":"REPORT","url":"https://github.com/jelmer/dulwich/security/advisories/GHSA-9277-mp7x-85jf"}]},{"provider":"redhat-vex","source_id":"CVE-2026-42563","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-42563","license":"CC-BY-4.0","published_at":"2026-06-10T21:47:14.927Z","modified_at":"2026-10-16T09:51:21Z","summary":"dulwich: Dulwich: Arbitrary code execution via malicious Git file paths during merge","details":"A flaw was found in Dulwich, a pure-Python implementation of Git file formats and protocols. An attacker can exploit this vulnerability by crafting malicious file paths within an untrusted Git branch. When a victim merges this branch, the ProcessMergeDriver component incorrectly substitutes the attacker-controlled file path into a command, leading to arbitrary code execution. This allows the attacker to run unauthorized commands on the victim's system.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","source":"CVE-2026-42563"},{"type":"Red Hat","score":"Important","source":"CVE-2026-42563"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"affected","packages":["ansible-automation-platform-26/controller-rhel9","ansible-automation-platform-27/controller-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-42563"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"not_affected","packages":["ansible-automation-platform-26/eda-controller-rhel9","ansible-automation-platform-26/lightspeed-chatbot-rhel9","ansible-automation-platform-27/eda-controller-rhel9"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-42563"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","cpe":"cpe:/o:redhat:rhel_els:7","status":"not_affected","packages":["resource-agents","resource-agents-aliyun","resource-agents-gcp","resource-agents-sap","resource-agents-sap-hana","resource-agents-sap-hana-scaleout","sap-cluster-connector"],"package_count":7,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-42563"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["resource-agents","resource-agents-aliyun","resource-agents-gcp","resource-agents-paf"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-42563"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-kserve-storage-initializer-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-42563"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-kserve-agent-rhel9","rhoai/odh-kserve-controller-rhel9","rhoai/odh-kserve-router-rhel9"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-42563"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-kserve-autogluon-server-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-42563"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["python-dulwich"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-42563"},{"vendor":"Red Hat","product":"Red Hat Satellite 6","cpe":"cpe:/a:redhat:satellite:6","status":"not_affected","packages":["python-dulwich"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-42563"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42563.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-42563"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2487751"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-42563"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42563"},{"type":"WEB","url":"https://github.com/jelmer/dulwich/commit/e3331b3b3a122fc313460182f928f59723580b7b"},{"type":"WEB","url":"https://github.com/jelmer/dulwich/releases/tag/dulwich-1.2.5"},{"type":"WEB","url":"https://github.com/jelmer/dulwich/security/advisories/GHSA-9277-mp7x-85jf"}]}],"references":[{"type":"WEB","url":"https://github.com/jelmer/dulwich/security/advisories/GHSA-9277-mp7x-85jf"},{"type":"WEB","url":"https://github.com/jelmer/dulwich/commit/e3331b3b3a122fc313460182f928f59723580b7b"},{"type":"WEB","url":"https://github.com/jelmer/dulwich/releases/tag/dulwich-1.2.5"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-42563"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1268129"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-42563"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42563"},{"type":"PACKAGE","url":"https://github.com/jelmer/dulwich"},{"type":"PACKAGE","url":"https://pypi.org/project/dulwich"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9277-mp7x-85jf"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-42563"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-42563"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42563.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-42563"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2487751"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-2455","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2455","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-11-12T23:00:00Z","relation":"upstream"},{"provider":"csaf-suse","source_id":"openSUSE-SU-2026:10900-1","url":"https://www.suse.com/security/cve/CVE-2026-42305/","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-05-29T00:00:00Z","relation":"upstream"},{"provider":"osv","source_id":"openSUSE-SU-2026:10900-1","url":"https://osv.dev/vulnerability/openSUSE-SU-2026:10900-1","modified_at":"2026-05-30T23:15:07.921699Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2026-42563","url":"https://www.cve.org/CVERecord?id=CVE-2026-42563","license":"CC-BY-4.0","modified_at":"2026-06-12T03:55:30.892Z","relation":"self"},{"provider":"csaf-suse","source_id":"CVE-2026-42563","url":"https://www.suse.com/security/cve/CVE-2026-42563/","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-06-13T02:19:30Z","relation":"self"},{"provider":"osv","source_id":"CLSA-2026-1781052734","url":"https://osv.dev/vulnerability/CLSA-2026-1781052734","modified_at":"2026-11-17T13:30:44.519316Z","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2026-42563","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-42563","modified_at":"2026-10-01T03:03:12.60565Z","relation":"self"},{"provider":"osv","source_id":"GHSA-9277-mp7x-85jf","url":"https://osv.dev/vulnerability/GHSA-9277-mp7x-85jf","license":"CC-BY-4.0","modified_at":"2026-09-10T03:51:05.165324Z","relation":"self"},{"provider":"osv","source_id":"PYSEC-2026-2464","url":"https://osv.dev/vulnerability/PYSEC-2026-2464","license":"CC-BY-4.0","modified_at":"2026-07-13T16:31:45.60277Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2026-42563","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2026-42563","license":"CC-BY-SA-4.0","modified_at":"2026-10-17T13:00:05.706936Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-42563","url":"https://access.redhat.com/security/cve/CVE-2026-42563","license":"CC-BY-4.0","modified_at":"2026-10-16T09:51:21Z","relation":"self"}]}
