The build_index_from_tree function in index.py in Dulwich before 0.9.9 allows remote…
Priority MEDIUM 41CWE-19Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
EPSS 0.04996 92nd percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Fixed dulwich (PyPI): 0.9.10
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | dulwich (PyPI) | before 0.9.10 | 0.9.10 | Patch available | GHSA-4j5j-58j7-6c3w |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- dulwich (PyPI) Vendor— Affected before 0.9.10 Fixed in 0.9.10 Patch available GHSA-4j5j-58j7-6c3w
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Debian |
| cpe:2.3:a:dulwich_project:dulwich:*:*:*:*:*:*:*:* | up to 0.9.8 | Vulnerable | Dulwich Project |
- cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Debian
- cpe:2.3:a:dulwich_project:dulwich:*:*:*:*:*:*:*:* Versions up to 0.9.8 Vulnerable ·Dulwich Project
Remediation
- Fix · GHSA-4j5j-58j7-6c3w dulwich (PyPI) Fixed in 0.9.10 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2014-9706
- 2026-10-03 Alias added: GHSA-4j5j-58j7-6c3w
References
Exploit 2
Other 6
- https://git.samba.org/?p=jelmer/dulwich.git%3Ba=commitdiff%3Bh=091638be3c89f46f42c3b1d57dc1504af5729176
- [oss-security] 20150322 Re: Possible CVE Request: dulwich: does not prevent to write files in commits with invalid paths to working tree
- https://github.com/jelmer/dulwich/commit/091638be3c89f46f42c3b1d57dc1504af5729176
- https://git.samba.org/?p=jelmer/dulwich.git;a=commitdiff;h=091638be3c89f46f42c3b1d57dc1504af5729176
- https://github.com/jelmer/dulwich
- https://github.com/pypa/advisory-database/tree/main/vulns/dulwich/PYSEC-2015-34.yaml
Sources
- CVE-2014-9706 · CVE Program
- CVE-2014-9706 · NVD
- FIRST EPSS
- GHSA-4j5j-58j7-6c3w · GitHub Advisory Database · CC BY 4.0
- CVE-2014-9706 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences