PT-2026-43024 · Rust · Cargo

·

CVE-2026-5222

·

Published

2026-05-25

·

Updated

2026-06-26

CVSS v2.0

6.8

Medium

VectorAV:N/AC:L/Au:S/C:C/I:N/A:N
Name of the Vulnerable Software and Affected Versions Cargo versions 1.68 through 1.95
Description Cargo incorrectly normalized URLs of third-party registries using the sparse index protocol. In scenarios where a hosting provider allows multiple registries to be hosted with arbitrary names within the same domain, an attacker capable of publishing crates in a registry could obtain the credentials of other users of that same registry.
Recommendations Update to version 1.96.

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-88275
AZL-88281
BDU:2026-08151
CVE-2026-5222
GHSA-P688-R7JV-FM6F

Affected Products

Cargo