CVE Catalog

CVE-2026-5223

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.29%

22th percentile - higher than 22% of all known CVEs

Summary

Cargo incorrectly handles symbolic links inside crate tarballs downloaded from third-party registries, allowing a malicious crate to overwrite the source code of another crate from the same registry. The vulnerability is medium severity for users of third-party registries; crates.io users are not affected because crates.io forbids uploading crates containing symlinks.

Risk Assessment

Organizations using third-party registries may suffer from malicious code injection into dependencies, potentially leading to application compromise.

Recommendation

Avoid using third-party registries that do not forbid symbolic links, or implement additional integrity verification mechanisms for crates.

Other vulnerabilities in Cargo

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS