Skip to main content
VulnerabilityPublished Updated

CVE-2026-5222: Rustc · Cargo between 1.68 and 1.96 incorrectly normalized the URLs of third-party registries using the

Affects rustcSource GCVE Database

0
Compare
Authoritative record:CVE-2026-5222· Low 2.3

Not known to be exploited · CVSS 2.3 Low.

Data as of 24 Nov 2026, 20:12 UTC

CVSS 4.0 base score
2.3Low
How severe the flaw is on the 0–10 CVSS scale.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSrustc-1.91pkg:deb/ubuntu/rustc-1.91?arch=source&distro=resoluteOther threatsAffected
  • =1.91.1+dfsg-0ubuntu1
  • =1.91.1+dfsg-0ubuntu2
  • =1.91.1+dfsg-0ubuntu3
Fixed in–
Ubuntu 26.04 LTSrustc-1.92pkg:deb/ubuntu/rustc-1.92?arch=source&distro=resoluteOther threatsAffected
  • =1.92.0+dfsg-0ubuntu1
  • =1.92.0+dfsg-0ubuntu2
Fixed in–
Ubuntu 26.04 LTSrustc-1.93pkg:deb/ubuntu/rustc-1.93?arch=source&distro=resoluteOther threatsAffected
  • =1.93.1+dfsg-0ubuntu4
  • =1.93.1+dfsg-0ubuntu5
  • =1.93.1+dfsg-0ubuntu6
Fixed in–
Ubuntu 25.10rustc-1.85pkg:deb/ubuntu/rustc-1.85?arch=source&distro=questingOther threatsAffected
  • =1.85.1+dfsg0ubuntu1-0ubuntu1
  • =1.85.1+dfsg0ubuntu2-0ubuntu1
  • =1.85.1+dfsg0ubuntu2-0ubuntu1.25.04.1
Fixed in–
Ubuntu 25.10rustc-1.88pkg:deb/ubuntu/rustc-1.88?arch=source&distro=questingOther threatsAffected
  • =1.88.0+dfsg0ubuntu1-0ubuntu1
  • =1.88.0+dfsg0ubuntu1-0ubuntu2
Fixed in–
Ubuntu 25.10rustc-1.91pkg:deb/ubuntu/rustc-1.91?arch=source&distro=questingOther threatsAffected
  • =1.91.1+dfsg-0ubuntu3~25.10.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…