Skip to main content
VulnerabilityPublished

gix-transport: HTTP credentials leaked to redirected host in curl backend

Affects gix-transportSource GCVE Database

0

CVSS 6.8 Medium : upgrade to 0.56.0 when convenient.

Data as of 27 Oct 2026, 01:46 UTC

CVSS 3.1 base score
6.8Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.56.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

What to do

Upgrade gix-transport to 0.56.0.

Affected software

ProductAffectedFixed in
crates.iogix-transportAffected
  • >=0.25.4 <0.56.0
Fixed in
  • 0.56.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in gix-transport version 0.56.0. Users should upgrade to version 0.56.0 or later to remediate this vulnerability. No additional mitigation steps are required once the update is applied.

Description

A vulnerability in the curl-based HTTP transport of gix-transport causes user credentials to be leaked to an attacker-controlled host after an HTTP redirect. When a server issues a 302 redirect, the client rewrites subsequent requests to the redirected host but continues to attach the Authorization header based on the original URL, resulting in credentials being sent to the attacker. Additionally, an HTTPS-to-HTTP downgrade redirect can cause credentials to be sent in cleartext. This issue affects gix-transport versions from 0.25.4 up to but not including 0.56.0 and has been fixed in version 0.56.0.

References

Community reviews

Loading reviews…