Summary
When multiple sparse registries shared a host, Cargo could send credentials intended for one registry to another. Fixed in 0.97.0.
Disclosure timeline
- Public disclosure
Credits
Reported by Christos Papakonstantinou of Cantina.
Vulnerability disclosure
CVE-2026-5222 · GHSA-p688-r7jv-fm6f
When multiple sparse registries shared a host, Cargo could send credentials intended for one registry to another. Fixed in 0.97.0.
Reported by Christos Papakonstantinou of Cantina.