top of page
perceptive_background_267k.jpg

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 …

Published:

28 August 2026 at 00:00:00

Alert date:

28 August 2026 at 21:07:46

Source:

nvd.nist.gov

Click to open the original link from this advisory

Supply Chain & Dependencies, Zero-Day Vulnerabilities, Data Breach & Exfiltration

A path traversal vulnerability exists in the Rust crates gix (<= 0.72.0) and gix-validate (<= 0.10.0), collectively known as gitoxide. The submodule name validation in gix-validate only checks for the first occurrence of '..' using name.find(b".."), allowing crafted names like 'a..b/../../../.git/' to bypass the check. Additionally, this validation is never called in production code paths, making it effectively useless. A secondary flaw in Submodule::open() causes the parent repository's full trust level (Trust::Full) to be inherited by submodules without re-verifying ownership, bypassing safe-directory protections. An attacker can exploit these flaws by crafting a malicious .gitmodules file, causing victim tools built on gitoxide to read arbitrary git repository configurations, potentially exposing embedded credentials. The vulnerabilities are fixed in gix 0.82.0 and gix-validate 0.11.1.

Technical details

Mitigation steps:

Affected products:

gitoxide gix <= 0.72.0
gix-validate <= 0.10.0

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Disclaimer: Deze website toont informatie afkomstig van externe bronnen. Perceptive aanvaardt geen verantwoordelijkheid voor de inhoud, juistheid of volledigheid van deze informatie.

bottom of page