CVE-2026-82253
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
6- Range: <0.10.0
- osv-coords2 versionspkg:rpm/opensuse/cargo-audit&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/cargo-c&distro=openSUSE%20Tumbleweed
< 0.22.2~git0.281452c-3.1+ 1 more
- (no CPE)range: < 0.22.2~git0.281452c-3.1
- (no CPE)range: < 0.10.25-1.1
Patches
Vulnerability mechanics
References
2News mentions
0No linked articles in our index yet.