6.5
MEDIUM CVSS 4.0
CVE-2026-5223
Crates in third party registries can override the cached source of other crates
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.

INFO

Published Date :

May 25, 2026, 8:57 a.m.

Last Modified :

May 25, 2026, 8:57 a.m.

Remotely Exploit :

Yes !

Source :

rust
Affected Products

The following products are affected by CVE-2026-5223 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 4.0 MEDIUM 986d4109-89ea-491f-99fd-a8e4803919bd
Solution
Update Cargo to a version that addresses symlink handling in crate tarballs.
  • Update Cargo to the latest secure version.
  • Avoid using third-party registries that allow symlinks.
  • Verify crate integrity before use.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-5223 vulnerability anywhere in the article.

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.