---
cve: "CVE-2026-5222"
severity: "LOW"
cvss: 2.3
epss: "0.5%"
vendor: "rust"
kev: false
exploited: false
published: "2026-05-25 08:54:56"
tags: [cve, security, low]
source: tsecurity.de CVE-Dossier
exported: "2026-09-20T21:44:14+02:00"
---

# CVE-2026-5222

> 2.3 LOW · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
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
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |

## Referenzen

- <https://groups.google.com/g/rustlang-security-announcements/c/SfUxOiIdY5s>
- <https://blog.rust-lang.org/2026/05/25/cve-2026-5222/>
- <https://github.com/rust-lang/cargo/pull/17031>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-5222) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
