gitoxide (Rust crates gix <= 0.72.0 and gix-validate <= 0.10.0) contains a path traversal vulnerability. The submodule name validation function in gix-validate only checks the first occurrence of '..' via name.find(b".."), allowing crafted names such as 'a..b/../../../.git/' to bypass the check; additionally this validation is never invoked in production code paths. Combined with a trust inheritance flaw in Submodule::open(), where the parent repository's git_dir_trust (Trust::Full) is cloned and the ownership verification is skipped, an attacker can craft a malicious .gitmodules file so that a victim tool built on gitoxide reads arbitrary git repository configuration (including embedded credentials) with full trust, bypassing safe-directory protections. Fixed in gix 0.82.0 and gix-validate 0.11.1.
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Fri, 28 Aug 2026 11:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | gitoxide (Rust crates gix <= 0.72.0 and gix-validate <= 0.10.0) contains a path traversal vulnerability. The submodule name validation function in gix-validate only checks the first occurrence of '..' via name.find(b".."), allowing crafted names such as 'a..b/../../../.git/' to bypass the check; additionally this validation is never invoked in production code paths. Combined with a trust inheritance flaw in Submodule::open(), where the parent repository's git_dir_trust (Trust::Full) is cloned and the ownership verification is skipped, an attacker can craft a malicious .gitmodules file so that a victim tool built on gitoxide reads arbitrary git repository configuration (including embedded credentials) with full trust, bypassing safe-directory protections. Fixed in gix 0.82.0 and gix-validate 0.11.1. | |
| Title | gitoxide before 0.82.0 Path Traversal via Submodule Name Validation Bypass | |
| First Time appeared |
Gitoxidelabs
Gitoxidelabs gitoxide |
|
| Weaknesses | CWE-22 | |
| CPEs | cpe:2.3:a:gitoxidelabs:gitoxide:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Gitoxidelabs
Gitoxidelabs gitoxide |
|
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-08-28T10:49:37.566Z
Reserved: 2026-08-28T10:39:30.355Z
Link: CVE-2026-82253
No data.
Status : Deferred
Published: 2026-08-28T12:16:38.027
Modified: 2026-08-28T18:54:09.323
Link: CVE-2026-82253
No data.
OpenCVE Enrichment
Updated: 2026-08-28T16:00:13Z
Weaknesses