ALPINE-CVE-2026-5222
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.
ALPINE-CVE-2026-5222
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:ALPINE-CVE-2026-5222
rust
Source reference: /affected/0/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 1.91.1-r2
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
rust
Source reference: /affected/1/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 1.96.0-r0
Source reference:
/affected/1/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.91.1-r2"
}
]
}
],
"package": {
"name": "rust",
"purl": "pkg:apk/alpine/rust?arch=source",
"ecosystem": "Alpine:v3.23"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-5222.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.96.0-r0"
}
]
}
],
"package": {
"name": "rust",
"purl": "pkg:apk/alpine/rust?arch=source",
"ecosystem": "Alpine:v3.24"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-5222.json"
},
"ecosystem_specific": {}
}
]Publisher severity
No explicit severity was provided.
- Event
- #54498 · Revision 1
- Added to Heist Feed
- Publisher date