Vulnerability
CVE-2026-82253
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.
10 advisories report this vulnerability, across 7 ecosystems.
Advisories
-
ALAS2-2026-3808
Amazon Linux 2 2017.12 - ALAS2-2026-3808: important priority package update for rust
-
ALAS2023-2026-3181
Amazon Linux 2023 - ALAS2023-2026-3181: Important priority package update for rust-cargo-c
-
AZL-98409
CVE-2026-82253 affecting package rust for versions less than 1.75.0-30
-
AZL-98433
CVE-2026-82253 affecting package rust for versions less than 1.96.1-2
-
DEBIAN-CVE-2026-82253
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…
-
GHSA-p3hw-mv63-rf9w
gix's submodule name validation bypass + trust inheritance flaw enables path traversal and credential disclosure
-
SUSEVEX-CVE-2026-82253
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…
-
UBUNTU-CVE-2026-82253
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…
-
openSUSE-SU-2026:11730-1
cargo-audit-0.22.2~git0.281452c-3.1 on GA media
-
openSUSE-SU-2026:11741-1
cargo-c-0.10.25-1.1 on GA media