CVE-2024-35186gix traversal outside working tree enables arbitrary code execution
- 8.8HighCVSS base score
- 0.82%Exploitation in 30 daysEPSS · top 42% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
Description
gitoxide is a pure Rust implementation of Git. During checkout, `gix-worktree-state` does not verify that paths point to locations in the working tree. A specially crafted repository can, when cloned, place new files anywhere writable by the application. This vulnerability leads to a major loss of confidentiality, integrity, and availability, but creating files outside a working tree without attempting to execute code can directly impact integrity as well. This vulnerability has been patched in version(s) 0.36.0.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. CISA's SSVC rates its exploitation: a proof of concept is public.
Timeline
ID reserved
By GitHub_M
- 13 days later
· 13 days later
Published
- 2 months later
· 2 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVDNVD · Deferred | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.82% · top 42% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Affected products
Affected packages
Affected packages7
From reviewed advisories of the GitHub Advisory Database.
- crates.iogitoxideGHSA-7w47-3wg8-547c (opens in a new tab)
- crates.iogitoxide-coreGHSA-7w47-3wg8-547c (opens in a new tab)
- crates.iogixGHSA-7w47-3wg8-547c (opens in a new tab)
- crates.iogix-fsGHSA-7w47-3wg8-547c (opens in a new tab)
- crates.iogix-indexGHSA-7w47-3wg8-547c (opens in a new tab)
- crates.iogix-worktreeGHSA-7w47-3wg8-547c (opens in a new tab)
- crates.iogix-worktree-stateGHSA-7w47-3wg8-547c (opens in a new tab)
References
References1
- https://github.com/Byron/gitoxide/security/advisories/GHSA-7w47-3wg8-547c (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-1506 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-7w47-3wg8-547c (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-35186)Record last updated .