synced 2 MIN AGO
01 Record

CVE-2026-5222

Cargo can be coerced to share credentials between registries

LowPUBLISHEDCNA: rust
CNA base score2.3 CVSS v4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N

02 Description

Cargo can be coerced to share credentials between registries

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
0.47% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 40.9% of scored records. A rank, not a probability.
NVD base score
2.3 (CVSS v4.0), scored by the NVD independently of the CNA.
NVD CVSS vector
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
NVD analysis status
Analyzed. NVD last modified this record on 2026-07-23.
Red Hat severity
No Red Hat rating. Red Hat rates the CVEs that affect its products.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2026-05-25 08:54Z5 MO AGO
Last updated
2026-05-26 14:43Z5 MO AGO
Reserved
2026-03-31
Assigning CNA
rust
Record state
PUBLISHED
Severity
Low (CVSS 2.3)
CNA CVSS vector
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
Weaknesses
  • CWE-647Use of Non-Canonical URL Paths for Authorization DecisionsVariant
Data version
5.2
Document digest
4d3e779d6078a334bf0d120b8eb47e47c0750baf5532a8e79f2975a56812d938

05 Affected products

VendorProductVersionsPlatforms
RustCargo1.68.0 to < 1.96.0—

06 References

07 Remediation

Rust 1.96, to be released on May 28th, 2026, will update Cargo to only strip the `.git` suffix from registry URLs using the git protocol. No mitigations are available for users of older versions of Cargo.

08 Fixed in

Debian 12

  • cargo
    No fix yet
  • rust-cargo
    No fix yet
  • rustc
    No fix yet

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • rust-cargo
    No fix yet
  • rustc
    Fixed in 1.85.1+dfsg1-1+deb13u1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • rust-cargo
    Fixed in 0.91.0-3
  • rustc
    Fixed in 1.95.0+dfsg1-2

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • rustc
    No fix yet
  • rustc-1.62
    No fix yet
  • rustc-1.76
    No fix yet
  • rustc-1.77
    No fix yet
  • rustc-1.78
    No fix yet
  • rustc-1.79
    No fix yet
  • rustc-1.80
    No fix yet
  • rustc-1.81
    No fix yet
  • rustc-1.82
    No fix yet
  • rustc-1.83
    No fix yet
  • rustc-1.84
    No fix yet
  • rustc-1.85
    No fix yet
  • rustc-1.89
    No fix yet
  • rustc-1.91
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 24.04 LTS

  • rustc
    No fix yet
  • rustc-1.74
    No fix yet
  • rustc-1.76
    No fix yet
  • rustc-1.77
    No fix yet
  • rustc-1.78
    No fix yet
  • rustc-1.79
    No fix yet
  • rustc-1.80
    No fix yet
  • rustc-1.81
    No fix yet
  • rustc-1.82
    No fix yet
  • rustc-1.83
    No fix yet
  • rustc-1.84
    No fix yet
  • rustc-1.85
    No fix yet
  • rustc-1.89
    No fix yet
  • rustc-1.91
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 25.10

  • rustc-1.85
    No fix yet
  • rustc-1.88
    No fix yet
  • rustc-1.91
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 26.04 LTS

  • rustc-1.91
    No fix yet
  • rustc-1.92
    No fix yet
  • rustc-1.93
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 14.04 LTS

  • rustc
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • cargo
    No fix yet
  • rustc
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 18.04 LTS

  • cargo
    No fix yet
  • rustc
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 20.04 LTS

  • cargo
    No fix yet
  • rustc
    No fix yet
  • rustc-1.76
    No fix yet
  • rustc-1.77
    No fix yet
  • rustc-1.78
    No fix yet
  • rustc-1.79
    No fix yet
  • rustc-1.80
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 22.04 LTS

  • cargo
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.