Bug 2481159 (CVE-2026-5222) - CVE-2026-5222 rust-cargo: rust-cargo: Information disclosure due to URL normalization flaw
Summary: CVE-2026-5222 rust-cargo: rust-cargo: Information disclosure due to URL norma...
Keywords:
Status: NEW
Alias: CVE-2026-5222
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2489768 2489769
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-25 10:01 UTC by OSIDB Bzimport
Modified: 2026-06-17 10:55 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-25 10:01:17 UTC
Cargo between 1.68 and 1.96 incorrectly normalized the URLs of third-party registries using the sparse index protocol. If a hosting provider allowed multiple registries to be hosted with arbitrary names within the same domain, an attacker able to publish crates in a registry could obtain the credentials of others users of the same registry. The severity of the vulnerability is **low**, due to the extremely niche requirements needed to achieve the attack.


Note You need to log in before you can comment on or make changes to this bug.