Skip to content

CVE-2026-82253 gitoxide before 0.82.0 Path Traversal via Submodule Name Validation Bypass

HighCVSS 8.7 EPSS 0.66%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

14 packages: 6 fixed, 1 partially fixed, 7 with no fix yet.

PackageAffectedFixed inStatus
debian/rust-gix(Debian 13) = 0.69.1-1; = 0.69.1-2; = 0.73.0-1; = 0.73.0-2 +7 more No fix listed No fix yet
debian/rust-gix-validate(Debian 13) = 0.9.2-1; = 0.10.1-1; = 0.11.1-1; = 0.11.3-1 +2 more No fix listed No fix yet
ubuntu/rust-gix(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/rust-gix(Ubuntu 26.10) All versions No fix listed No fix yet
ubuntu/rust-gix-validate(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/rust-gix-validate(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/rust-gix-validate(Ubuntu 26.10) All versions No fix listed No fix yet
azure linux rust(Azure Linux 3.0) < 1.96.1-2; All versions 1.96.1-2 Partially fixed
crates.io gix < 0.82.0 0.82.0 Fixed
crates.io gix(crates.io) < 0.83.0 0.83.0 Fixed
crates.io gix-validate < 0.11.1 0.11.1 Fixed
crates.io gix-validate(crates.io) < 0.11.1; <= 0.10.0 0.11.1 Fixed
debian/rust-gix(Debian 14) < 0.83.0-1; = 0.69.1-1; = 0.69.1-2; = 0.73.0-1 +3 more 0.83.0-1 Fixed
debian/rust-gix-validate(Debian 14) < 0.11.1-1; = 0.9.2-1; = 0.10.1-1 0.11.1-1 Fixed

Affected products

ProductAffected versionsFixed in
crates.io gix < 0.82.0 0.82.0
crates.io gix-validate < 0.11.1 0.11.1
crates.io gix(crates.io) < 0.83.0 0.83.0
crates.io gix-validate(crates.io) < 0.11.1 0.11.1
crates.io gix-validate(crates.io) <= 0.10.0 No fix listed
debian/rust-gix(Debian:13) All versions No fix listed
debian/rust-gix(Debian:13) = 0.69.1-1 No fix listed
debian/rust-gix(Debian:13) = 0.69.1-2 No fix listed
debian/rust-gix(Debian:13) = 0.73.0-1 No fix listed
debian/rust-gix(Debian:13) = 0.73.0-2 No fix listed
debian/rust-gix(Debian:13) = 0.73.0-3 No fix listed
debian/rust-gix(Debian:13) = 0.73.0-4 No fix listed
debian/rust-gix(Debian:13) = 0.83.0-1 No fix listed
debian/rust-gix(Debian:13) = 0.83.0-2 No fix listed
debian/rust-gix(Debian:13) = 0.86.0-1 No fix listed
debian/rust-gix(Debian:13) = 0.87.1-1 No fix listed
debian/rust-gix(Debian:14) < 0.83.0-1 0.83.0-1
debian/rust-gix(Debian:14) = 0.69.1-1 No fix listed
debian/rust-gix(Debian:14) = 0.69.1-2 No fix listed
debian/rust-gix(Debian:14) = 0.73.0-1 No fix listed
debian/rust-gix(Debian:14) = 0.73.0-2 No fix listed
debian/rust-gix(Debian:14) = 0.73.0-3 No fix listed
debian/rust-gix(Debian:14) = 0.73.0-4 No fix listed
debian/rust-gix-validate(Debian:13) All versions No fix listed
debian/rust-gix-validate(Debian:13) = 0.10.1-1 No fix listed
Show 14 more
ProductAffected versionsFixed in
debian/rust-gix-validate(Debian:13) = 0.11.1-1 No fix listed
debian/rust-gix-validate(Debian:13) = 0.11.3-1 No fix listed
debian/rust-gix-validate(Debian:13) = 0.11.4-1 No fix listed
debian/rust-gix-validate(Debian:13) = 0.9.2-1 No fix listed
debian/rust-gix-validate(Debian:14) < 0.11.1-1 0.11.1-1
debian/rust-gix-validate(Debian:14) = 0.10.1-1 No fix listed
debian/rust-gix-validate(Debian:14) = 0.9.2-1 No fix listed
ubuntu/rust-gix-validate(Ubuntu:24.04) All versions No fix listed
ubuntu/rust-gix(Ubuntu:26.04) All versions No fix listed
ubuntu/rust-gix-validate(Ubuntu:26.04) All versions No fix listed
ubuntu/rust-gix(Ubuntu:26.10) All versions No fix listed
ubuntu/rust-gix-validate(Ubuntu:26.10) All versions No fix listed
azure linux rust(Azure Linux:3.0) All versions No fix listed
azure linux rust(Azure Linux:3.0) < 1.96.1-2 1.96.1-2

References