Skip to main content
← All vulnerabilities
CVE-2026-5223GHSA-JQ42-7MFV-HM57

Crates in third party registries can override the cached source of other crates

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.96.0, 0.97.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Cargo incorrectly handled symlinks inside of crate tarballs downloaded from third-party registries, allowing a malicious crate to override the source code of another crate from the same registry. The severity of the vulnerability is medium for users of third-party registries. Users of crates.io are not affected, as crates.io forbids uploading crates containing any symlink.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • cargo

    From 1.0.0 · fixed in 1.96.0

  • cargocrates.io

    fixed in 0.97.0

References 3

groups.google.com

blog.rust-lang.org

GitHub · rust-lang/cargo