CVE-2026-82253 PUBLISHED

gitoxide before 0.82.0 Path Traversal via Submodule Name Validation Bypass

Assigner: VulnCheck
Reserved: 28.08.2026 Published: 28.08.2026 Updated: 28.08.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 8.7

Product Status

Vendor GitoxideLabs
Product gitoxide
Versions Default: unaffected
  • affected from 0 to 0.82.0 (excl.)
  • Version 0.82.0 is unaffected
Vendor GitoxideLabs
Product gitoxide
Versions Default: unaffected
  • affected from 0 to 0.11.1 (excl.)
  • Version 0.11.1 is unaffected

Credits

  • kodareef5 reporter

References

Problem Types

  • Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE