CVE-2026-82247

NameCVE-2026-82247
Descriptiongitoxide'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).
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rust-gix-transport (PTS)trixie0.44.0-1vulnerable
forky0.57.0-1vulnerable
sid0.58.1-1fixed
rust-gix-url (PTS)trixie0.28.2-1vulnerable
forky0.36.0-1vulnerable
sid0.37.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
rust-gix-transportsource(unstable)0.58.1-1
rust-gix-urlsource(unstable)0.37.1-1

Notes

https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-jrcm-326h-gpp8

Search for package or bug name: Reporting problems