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

High 8.7 Published Updated

Attackers can bypass submodule name validation to read arbitrary git configuration and credentials, bypassing safe-directory protections in applications using gitoxide.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-82253?

CVE-2026-82253 is a high-severity path traversal vulnerability in GitoxideLabs gitoxide, published on 28 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2026-82253?

4 open source packages ship an affected version, including gix and gix-validate.

PackageAffectedFixed in
gix crates.ioAll versions0.83.0
gix crates.ioAll versions0.83.0
gix-validate crates.ioAll versions0.11.1
gix-validate crates.ioAll versions0.11.1

How do I fix CVE-2026-82253?

Upgrade gix to 0.83.0 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-82253 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-82253 exists.

Sources

Also known as AZL-98409, AZL-98433, DEBIAN-CVE-2026-82253, GHSA-6f8q-f8px-cxhw, GHSA-p3hw-mv63-rf9w, MINI-938w-gq2h-v4gh and 1 more.

Is CVE-2026-82253 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free