CVE 6.5 MEDIUM

Crates in third party registries can override the cached source of other crates_CVE-2026-5223

6.5 / 10
MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:H/SI:H/SA:H

Description

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.

Basic Information

ID CVE-2026-5223
Source rust
Published May 25, 2026 at 08:57

Affected Product

Vendor Rust Project
Product Cargo
Version 1.0.0
Affected Versions Rust Project Cargo 1.0.0

CWE Classification

References

πŸ’­ Join the Security Discussion

πŸ”’ Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.