Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-5222

published low CVSS 4.0 · 2.3

Cargo can be coerced to share credentials between registries

Published
25 May 2026, 08:54:56 UTC
Updated
26 May 2026, 14:43:10 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Rust — cargoCargo · 1.68.0 to < 1.96.0 · Other versions: unaffected Affected Not stated rust
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1872 Fixed Not stated Amazon Linux assessment
Alpine Linux edge rust Fixed 1.96.0-r0 Package fix record
Amazon Linux AL2023 rust-cargo-caarch64 Listed in advisory Not stated ALAS2023-2026-1872
Alpine Linux v3.23 rust Fixed 1.91.1-r2 Package fix record
Alpine Linux v3.24 chromium-rust Fixed 1.96.0-r0 Package fix record
Show 3 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.24 rust Fixed 1.96.0-r0 Package fix record
Amazon Linux AL2023 rust-cargo-csrc Listed in advisory Not stated ALAS2023-2026-1872
Amazon Linux AL2023 rust-cargo-cx86_64 Listed in advisory Not stated ALAS2023-2026-1872

Description

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.

en · rust · cna

Vendor advisories explicitly linked to this CVE.

5

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
2.3 / 10
Severity
low
Provider
rust · cna
Vector string
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
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Rust Cargo 1.68.0 to < 1.96.0 (affected · semver)Default: unaffected rust · cna

Weaknesses

1
  • CWE-647 CWE-647 Use of Non-Canonical URL paths for authorization decisions (rust · cna)

References

3

Provider assertions

2

rust · cna

Cargo can be coerced to share credentials between registries

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
5db6c538ada06387e6d402db731c7f2a3ec2617a3c2b86c512f1b8bed134d621
Ingested
23 Sep 2026, 09:23:13 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected