ZeroHour

CVE-2026-82255

niche

Credential Leak via HTTP Redirects in gitoxide's curl-based Transport

CVSS 4.0
7.6 high
EPSS
<1%p14
Published
()
Modified
AI analysis

CVE-2026-82255 is an insufficiently protected credentials flaw (CWE-522) in the curl-based HTTP transport of gitoxide, the Rust Git implementation, affecting versions from 0.25.4 onward. When a remote server answers an authenticated request with a redirect — including a cross-domain redirect or an HTTPS-to-HTTP downgrade — gitoxide validates credentials against the original URL instead of the effective URL after the redirect, so it re-sends the credentials to the redirect target. An attacker who controls or can steer that redirect target (for example a hostile or compromised server, or a downgrade to cleartext HTTP) thereby captures the victim's authentication tokens, with high confidentiality and integrity impact per the CVSS 4.0 score of 7.6 (high). Anyone running an affected gitoxide version that performs authenticated HTTP(S) fetch/push operations through the curl transport is exposed, while purely local operations or unauthenticated fetches are not. No exploitation is currently known: there is no public PoC, the issue is not in CISA KEV, and EPSS assigns only a 0.2% probability of exploitation within 30 days.

What to do: Upgrade gitoxide to a release that fixes CVE-2026-82255 as soon as upstream publishes it (the provided data does not name the fixed version, so check the upstream advisory). Until patched, avoid the curl-based HTTP transport for authenticated fetches, or restrict fetch/push URLs to trusted HTTPS endpoints whose hosts cannot redirect cross-domain or downgrade to HTTP. Audit and rotate credentials or tokens configured for affected fetch hosts, and check CI/build logs for requests that followed redirects while carrying credentials.

Affected
gitoxide (open-source Rust project, Byron/gitoxide) gitoxide (gix) — curl-based HTTP transport backend0.25.4 and later (fixed version not stated in the provided data)
Estimated exposure
nicheunknown; likely niche — plausibly on the order of tens of thousands of systems or fewer — No install counts or exposure scans were provided; gitoxide is a niche Rust library/CLI compared with mainstream Git tooling, and the vulnerable path is exercised only when authenticated HTTP(S) fetches go through its curl transport, so…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

gitoxide versions from 0.25.4 contain an HTTP credential leak vulnerability in the curl-based transport backend where credentials are sent to attacker-controlled servers after HTTP redirects. The vulnerability occurs because credential validation checks the original URL instead of the effective URL after redirect, allowing attackers to steal authentication tokens through cross-domain redirects or HTTPS-to-HTTP downgrades.

Weakness
CWE-522
Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.