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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GitoxideLabs | gitoxide | < 0.52.1, < 0.82.0 | 0.52.1 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rust-gix | 0.83.0-1 | — |
| Debian 13 | rust-gix | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rust-gix | No fix yet | — |
| Ubuntu 26.04 LTS | rust-gix | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cargo-audit | 0.22.2~git0.281452c-3.1 | openSUSE-SU-2026:11730-1 |
| openSUSE Tumbleweed | cargo-c | 0.10.25-1.1 | openSUSE-SU-2026:11741-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | cargo-c | 0.10.25-1.amzn2023.0.1 | ALAS2023-2026-3181 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | rust | 1.75.0-30 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | gitoxide | < 0.52.1 | 0.52.1 | GHSA-fr8x-3vfx-f45h |
| crates.io | gix | < 0.83.0 | 0.83.0 | GHSA-fr8x-3vfx-f45h |
Advisories 3
- ALAS2023-2026-3181 Important: rust-cargo-c security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Nov 2, 2026
- openSUSE-SU-2026:11741-1 cargo-c-0.10.25-1.1 on GA media SUSE / openSUSE Security Updates · Sep 11, 2026
- openSUSE-SU-2026:11730-1 cargo-audit-0.22.2~git0.281452c-3.1 on GA media SUSE / openSUSE Security Updates · Sep 10, 2026
References
- GitHub Security Advisory (GHSA-fr8x-3vfx-f45h) vendor-advisory
- VulnCheck Advisory: gitoxide before 0.52.1 Path Traversal via Submodule Name third-party-advisory