What’s Vulnerable › Vulnerabilities

CVE-2026-82251: gitoxide before 0.52.1 Path Traversal via Submodule Name

Description

gitoxide before 0.52.1 fails to validate submodule names from .gitmodules configuration, allowing path traversal when deriving submodule git directories. Attackers can craft malicious submodule names with traversal segments to redirect state() and open() functions to repositories outside .git/modules, causing repository confusion and inspection of attacker-controlled repositories.

Affected products

How to fix

Upgrade to a fixed version: GitoxideLabs gitoxide 0.52.1, 0.82.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-82251 or the next vulnerability affects your stack