Executive brief
gitoxide is a high-performance Git implementation library used by developers to interact with Git repositories. A vulnerability in the curl-based HTTP transport allows attackers to steal authentication credentials (tokens and passwords) by redirecting legitimate repository requests to attacker-controlled servers. This could enable unauthorized access to private repositories and compromise sensitive source code or deployment secrets.
Technical details
The vulnerability is an insufficiently protected credential leak (CWE-522) in gix-transport's curl backend. When a Git server responds with an HTTP redirect (302) during credential-protected operations, gitoxide rewrites subsequent requests to the redirected host but continues to validate credentials against the original URL rather than the effective URL after redirect. An attacker can redirect requests to a malicious server and receive Authorization headers containing Base64-encoded credentials, or downgrade HTTPS connections to cleartext HTTP while credentials are transmitted. The vulnerability affects gix-transport versions 0.25.4 through 0.55.0; versions 0.56.0 and later patch the issue. The reqwest backend is not affected. Attack requires the victim to clone or interact with a repository configured with credentials, and the attacker must control a server that can receive HTTP redirects.
Affected products
- GitoxideLabs gix-transport >=0.25.4, <=0.55.0
Timeline
- 2026-04-25: disclosed: GitHub Security Advisory GHSA-9857-6mw7-fq2m published
- 2026-08-28: advisory: CVE-2026-82255 assigned and published to NVD
- 2026-04-25: patched: Fix available in gix-transport 0.56.0 and later