CVE-2026-82251
7.5GitoxideLabs · gitoxide
A path traversal vulnerability in gitoxide allows unauthenticated attackers to redirect submodule directory operations to arbitrary locations by crafting malicious submodule names in .gitmodules files.
Executive summary
A high-severity path traversal flaw in gitoxide enables unauthenticated attackers to compromise repository integrity and access unauthorized files.
Vulnerability
The software fails to perform adequate input validation on submodule names defined within .gitmodules files, which triggers a path traversal (CWE-22) condition. An unauthenticated attacker can exploit this to force the application to interact with directories outside the intended .git/modules path.
Business impact
Successful exploitation allows an attacker to manipulate repository state, potentially leading to the inspection of attacker-controlled repositories or confusion within the build environment. With a CVSS score of 7.5, this vulnerability represents a significant risk to the integrity of software supply chains and development environments. Unauthorized repository access could facilitate further downstream attacks or the theft of proprietary source code.
Remediation
Immediate Action: Update the gitoxide crate to version 0.52.1 or later, and the gix crate to version 0.83.0 or later, to incorporate necessary path validation logic.
Proactive Monitoring: Inspect .gitmodules configurations within repositories for unusual path segments or unexpected directory references that deviate from standard naming conventions.
Compensating Controls: Utilize static analysis tools to audit repository configurations and enforce strict path sanitization policies on any ingested third-party submodule data.
Exploitation status
Public Exploit Available: Unknown.
Analyst recommendation
Given the potential for repository confusion and unauthorized data access, organizations relying on gitoxide or gix must prioritize this update. Verify that all development environments, CI/CD pipelines, and local developer workstations are patched to the specified versions to eliminate the path traversal vector. Failure to remediate could expose your development infrastructure to supply chain manipulation.
More GitoxideLabs CVEs
Sources
Originally found and disclosed by N0zoM1z0, per the CVE Program record.
- GitHub Security Advisory (GHSA-fr8x-3vfx-f45h) Vendor advisory
- VulnCheck Advisory: gitoxide before 0.52.1 Path Traversal via Submodule Name Third-party advisory