Skip to main content
← All vulnerabilities
CVE-2026-82253GHSA-P3HW-MV63-RF9W

gitoxide before 0.82.0 Path Traversal via Submodule Name Validation Bypass

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.82.0, 0.11.1, 0.83.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • GitoxideLabs gitoxide

    fixed in 0.82.0

  • GitoxideLabs gitoxide

    fixed in 0.11.1

  • gixcrates.io

    fixed in 0.83.0

  • gix-validatecrates.io

    fixed in 0.11.1

References 2

GitHub · GitoxideLabs/gitoxide

vulncheck.com