CVE-2026-82252

7.5

GitoxideLabs · gitoxide

Gitoxide improperly follows symlinks when reading .gitmodules files, allowing unauthenticated attackers to inject and parse arbitrary files from outside the repository tree.

Executive summary

A high-severity path traversal vulnerability in gitoxide allows unauthenticated attackers to read arbitrary files from the filesystem by manipulating submodule configuration metadata.

Vulnerability

This vulnerability is caused by improper link resolution (CWE-59) where the application follows symlinks when reading the .gitmodules file. An unauthenticated attacker can create a malicious repository containing a symlinked .gitmodules file that points to sensitive files outside the repository boundary, forcing the application to parse them as submodule configurations.

Business impact

The ability to force an application to parse arbitrary files from the host system presents a significant risk of unauthorized information disclosure. With a CVSS score of 7.5, this vulnerability could allow attackers to access sensitive configuration data or credentials stored on the host, potentially leading to further compromise of the development environment or downstream systems.

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 the necessary path validation fixes.

Proactive Monitoring: Review repository access logs for unusual submodule activity or attempts to reference files outside of standard project directories.

Compensating Controls: Ensure that systems using gitoxide are running with the least privilege necessary, restricting the application's ability to access sensitive files on the host operating system.

Exploitation status

Public Exploit Available: Unknown

Analyst recommendation

Given the potential for unauthorized file access and the existence of a proof-of-concept, this vulnerability poses a credible risk to development infrastructure. Security teams should prioritize updating all instances of gitoxide and gix to the patched versions immediately to prevent potential data exfiltration or system compromise.

More GitoxideLabs CVEs

Sources

Originally found and disclosed by N0zoM1z0, per the CVE Program record.