CVE-2024-35186 — Vulnerability in gitoxide-core — CVE Details
gix traversal outside working tree enables arbitrary code execution
Summary
Advisory Timeline
- First published May 22, 2024 (873 days ago).
- Last revised September 10, 2026 — 841 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p gitoxide-core --precise 0.38.0
cargo update -p gix --precise 0.63.0
cargo update -p gix-worktree --precise 0.34.0
cargo update -p gitoxide --precise 0.36.0
cargo update -p gix-fs --precise 0.11.0
cargo update -p gix-index --precise 0.33.0
cargo update -p gix-worktree-state --precise 0.11.0
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (7)
Affects 1 ecosystem: crates.io (7).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| gitoxide-core | crates.io | All versions | 0.38.0 |
| gix | crates.io | All versions | 0.63.0 |
| gix-worktree | crates.io | All versions | 0.34.0 |
| gitoxide | crates.io | All versions | 0.36.0 |
| gix-fs | crates.io | All versions | 0.11.0 |
| gix-index | crates.io | All versions | 0.33.0 |
| gix-worktree-state | crates.io | All versions | 0.11.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-22Path TraversalMITRE
- CWE-23
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2024-35186?
- gix traversal outside working tree enables arbitrary code execution This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2024-35186?
- CVE-2024-35186 affects gitoxide-core, gix and gix-worktree (and 4 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-35186 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-40034HIGH
gitoxide: CommandForbiddenInModulesConfiguration Bypass in gix_submodule::File::update() Enables Arbitrary Command Execution via .gitmodules
- CVE-2026-44471HIGH
gix-fs: Symlink prefix-reuse allows worktree escape during checkout
- CVE-2026-82251HIGH
gix and gitoxide: unvalidated submodule name traverses out of .git/modules and redirects state() / open() to another repository
- CVE-2026-82253HIGH
gix's submodule name validation bypass + trust inheritance flaw enables path traversal and credential disclosure
- CVE-2026-82252HIGH
gix and gitoxide's symlinked .gitmodules are followed and parsed from outside of the repository
- CVE-2025-31130MEDIUM
gitoxide does not detect SHA-1 collision attacks
- CVE-2024-35197MEDIUM
gix refs and paths with reserved Windows device names access the devices
- CVE-2024-32884MEDIUM
gix-transport indirect code execution via malicious username
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies