{"id":"UBUNTU-CVE-2026-82247","details":"gitoxide's gix-url crate (\u003c= 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 \u003cattacker-authority\u003e?@\u003coriginal-authority\u003e so that gitoxide sends the caller's HTTP Basic Authorization credentials to an unintended host. gix-transport is affected in versions \u003c= 0.49.0 (fixed in 0.58.1).","modified":"2026-09-02T16:28:28Z","published":"2026-08-28T12:16:00Z","upstream":["CVE-2026-82247"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-82247"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-82247"},{"type":"REPORT","url":"https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-jrcm-326h-gpp8"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/gitoxide-before-0.37.1-http-basic-credential-leak-via-url-parsing"}],"affected":[{"package":{"name":"rust-gix-transport","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/rust-gix-transport?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.41.1-1","0.41.1-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.41.1-1build1","binary_name":"librust-gix-transport-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82247.json"}},{"package":{"name":"rust-gix-url","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/rust-gix-url?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.25.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-gix-url-dev","binary_version":"0.25.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82247.json"}},{"package":{"name":"rust-gix-transport","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/rust-gix-transport?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.44.0-1","0.48.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-gix-transport-dev","binary_version":"0.48.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82247.json"}},{"package":{"name":"rust-gix-url","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/rust-gix-url?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.28.2-1","0.32.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.32.0-1","binary_name":"librust-gix-url-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82247.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}