Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2026-5222

32
FAUCET Score

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.

First published: May 25, 2026Last modified: May 25, 2026

Impacted Technologies

VendorProductVersion(s)CPE
>= 1.68.0, < 1.96.0CPE matchmatch criteria
cpe:2.3:a:rust-lang:cargo:*:*:*:*:*:rust:*:*

CVSS Data

CVSS version used by this source: 4.0

2.3LOW

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/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

Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
PASSIVE
VS Confidentiality
LOW
VS Integrity
NONE
VS Availability
NONE
SS Confidentiality
LOW
SS Integrity
NONE
SS Availability
NONE
Exploit Maturity
NOT_DEFINED
CvssVersion
4.0

Exploit Intelligence

EPSS Score
0.38%
Probability of exploitation in next 30 days
EPSS Percentile
30.5%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0038 is in the 40th percentile among its peer group of 21,958 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.0 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (6)

github_advisorypatch availablevia nvd_reference
View patch
microsoftpatch availablevia msrc
Product: azl3 rust 1.90.0-8 on Azure Linux 3.0Fixed in: 1.90.0-9
microsoftpatch availablevia msrc
Product: azl3 rust 1.75.0-29 on Azure Linux 3.0Fixed in: 1.75.0-30
microsoftpatch availablevia msrc
Product: 21433-17084Fixed in: 1.90.0-9
microsoftpatch availablevia msrc
Product: 21400-17084Fixed in: 1.75.0-30
rustpatch availablevia ghsa
Product: cargoFixed in: 0.97.0

Vendor Advisories (2)

rustGHSA-p688-r7jv-fm6flow

Cargo can be coerced to share credentials between registries

Jun 26, 2026
microsoft2026-May/CVE-2026-5222Low

Cargo can be coerced to share credentials between registries

May 12, 2026

References

blog.rust-lang.org / 2026/05/25/cve-2026-5222
Vendor Advisory
github.com / rust-lang/cargo/pull/17031
Issue TrackingPatch
groups.google.com / g/rustlang-security-announcements/c/SfUxOiIdY5s
Mailing ListThird Party Advisory