Description
gitoxide's gix-url crate (<= 0.32.0, fixed in 0.37.1) uses a hand-rolled URL parser that does not treat '?' or '#' as terminating the authority component, contrary to RFC 3986. As a consequence, gix-transport's HTTP redirect identity guard (can_reuse_identity) compares the wrong host and fails open. An attacker controlling a redirect response can craft a Location header of the form <attacker-authority>?@<original-authority> so that gitoxide sends the caller's HTTP Basic Authorization credentials to an unintended host. gix-transport is affected in versions <= 0.49.0 (fixed in 0.58.1).
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GitoxideLabs | gitoxide | < 0.37.1, < 0.58.1 | 0.37.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-transport | 0.58.1-1 | — |
| Debian 14 | rust-gix-url | 0.37.1-1 | — |
| Debian 13 | rust-gix-url +1 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rust-gix-url +1 | No fix yet | — |
| Ubuntu 26.04 LTS | rust-gix-url +1 | No fix yet | — |
| Ubuntu 24.04 LTS | rust-gix-url +1 | 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.2 | ALAS2023-2026-3381 |
| Amazon Linux 2023 | rust +14 | 1.99.1-1.amzn2023 | ALAS2023-2026-3382 |
| Amazon Linux 2 | rust +11 | 1.99.1-1.amzn2 | ALAS2-2026-4072 |
Advisories 5
- ALAS2023-2026-3381 Moderate: rust-cargo-c security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Nov 9, 2026
- ALAS2023-2026-3382 Moderate: rust security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Nov 9, 2026
- ALAS2-2026-4072 Moderate: rust security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Nov 9, 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-jrcm-326h-gpp8) vendor-advisory
- VulnCheck Advisory: gitoxide before 0.37.1 HTTP Basic credential leak via URL parsing third-party-advisory