CVE-2014-9706
Dulwich Arbitrary code execution via commit with directory path starting with .git
The build_index_from_tree function in index.py in Dulwich before 0.9.9 allows remote attackers to execute arbitrary code via a commit with a directory path starting with .git/, which is not properly handled when checking out a working tree.
Exploit likelihood
What each source reports
NVD Score used
7.5
The build_index_from_tree function in index.py in Dulwich before 0.9.9 allows remote attackers to execute arbitrary code via a commit with a directory path starting with .git/, which is not properly handled when checking out a working tree.
- Record
CVE-2014-9706- CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-19
- Updated
- 2026-11-02
CVE List No score
The build_index_from_tree function in index.py in Dulwich before 0.9.9 allows remote attackers to execute arbitrary code via a commit with a directory path starting with .git/, which is not properly handled when checking out a working tree.
- Record
CVE-2014-9706- Updated
- 2026-11-02
EUVDEUVD-2015-0019 No score
The build_index_from_tree function in index.py in Dulwich before 0.9.9 allows remote attackers to execute arbitrary code via a commit with a directory path starting with .git/, which is not properly handled when checking out a working tree.
- Record
EUVD-2015-0019- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-4j5j-58j7-6c3w
9.3
Dulwich Arbitrary code execution via commit with directory path starting with .git
The build_index_from_tree function in index.py in Dulwich versions 0.9.9 and below allows remote attackers to execute arbitrary code via a commit with a directory path starting with .git/, which is not properly handled when checking out a working tree.
- Record
GHSA-4j5j-58j7-6c3w- CVSS 4.0
- 9.3 Critical
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-4j5j-58j7-6c3w
9.3
Dulwich Arbitrary code execution via commit with directory path starting with .git
The build_index_from_tree function in index.py in Dulwich versions 0.9.9 and below allows remote attackers to execute arbitrary code via a commit with a directory path starting with .git/, which is not properly handled when checking out a working tree.
- Record
GHSA-4j5j-58j7-6c3w- CVSS 4.0
- 9.3 Critical
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV No score
The build_index_from_tree function in index.py in Dulwich before 0.9.9 allows remote attackers to execute arbitrary code via a commit with a directory path starting with .git/, which is not properly handled when checking out a working tree.
- Record
CVE-2014-9706- Updated
- 2026-11-02
OSVDEBIAN-CVE-2014-9706 No score
The build_index_from_tree function in index.py in Dulwich before 0.9.9 allows remote attackers to execute arbitrary code via a commit with a directory path starting with .git/, which is not properly handled when checking out a working tree.
- Record
DEBIAN-CVE-2014-9706- Updated
- 2026-11-02
OSVMGASA-2015-0157 No score
Updated python-dulwich packages fix security vulnerabilities
Updated python-dulwich package fixes security vulnerabilities:
It was discovered that Dulwich allows writing to files under .git/ when checking out working trees. This could lead to the execution of arbitrary code with the privileges of the user running an application based on Dulwich (CVE-2014-9706).
Ivan Fratric of the Google Security Team has found a buffer overflow in the C implementation of the apply_delta() function, used when accessing Git objects in pack files. An attacker could take advantage of this flaw to cause the execution of arbitrary code with the privileges of the user running a Git server or client based on Dulwich (CVE-2015-0838).
The python-dulwich package has been updated to version 0.10.0, fixing these issues and other bugs.
- Record
MGASA-2015-0157- Updated
- 2026-11-02
OSVPYSEC-2015-34 No score
The build_index_from_tree function in index.py in Dulwich before 0.9.9 allows remote attackers to execute arbitrary code via a commit with a directory path starting with .git/, which is not properly handled when checking out a working tree.
- Record
PYSEC-2015-34- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
dulwichPyPI |
before 0.9.10 | 0.9.10 |
dulwichDebian:12 |
before 0.10.1-1 | 0.10.1-1 |
dulwichDebian:13 |
before 0.10.1-1 | 0.10.1-1 |
dulwichDebian:14 |
before 0.10.1-1 | 0.10.1-1 |
dulwichDebian:7 From an advisory covering 2 CVEs |
before 0.8.5-2+deb7u2, plus listed versions 0.8.5-20.8.5-2+deb7u1 |
0.8.5-2+deb7u2 |
dulwichPyPI |
before 0.9.10, plus listed versions 0.0.10.1.00.1.10.2.10.3.0 Show 29 moreShow less0.3.10.3.20.3.30.4.00.4.10.5.00.6.00.6.10.6.20.7.00.7.10.8.00.8.10.8.20.8.30.8.40.8.50.8.60.8.70.9.00.9.10.9.20.9.30.9.40.9.50.9.60.9.70.9.80.9.9 |
0.9.10 |
python-dulwichMageia:4 From an advisory covering 2 CVEs |
before 0.10.0-1.mga4 | 0.10.0-1.mga4 |
dulwichPyPI |
before 0.9.9, plus listed versions 0.0.10.1.00.1.10.2.10.3.0 Show 28 moreShow less0.3.10.3.20.3.30.4.00.4.10.5.00.6.00.6.10.6.20.7.00.7.10.8.00.8.10.8.20.8.30.8.40.8.50.8.60.8.70.9.00.9.10.9.20.9.30.9.40.9.50.9.60.9.70.9.8 |
0.9.9 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2014-9706 is a high vulnerability (CVSS 7.5) in Dulwich Project Dulwich, published March 28, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.00%, the 92nd percentile. Fixed in dulwich 0.9.10.
References
debian.org/security/2015/dsa-3206
lists.fedoraproject.org/pipermail/package-announce/2015-April/154551.html
git.samba.org?p=jelmer/dulwich.git%3Ba=commitdiff%3Bh=091638be3c89f46f42c3b1d57dc1504af5729176
openwall.com/lists/oss-security/2015/03/22/26
openwall.com/lists/oss-security/2015/03/21/1
lists.launchpad.net/dulwich-users/msg00827.html
Show 11 moreShow less
lists.fedoraproject.org/pipermail/package-announce/2015-April/154523.html
nvd.nist.gov/vuln/detail/CVE-2014-9706
git.samba.org?p=jelmer/dulwich.git;a=commitdiff;h=091638be3c89f46f42c3b1d57dc1504af5729176
github.com/jelmer/dulwich/commit/091638be3c89f46f42c3b1d57dc1504af5729176
github.com/pypa/advisory-database/tree/main/vulns/dulwich/PYSEC-2015-34.yaml
github.com/advisories/GHSA-4j5j-58j7-6c3w
security-tracker.debian.org/tracker/CVE-2014-9706
github.com/jelmer/dulwich
advisories.mageia.org/MGASA-2015-0157.html
bugs.mageia.org/show_bug.cgi?id=15558
git.samba.org?p=jelmer/dulwich.git;a=blob;f=NEWS;h=d0616a0c